ios – Xcode 7 Dropbox Core API:只需禁用Bitcode?

ios – Xcode 7 Dropbox Core API:只需禁用Bitcode?,第1张

概述我现在在iOS应用程序中使用Dropbox Core API已经有一段时间了.更新到 Xcode 7后,当我尝试编译我的项目时,我收到以下错误: ld: '.../Frameworks/Dropbox/iOS/DropboxSDK.framework/DropboxSDK' does not contain bitcode. You must rebuild it with bitcode en 我现在在iOS应用程序中使用DropBox Core API已经有一段时间了.更新到 Xcode 7后,当我尝试编译我的项目时,我收到以下错误:
ld: '.../Frameworks/DropBox/iOS/Dropboxsdk.framework/Dropboxsdk' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE),obtain an updated library from the vendor,or disable bitcode for this target.

我知道Bitcode是什么,它是什么好的.可以通过在目标构建设置中简单地将启用位代码选项设置为“否”来解决错误.之后,所有的编译没有任何错误,应用程序运行没有任何问题.

到目前为止这么好,但这是“正确”的解决方案吗?我检查了DropBox页面以获取更新的SDK版本,但是我已经使用了最新版本.

该项目包含一些不使用DropBox SDK的App Widget,Watch Extension等的其他目标.这里应该使用什么启用Bitcode的选项?是(由于某种原因)更好地使用相同的值(Noin我的情况)为所有目标?如果主应用程序目标不使用Bitcode,那么启用Bitcode for Watch和Widget目标是否有意义?

这里最好的做法是什么?

解决方法 似乎他们还没有发布支持位代码的API. Here is the link to the thread在官方DropBox论坛上,其中包括DropBox的支持人员回复其他开发人员在这方面的问题.

这是DropBox支持人员的相关回复:

Oh,great! We haven’t released an update to the iOS Core SDK with bitcode,but if you need bitcode support for the Core SDK,you can add the source directly,since it’s open source. There’s a thread about this for the Core SDK here: 07001

总结

以上是内存溢出为你收集整理的ios – Xcode 7 Dropbox Core API:只需禁用Bitcode?全部内容,希望文章能够帮你解决ios – Xcode 7 Dropbox Core API:只需禁用Bitcode?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/web/1110495.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-29
下一篇2022-05-29

发表评论

登录后才能评论

评论列表(0条)

    保存