Skip to content
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

Fail to build on iOS with new react-native 0.76.1 (new architecture) #415

Closed
gigilibala opened this issue Nov 8, 2024 · 3 comments
Closed

Comments

@gigilibala
Copy link

Describe the bug

Fails to build on iOS with new react-native 0.76.1 which has the fabric and turbo (new architecture) with the following error:

** BUILD FAILED **


The following build commands failed:
        CompileC /Users/amin/Library/Developer/Xcode/DerivedData/myapp-ayngvqncgkobtibvyulqfcmnhvgm/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/react-native-image-resizer.build/Objects-normal/arm64/ImageResizer.o /Users/amin/Projects/test/new-proj/myapp/node_modules/@bam.tech/react-native-image-resizer/ios/ImageResizer.mm normal arm64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'react-native-image-resizer' from project 'Pods')
        Building workspace myapp with scheme myapp and configuration Debug
(2 failures)

To Reproduce
Steps to reproduce the behavior:

npx react-native@latest init myapp
npm add bamlab/react-native-image-resizer

cd myapp/ios
pod install
cd ..

npx react-native run-ios

# then press i

run the given xcodebuild command which failed in previous step. It will reproduce the error above.

Observed behavior
See logs above.

Expected behavior
It needs to build iOS successfully.

Screenshots
See logs above.

Platform concerned:

  • OS: iOS 18.1

Additional context
N/A

Link to reproducible example
N/A

@atulbhuriya
Copy link

same issue

@macksal
Copy link

macksal commented Nov 11, 2024

I think this is a duplicate of #410 which has more details of the specific problem

@gigilibala
Copy link
Author

Merging to #410

@gigilibala gigilibala closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2024
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

3 participants