React-native-fcm: Xcode Archiving/Build Failing,Error Message ' Library not found for -lFirebaseCore'

Created on 18 May 2018  路  4Comments  路  Source: evollu/react-native-fcm

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

Most helpful comment

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

All 4 comments

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

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

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...

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

Thank you!

Was this page helpful?
0 / 5 - 0 ratings