为什么Firebase 4.6.0(ios)为我提供了“体系结构armv7的未定义符号"? [英] Why Firebase 4.6.0 (ios) gave me "Undefined symbols for architecture armv7"

查看:97
本文介绍了为什么Firebase 4.6.0(ios)为我提供了“体系结构armv7的未定义符号"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我今天将Firebase(ios)从 4.5.0 更新到了 4.6.0 .使用4.5.0时,它在4.6.0(到最后的4.11.0)中运行良好,但是现在出现此错误:

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错误] E2597体系结构armv7的未定义符号: 错误:"_ OBJC_CLASS _ $ _ SKPaymentQueue",引用自:objc-class-ref in C:\ Dev \ Alcinoe \ lib \ ios \ firebase \ FirebaseAnalytics.framework \ FirebaseAnalytics(FIRAInAppPurchaseTransactionReporter_780d0e22c66d661ab61b3e74b77b38bd.o);

[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);

错误:"_ OBJC_CLASS _ $ _ SKProductsRequest",引用自:objc-class-ref in C:\ Dev \ Alcinoe \ lib \ ios \ firebase \ FirebaseAnalytics.framework \ FirebaseAnalytics(FIRAProductsRequest_9354511b6e4f24cc2d512538458edb37.o); ld:找不到架构armv7的符号

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

我使用的是带有iOS 10.3 SDK的Delphi编译器(东京发行版2).

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

此错误仅在FirebaseAnalytics.framework时发生(所有其他4.6.0至4.11.0框架都可以正常编译,只有FirebaseAnalytics.framework会出现问题)

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)

有什么想法在4.5.0到4.6.0之间进行了哪些更改以及我可以做什么来解决我的问题?

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

推荐答案

似乎您没有链接 StoreKit 框架.将 StoreKit.framework 添加到Delphi中与Xcode的Build Phases-> Link Binary With Libraries相对应的配置中.

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一直是 FirebaseAnalytics依赖项已经很长时间了,所以我不确定为什么现在会出现这种情况.我也不确定为什么要更新到Firebase 4.6.0,而不是最新的4.11.0.

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.

这篇关于为什么Firebase 4.6.0(ios)为我提供了“体系结构armv7的未定义符号"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆