Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for
来源:互联网 发布:js 函数使用new的区别 编辑:程序博客网 时间:2024/05/16 18:41
Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for phantomjs
I am building a hybrid app using ionic and when I try to upload it to the app store, it gives me this error
Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for phantomjs
Has anyone encountered the same issue and found out how to fix it?
I suspect it comes from one the plugins or the node_modules that I use in my project that are causing the error..
3 Answers
Had the same error, in my case the problem was that I had some DSYM files among my bundle resources.
Fixed it by removing all .DSYM files form Copy Bundle Resources build phase.
More info on this thread: https://github.com/Alamofire/Alamofire/issues/823
I have had the same issue with my native application.
I am using Carthage (https://github.com/Carthage/Carthage v.0.15.2) where I have a dependency D1 which have a nested dependency D2.
I'm not exactly sure what went wrong, but when archiving these dependencies it happened that a dSYM file from D2 sneaked into the archive in the framework folder of D1. I deleted the dSYM file from the archive, and I was able to submit.
So please take a look at your archive and see if there are any .bundle, .dSYM or the like, a place where it shouldn't be.
This is where I found the source of my troubles:
~/Library/Developer/Xcode/Archives/2016-04-14/ARCHIVENAME.xcarchive/Products/Applications/APPNAME.app/Frameworks/D1.framework
This issue might be caused by either Carthage or the frameworks, or something completely different, so the above mentioned "solution" is a workaround for now.
I had this issue in an ionic app when one of the plugins was added to the bower.json as a dependency instead of as a plugin. A copy of it ended up in the www/lib folder and once it was removed I stopped getting that error.
- Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for
- Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN
- 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...
- AIDL couldn't find import for class
- 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
- 微信公众号申请需要哪些材料
- ZTE中兴
- Linux基础
- (一)SSO之CAS框架通俗原理
- 什么是EPEL 及 Centos上安装EPEL
- Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for
- 38. DOM 操作
- 智能指针的理解 和 简单实现
- oracle解决客户端插入数据中文乱码
- iOS中使用UIWebView无法加载URL的问题解决
- JS中短路运算符&&和||
- NOJ 1166 数字实力 筛素数+因子个数求和
- RxJava的变换操作
- 《C++编程规范——101条规则、准则与最佳实践》笔记003