在 Info.plist CFBundleSupportedPlatforms 或 Mach-O LC_VERSION_MIN 中找不到平台系列,用于 phantomjs [英] Couldn't find platform family in Info.plist CFBundleSupportedPlatforms or Mach-O LC_VERSION_MIN for phantomjs
问题描述
我正在使用 ionic 构建一个混合应用程序,当我尝试将它上传到应用程序商店时,它给了我这个错误
I am building a hybrid app using ionic and when I try to upload it to the app store, it gives me this error
在 Info.plist CFBundleSupportedPlatforms 中找不到平台系列或 Mach-O LC_VERSION_MIN for phantomjs
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?
我怀疑它来自我在项目中使用的导致错误的插件或 node_modules..
I suspect it comes from one the plugins or the node_modules that I use in my project that are causing the error..
推荐答案
有同样的错误,就我而言,问题是我的捆绑资源中有一些 DSYM 文件.
Had the same error, in my case the problem was that I had some DSYM files among my bundle resources.
通过从复制捆绑资源构建阶段删除所有 .DSYM 文件来修复它.
Fixed it by removing all .DSYM files form Copy Bundle Resources build phase.
有关此线程的更多信息:https://github.com/Alamofire/Alamofire/issues/823
More info on this thread: https://github.com/Alamofire/Alamofire/issues/823
这篇关于在 Info.plist CFBundleSupportedPlatforms 或 Mach-O LC_VERSION_MIN 中找不到平台系列,用于 phantomjs的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!