【发布时间】:2016-02-09 06:04:41
【问题描述】:
【问题讨论】:
标签: xamarin xamarin.ios
【问题讨论】:
标签: xamarin xamarin.ios
可以通过将此添加到绑定项目中静态库的 LinkWith 属性来解决 EA* 错误:
[assembly: LinkWith (..., Frameworks = "ExternalAccessory")]
可以通过将SystemConfiguration 添加到 LinkWith 属性中的框架列表来解决 SCNetworkReachabilityCreateWithAddress 错误(如上)。
BZ2_bzBuffToBuffCompress 错误可能是您的静态库引用但不包含的函数。您可能可以通过将 -dead_strip 添加到链接器标志来解决它:
[assembly: LinkWith (..., LinkerFlags = "-dead_strip")]
这将告诉本机链接器删除未使用的代码,这可能会删除调用 BZ2_bzBuffToBuffCompress 的代码,从而解决它。它也可能会删除太多代码,因此您必须尝试看看会发生什么。
【讨论】:
IsCxx = true。
SystemConfiguration 添加到框架列表中?这就是这些函数所在的位置:developer.apple.com/library/ios/documentation/…