clang: error: no such file or directory: libRNDeviceInfo.a
See original GitHub issueVersion | v0.21.1 |
Affected OS | iOS |
OS Version | RN 0.55 |
Current behavior
When i try to build or archive my project in xCode, i get the following:
clang: error: no such file or directory: '/Users/creative/Library/Developer/Xcode/DerivedData/PROJECT_NAME-bafoidfjyrtxuchdgsrpxhifyibq/Build/Intermediates.noindex/ArchiveIntermediates/PROJECT_NAME/BuildProductsPath/Release-iphoneos/libRNDeviceInfo.a'
However, the project is compiling successfully using react-native run-ios
Expected behavior
SHOULD BUILD SUCCESSFULLY
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:22
Top Results From Across the Web
iOS new Extension: clang: error: no such file or directory
Any idea what is happening? clang: error: no such file or directory: '_NSExtensionMain' Command Ld failed with a nonzero exit code.
Read more >Ios Clang Error No File Or Directory - ADocLib
Clang: error: no such file or directory: libRNDeviceInfo.a Issue #446 Xcode 6 linker error Undefined symbols for architecture armv7. I get the following...
Read more >Clang: error: no such file or directory: 'MobileRTC' - iOS
Getting below error while Running Zoom SDK [Swift Demo]. clang: error: no such file or directory: 'MobileRTC' Command Ld failed with a nonzero ......
Read more >Missing files.... Apparently. | Apple Developer Forums
clang : error: no such file or directory: '__entitlements'. I've searched through my project and cannot find any mention of CoreTelephony or __entitlements....
Read more >clang: error: no such file or directory: '_REENTRANT'
The problem was solved by implementing the code: brew install -s ncview. Using homebrew , that installed the whole ncview package ...
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 FreeTop 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
Top GitHub Comments
Removing the reference to
RNDeviceInfo.xcodeproj
and re-adding it in Xcode helped me.maybe
on ios. cf, https://github.com/rebeccahughes/react-native-device-info#linking