-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
IOS library not found for -lDoubleConversion #25804
Comments
Thanks for submitting your issue. Can you take another look at your description and make sure the issue template has been filled in its entirety? 👉 Click here if you want to take another look at the Bug Report issue template. |
Yes. I mentioned what I got just error with IOS but Android is working fine. Why I don't know. |
So i was having this issue too. If you are updating from 0.59 to 0.60, ensure that you have deleted your Pods and reinstalled. cd ios |
I had tried literally everything suggested by the awesome community. The solution for me was to create an empty Swift file through Xcode and let Xcode create a Bridging-header.h file. The key was to not delete the Swift file after Xcode creating the bridging header file. |
Same issue here, react-native run-ios works fine, when I try on simulator or device => |
the problem was open and build project in wrong place...
|
I did the same thing but still, I am getting the same error. I have tried with 0.59 again then it was working fine. |
Can you try this please? #25820 (comment) |
Have the same problem, tried #25820 (comment) but still nothing. Also working fine with 0.59. |
I also encountered this problem. |
This is a problem that I have been trying to work out all day too. |
I had this problem and manage to solve it somehow, but ran into a different problem right after and forgot how I solve this one in the first place. So please apologize if this doesn't work for you. To give a bit of context, I was coming from version 0.59 and was trying to upgrade to 0.60.4 I'll leave first what I think it's the main cause of the problem followed by other steps that hopefully will help you. What I think the problem is Steps I took to overcome this problem
Hope it helps. |
So when archiving, the error is due to not finding the folders (which appear to be the target support folders) e.g.
And when I go to look in the
-- Update - the fastest fix? to simply rebuild from scratch. Worked first time. |
use this command to open the workspace |
Just to point out that my issue was not related to forgetting to open the workspace. Before upgrading I was already using cocoapods. I now have a fully working version so will diff the configs to see what I can uncover. |
still not found when pod install |
I got the same issue.
Any solution here? |
It works. Step 1: quit Xcode completely Cheers! |
Can you do a release build? Mine fails as soon as I use a release scheme. 😞 Debug works fine for me too... |
Yes, it works for me at debug/release/archive mode. |
@paruckerr , that worked for me, but then I ran Archive and that succeeded, but no Organizer opened for me to export to generate I was able to locate the directory it got stored in here:
|
I do get this bug of -lDoubleConversion library not found. react-native-cli: 2.0.1 When I do a clean react-native init, then try to build it I do get this error. |
@Ebeldev Make sure the project file you open is xxx. xcworkspace (not xxx. xcodeproj) |
@diamont1001 If I build it with xcworkspace: I get this error : error: Build input file cannot be found: '/Users/etiennebelanger/Documents/apps/react-native-apps/InfosLaurentides/node_modules/react-native/ReactCommon/yoga/yoga/YGMarker.cpp' |
Experiencing this issue too when initialising adding Cocoapods to an old React Native project, 0.59.10. |
@jimhill sounds like you had a good experience migrating everything. |
Hi All, I'm also facing the same issue. Even if I create a new RN project from scratch, it cannot be archived. Development build works fine. Any proper solution ? |
This worked for me cd ios
pod deintegrate
pod install
pod update
cd ..
rm -rf node_modules
npm install
|
You might be on to something here, but I wonder how to add React as a dependency since the .xworkspace file is removed since react-native 0.60? |
For everyone the solution is different. For me, none of all worked. Because of React 0.60, React shouldn't be a Target dependency. The only thing I had to do was opening the xcodeworkspace and setting the recommended settings to my pods. Now I can archive apps like I always could. Edit: 3 days later and I'm unable to reproduce this as a solution, after a fresh pod install and allowing the recommended settings I'm unable to archive the build. |
Had this exact error when archiving. Degrading the ios target platform in the Podfile from 11.0 to 9.0 solved it for us. Had raised this previous when including a third-party library which did not support version 9.0. Remember to run 'pod deintegrate' and remove Podfile.lock before 'pod install' after changing this parameter. Took a long time to figure this out. |
I also have this issue with react native 0.61, but only when building from command line.. |
I'm getting the same as @emmanuele-villa. I get an error |
I'm getting this: ld: warning: directory not found for option '-L/Users/tapani/DerivedData/xx-hgcsjkjqxpxmxzhfzfhrxyutqfml/Build/Products/Debug-iphoneos/Folly' |
The problem is that some of the pods are not built and have no files in DerivedData. What is different in these pods compared to the others? I created a new RN app and it does not have this build error. |
The newly created RN project includes the libraries/frameworks differently. For example the JavaScriptCore framework. It only has it under the Frameworks folder not in Link Binary With Libraries. This is really confusing, as I have used to adding libraries to the Build phases and they are automatically added to the frameworks. How does RN create the initial project to end up to this kind of project structure and how is it possible that this even works when the JavaScriptCore is not in the linked libraries? |
Fixed the issue by commenting out I also removed |
I spent the last five days stuck on this, trying out everything suggested on the internet. This is what finally worked for me. (Before proceeding, make sure
Run react-native-run-ios or Build with Xcode by opening the xcworkspace file in your ios directory. Hope this helps someone! |
same, none of solutions worked for me |
I had the same problem. When I used the After I corrected the version mismatch everything work fine. |
My solution was also sync target ios version in Podfile |
I get this bug of -lDoubleConversion library not found. I had tried literally everything suggested by the awesome community. react-native :- 0.62.2 |
By changing platform :ios, '11.0' to '10.0' is worked for me |
I was facing the same issue while running the project. |
1 similar comment
I was facing the same issue while running the project. |
Saved a lot of time for me. Thank you 👍 |
Have got the solution? |
"react": "16.8.6",
react-native: 0.60.4,
"react-native-webview": "^5.12.1"
Steps To Reproduce
The text was updated successfully, but these errors were encountered: