zeus
zeus

Reputation: 13367

Why Firebase 4.6.0 (ios) gave me "Undefined symbols for architecture armv7"

I update today firebase (ios) from 4.5.0 to 4.6.0. With 4.5.0 it's was working well however with 4.6.0 (to the last 4.11.0) when I compile I have now this error :

[DCC Error] E2597 Undefined symbols for architecture armv7: Error: "_OBJC_CLASS_$_SKPaymentQueue", referenced from: objc-class-ref in C:\Dev\Alcinoe\lib\ios\firebase\FirebaseAnalytics.framework\FirebaseAnalytics(FIRAInAppPurchaseTransactionReporter_780d0e22c66d661ab61b3e74b77b38bd.o);

Error: "_OBJC_CLASS_$_SKProductsRequest", referenced from: objc-class-ref in C:\Dev\Alcinoe\lib\ios\firebase\FirebaseAnalytics.framework\FirebaseAnalytics(FIRAProductsRequest_9354511b6e4f24cc2d512538458edb37.o); ld: symbol(s) not found for architecture armv7

I m using Delphi compiler (tokyo release 2) with ios 10.3 sdk.

this error only happen with the FirebaseAnalytics.framework (all other framework of 4.6.0 to 4.11.0 compile ok, only FirebaseAnalytics.framework make problems)

Any idea what was changed between 4.5.0 to 4.6.0 and what i can do to resolve my problem ?

Upvotes: 0

Views: 1427

Answers (1)

Paul Beusterien
Paul Beusterien

Reputation: 29572

It looks like you're not linking the StoreKit framework. Add StoreKit.framework to the configuration in Delphi that corresponds with Xcode's Build Phases -> Link Binary With Libraries.

StoreKit has been a FirebaseAnalytics dependency for a long time, so I'm not sure why this is showing up now. I'm also not sure why you would update to Firebase 4.6.0 instead of the current latest 4.11.0.

Upvotes: 1

Related Questions