第一个错误 (环信问题)

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

 

第二个错误

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.”

 

 

9A04A366-7441-404D-A6FE-5DC4F10157FB.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

 

版权声明:本文为cnxBK原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://www.cnblogs.com/cnxBK/p/9316300.html