evollu / react-native-fcm

react native module for firebase cloud messaging and local notification
MIT License
1.73k stars 682 forks source link

Xcode Archiving/Build Failing,Error Message ' Library not found for -lFirebaseCore' #942

Closed Udbhav12 closed 6 years ago

Udbhav12 commented 6 years ago

react-native version : 0.53.3 react-native-fcm version : 15.0.0

When I run react-native-run-ios command, my app builds successfully and is working fine

I use Microsoft's AppCenter for testing apps on iPhones,even there app is building successfully

I need to deploy my app on App Store now, But when I build/Archive using Xcode,it fails and I get the error message '' Library not found for -lFirebaseCore'

I installed react-native-fcm using CocoaPods approach

Please find some screenshots which might be useful screen shot 2018-05-18 at 6 27 40 pm screen shot 2018-05-18 at 6 27 01 pm

SparkleFaerieCoder commented 6 years ago

Could you say how you resolved this? I'm running into this issue as well

Udbhav12 commented 6 years ago

@SparkleFaerieCoder I was using the .xcodeproj file instead of the .xcworkspace file. You just need to open the .xcworkspace file in Xcode

ggendre commented 5 years ago

On my side I was trying to build the project on an old device with ios9 but my deployment target was ios11. I needed to run on an exmulator for xcode to tell me to lower my deployment target...

kostyaVyrodov commented 5 years ago

@SparkleFaerieCoder I was using the .xcodeproj file instead of the .xcworkspace file. You just need to open the .xcworkspace file in Xcode

Thank you!