Skip to content

Scheme error build #346

Open
Open
@jpaulo789b

Description

@jpaulo789b

The problem occurs when building the iOS app using a new or custom scheme, resulting in the following error:

Copy
Failed to build iOS app
Error (Xcode): Build input files cannot be found:
'/Users/admin/Documents/projetos/peinox/build/ios/newflavor-debug-iphonesimulator/librlottie.o',
'/Users/admin/Documents/projetos/peinox/build/ios/newflavor-debug-iphonesimulator/SDWebImageLottieCoder.o',
'/Users/admin/Documents/projetos/peinox/build/ios/newflavor-debug-iphonesimulator/SDWebImageSwiftUI.o',
'/Users/admin/Documents/projetos/peinox/build/ios/newflavor-debug-iphonesimulator/SDWebImage.o'.

The error indicates that the build system cannot find certain object files (.o) required for linking. These files are likely related to the SDWebImage and lottie libraries.

Key Observations:
Works with the Main Scheme: The app builds successfully when using the main/default scheme.

Fails with a New/Custom Scheme: The error occurs when using a new or custom scheme (e.g., newflavor).

Missing Object Files: The build system cannot locate the .o files, suggesting a misconfiguration in the new scheme or flavor.

Likely Causes
Scheme Configuration: The new scheme may not be properly configured in Xcode, missing key build settings or paths.

Flavor-Specific Issues: If using flavors, the Podfile or build settings may not be correctly set up for the new flavor.

Build Phases: Custom build phases or scripts in the new scheme may not be generating the required .o files.

Missing Dependencies: The new scheme may not be linking the necessary frameworks or librarie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions