打包上传appsto错误 ERROR ITMS-90087: 和WARNING ITMS-90080: 问题

第一个错误 (Hyphenate.framework可以看粗是环信问题) 

ERROR ITMS-90087: "Unsupported Architectures. The executable for PDoctor.app/Frameworks/Hyphenate.framework contains unsupported architectures '[x86_64, i386]'."

第二个错误 (从问题中可以找到答案 consider removing the CFBundleExecutable key from its Info.plist and)

ERROR ITMS-90535: "Unexpected CFBundleExecutable Key. The bundle at 'Payload/PDoctor.app/EaseUIResource.bundle' does not contain a bundle executable. If this bundle intentionally does not contain an executable, consider removing the CFBundleExecutable key from its Info.plist and using a CFBundlePackageType of BNDL. If this bundle is part of a third-party framework, consider contacting the developer of the framework for an update to address this issue."

警告

WARNING ITMS-90080: "The executable 'Payload/PDoctor.app/Frameworks/Hyphenate.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library."

5EDDF23E-3E2A-4656-95B3-2C181AF91F12.png

 ======================================================

D2404B47-9E39-4984-AE82-2442DA6B925F.png

终端操作,切换到SDK在的文件夹路径

zrq:HyphenateFullSDK apple$ 

zrq:HyphenateFullSDK apple$ mkdir ./bak

zrq:HyphenateFullSDK apple$ 

zrq:HyphenateFullSDK apple$ 

zrq:HyphenateFullSDK apple$ cp -r Hyphenate.framework ./bak

lipo Hyphenate.framework/Hyphenate -thin armv7 -output Hyphenate_armv7

lipo Hyphenate.framework/Hyphenate -thin arm64 -output Hyphenate_arm64

lipo -create Hyphenate_armv7 Hyphenate_arm64 -output Hyphenate

zrq:HyphenateFullSDK apple$ lipo Hyphenate.framework/Hyphenate -thin armv7 -output Hyphenate_armv7

zrq:HyphenateFullSDK apple$ lipo Hyphenate.framework/Hyphenate -thin arm64 -output Hyphenate_arm64

zrq:HyphenateFullSDK apple$ lipo -create Hyphenate_armv7 Hyphenate_arm64 -output Hyphenate

zrq:HyphenateFullSDK apple$ 

zrq:HyphenateFullSDK apple$ 

zrq:HyphenateFullSDK apple$ 

zrq:HyphenateFullSDK apple$ 

zrq:HyphenateFullSDK apple$ 

zrq:HyphenateFullSDK apple$ mv Hyphenate Hyphenate.framework/

zrq:HyphenateFullSDK apple$ 

zrq:HyphenateFullSDK apple$ 

终端操作命令后,这里的文件被创建出来了,该创建的创建,该删的删掉

8D8E81BB-DE87-438F-B661-01729F4C2DA6.png

======================================================

环信里图片惹的祸,也就是很多网上说的,第三方  info.plist文件  打开一看,果然里面暗藏这文件,找到    删除掉Executable file 字段,重新打包,上传应用商店就可以了。

E3FF747C-0D5D-4E1F-A971-C88C226D9EB3.png

38978ADF-BCB4-4EBE-9268-E7C407D75442.png

D5E9A1A7-3B54-4B52-B68E-B2E2A1FDF979.png

猜你喜欢

转载自www.cnblogs.com/cnxBK/p/9316300.html