iOSarchive之后准备export成ipa的包,结果在export的过程中出现了
Info.plist of “##.app/Frameworks/HyphenateLite.framework” specifies a simulator platform for the CFBundleSupportedPlatforms key
然后就只能退出,刚开始我HyphenateLite.framework在里面没发现有info.plist,更别说CFBundleSupportedPlatforms这个key了,后来我是用终端利用命令来寻找的:
grep -r "要查找的内容" 项目根目录
搜索到以下结果
D9D808F1-ECEF-460F-B056-F06A59894B1D.png
然后把路径复制到finder的,前往文件夹里面,就可以找到这个info.plist,然后打开就会看到
CFBundleSupportedPlatforms;当然也可以使用终端的命令open来打开,在CFBundleSupportedPlatforms下有一个item0对应的值是iPhoneSimulator,删除这个key就OK了











网友评论