clang: error: no such file or directory: '/Users/user/Library/Developer/Xcode/DerivedData/client-xxx/Build/Products/Debug-iphonesimulator/libRNIap.a' Command Ld failed with a nonzero exit code
See original GitHub issueI haven’t run my project’s code since April (though it’s live on the app store and works) and am trying to get it in a development state again. When building I am running into:
clang: error: no such file or directory: '/Users/user/Library/Developer/Xcode/DerivedData/client-xxx/Build/Products/Debug-iphonesimulator/libRNIap.a' Command Ld failed with a nonzero exit code
"react": "16.8.3",
"react-native": "https://github.com/expo/react-native/archive/sdk-33.0.0.tar.gz",
"react-native-iap": "2.3.26",
Any advice would be appreciated.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
error build: Command Ld failed wit… | Apple Developer Forums
I am in Xcode and building a C++ app. Compilation happens fine, but at link time I get the following message: error build:...
Read more >xcodebuild failure clang:error no such file or directory
To fix this, go to your project settings, go to Targets and select your main project target. Then go to Build phases ....
Read more >Xcode build clang error - LLBuild - Swift Forums
Hi, When I build the swift source code with Xcode 13 Beta, I encounter an error: clang: error: no such file or directory: ......
Read more >lit - LLVM Integrated Tester — LLVM 16.0.0git documentation
Tests can be either individual test files or directories to search for tests ... The lit program will execute with a non-zero exit...
Read more >Firebase Authentication/Cocoapods Problem
... building before throwing this error " clang: error: no such file or directory: 'nanopb'. Command Ld failed with a nonzero exit code"....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@booboothefool This is more like a
react-native
problem itself. Try to removeios/build
and run build again. This also looks like an old problem which happened in previousreact-native
.Maybe this reply from me might help too.
@hyochan I think I was able to get past the error! 👍
Seems like my issues are related to Xcode 11 -> Xcode 12?
I am not why this helped, but I did:
Then I started getting:
So I went to Build Settings > Build Active Architectures Only: Debug: No
After that the file is no longer red:
Got past RNIap error and now just getting Expo/Amplitude and Firebase error. 😅
I should probably just use my holiday vacation to download new React Native + Expo and copy all project files over with updated dependencies before it becomes unfixable, haha. 😂
Thanks!