問題:Unexpected CFBundleExecutable Key
The bundle at 'Payload/Live.app/AliyunLanguageSource.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.
解決方法:
刪除AliyunLanguageSource.bundle下的Info.plist文件中的CFBundleExecutable鍵值對。
問題:Non-PIE Binary
The executable 'Payload/Live.app/Frameworks/AliyunVideoSDKPro.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
解決方法:
替換AliyunVideoSDKPro.framework為release版本。
問題:Missing Info.plist key
This app attempts to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSAppleMusicUsageDescription key with a string value explaining to the user how the app uses this data.
解決方法:
iOS10之后蘋果對app使用用戶權限更加嚴格,Info.plist文件中必須包含app用到的用戶權限鍵值對,并且必須添加解釋應用程序如何使用這些數據的描述。
問題:Invalid Bundle
A nested bundle contains simulator platform listed in CFBundleSupportedPlatforms Info.plist key. Once these issues have been corrected, you can then redeliver the corrected binary.
原因:
這是因為我們使用的第三方庫AliyunPlayerSDK.framework在打包的時候用的是模擬器,AliyunPlayerSDK.framework下的Info.plist文件中CFBundleSupportedPlatforms是iPhoneSimulator。
解決方法:
更換AliyunPlayerSDK.framework為release版本,AliyunPlayerSDK.framework下的Info.plist文件中CFBundleSupportedPlatforms是iphoneos。