CFBundleExecutable 不支持上传2023-06-

2023-06-13  本文已影响0人  iOS打怪升级

上传ipa 的时候会遇到:

Unexpected CFBundleExecutable Key. The bundle at 'Payload/ZKYA-iOS.app/TMicro.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. (ID: 881dc4e1-fad4-4f15-a159-85e60e4f7dd7)

解决办法:

if [ -f "$plist" ]; then
    /usr/libexec/PlistBuddy -c "Delete :CFBundleExecutable" "$plist" || true
fi
image.png
上一篇下一篇

猜你喜欢

热点阅读