Skip to content

Scheme error build #346

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
jpaulo789b opened this issue Jan 23, 2025 · 1 comment
Open

Scheme error build #346

jpaulo789b opened this issue Jan 23, 2025 · 1 comment

Comments

@jpaulo789b
Copy link

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

@dreampiggy
Copy link
Collaborator

This repo use standard Package Manager (SPM/CocoaPods/Xcode)

From your description, I think the issue is your project's scheme configuration issue, not something inside SDWebImage/SDWebImageSwiftUI.

You can use your Package Manager (like CocoaPods)'s clean command, or re-create a new scheme or target to investigate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants