react-native-maps: Apple Mach-O Linker Error
Hi I’m newbie to develop a app using xcode.
I tried to launch ios app with google map on simulator and got this error.
no such file or directory: ‘/Users/ruci.k/Library/Developer/Xcode/DerivedData/snappinPhotographer-ciezjvwndpeipgglzatkopsrsmnz/Build/Products/Debug-iphonesimulator/libReact.a’
There was a React dir in Debug-iphonesimulator dir, and libReact.a was in it. ‘libReact.a’ file is seem to generated by some kind of xcode project build setting automatically, But I can’t find which setting decides the path of ‘React’ library file.
Is there any information about it?
I did just follow instruction guide
npm install react-native-maps --save
rnpm link
vim podfile
pod install
pod update
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 17
I ran into a similar problem and clearing my DerivedData and re-building fixed this issue for me.
you can do this by running
Command + option + shift + kin xcode and rebuildingRemove ‘libReact’ from Build settings, and add it again directing it to the pods version
https://github.com/ivpusic/react-native-image-crop-picker/issues/21#issuecomment-239710351
@zyskowsk God bless you!
I deleted a folder of a test project in
Project NavigatorandTargets. It solved my problem.@zyskowsk thank you so much
Thanks for your reply. I tried to link it by hand, and it worked 😄
Did you try linking it by hand instead of Podfiles or rnpm link? I did it by hand myself and it worked for me.
@rajeshkos hi, am facing same issue have you found a way to workout the issue >??
Hi ,
I am facing same issue why archiving the build.
The app is running fine in iphone 7 simulator. But when i am archiving the app i am getting linker error.
Please help me.
This might help: https://github.com/decosoftware/deco-ide/issues/84