Linker fails with ld: library not found for -lRNDeviceInfo
See original GitHub issueSummary
Version | 0.21.4 |
Affected OS | MacOS Sierra |
OS Version | 10.12.6 |
Current behavior
when building the project for release:
xcodebuild "-project" "ios/FleetFox.xcodeproj" "-scheme" "FleetFox" "-configuration" "Release" "archive" "-verbose" | xcpretty
The linker fails with:
ld: library not found for -lRNDeviceInfo
Expected behavior
It should build without errors. Downgrading the package to 0.21.1 fixes the problem.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:20
- Comments:18
Top Results From Across the Web
Linker fails with ld: library not found for -lRNDeviceInfo #378
I got the same problem when I updated to the latest version. You can fix it by opening to project in xcode. And...
Read more >ld: library not found for -lRCTBlob clang: error - Stack Overflow
I have solved the issue by removing all react-native library linking from xCode by following these steps,. Open Project.xcworkspace file in ...
Read more >xcode 9 ld: library not found for … | Apple Developer Forums
When trying to build the project where I added it as a dependency, I receive the following error: ld: library not found for...
Read more >macOS* Big Sur error 'ld: library not found' - Intel
Solution for 'ld: library not found' error on macOS* Big Sur. ... As a result, the linker runs successfully. -L/......./Developers/... and -lpthread -lm ......
Read more >Linker error when upgrading from React Native v0.59 to v0.63
The error came from the iOS build: ld: library not found for -lBVLinearGradient. and a bunch of warnings for all dependencies comming from...
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
just the usual rn fuckery
I got the same problem when I updated to the latest version. You can fix it by opening to project in xcode. And navigate to the library folder in the left panel of your xcode. And then remove the old DeviceInfo.xcodeproj and add it manually from the related node_modules.