Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN
来源:互联网 发布:淘宝商店怎么刷信用? 编辑:程序博客网 时间:2024/06/05 19:35
RT
昨天在导发布包的时候遇到这个问题,通过和渠道sdk的同事不停的调试,终于解决。分享一下,希望同行少走点弯路。
在工程Build Phases->Copy Bundle Resources下面的库(一般是渠道sdk或是别的第三方库)的Info.plist(如果没有就添加一个Info.plist文件)中添加如下内容:
<key>CFBundleSupportedPlatforms</key> <array> <string>iPhoneOS</string> </array>
重新打包就可以解决。
iPhoneOS的地方可以扩展到别的平台,这里是指手机,如果是mac则填写MacOSX。
当然前提是开源的库或者可以联系到库作者的情况下。如果是自己网上找的第三方库,就只能弃用这个库。我怀疑是和开发环境有关系,我用的是最新的xcode7,所以也可以用xcode6尝试一下。
0 0
- Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN
- Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for
- Anaconda 报错: couldn't find or load Qt platform plugin "Windows in
- 解决问题:Anaconda not opening: couldn't find or load Qt platform plugin "Windows in "" #1270
- info.plist utility error:The data couldn’t be read because it isn’t in the correct format
- Info.plist文件报错,The data couldn’t be read because it isn’t in the correct format.
- couldn't parse contents of 'xxx/Info.plist': The data couldn’t be read because it isn’t in the cor
- error: couldn't parse contents of 'Info.plist'
- Info.plist Utility Error: “Info.plist couldn't be opened because there is no such file”
- Info.plist Utility Error: “Info.plist couldn't be opened because there is no such file”
- Info.plist Utility Error: “Info.plist couldn't be opened because there is no such file”
- Info.plist Utility Error: “Info.plist couldn't be opened because there is no such file”
- Info.plist Utility Error: “Info.plist couldn't be opened because there is no such file”
- error: couldn't parse contents of '/Users/.../Info.plist': The data couldn’t be read because...
- error: couldn't parse contents of '/Users/.../Info.plist': The data couldn’t be read because...
- could not read data from '/Users/xxxx/xxxx/Info.plist': The file “Info.plist” couldn’t be opened
- could not read data from '/Users/xxxx/xxxx/Info.plist': The file “Info.plist” couldn’t be opened
- could not read data from '/Users/xxxx/xxxx/Info.plist': The file “Info.plist” couldn’t be opened
- C++中的构造函数,拷贝构造函数和赋值运算(很牛逼的解释)
- 一篇很全面的freemarker教程
- bat脚本调用python
- MaterialDesign之NavigationView和DrawerLayout实现侧滑菜单栏(抽屉)
- HTTPS服务器配置——微信提供
- Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN
- application/x-www-form-urlencoded、multipart/form-data、text/plain
- vi 命令
- 支持不同的屏幕
- 树莓派2中webiopi项目的适配
- 网络编程--UDP相关
- 面试算法——2.双栈实现队列
- 监听器
- 第六周实践项目4—数制转换