iOS应用程序扩展应用程序商店配置: Getting error: The executable was signed with invalid entitlements

标签 ios code-signing ios-app-extension

我正在 Adob​​e AIR for iOS 中开发一个应用程序,它有应用程序扩展。

当我使用 Adhoc 配置文件对应用程序扩展进行代码签名时,它工作正常。

但是当我使用 App store 对应用程序扩展进行代码签名并创建 ipa 文件时,在设备上安装时出现以下错误:

The entitlements specified in your application’s Code Signing Entitlements file are invalid, not permitted, or do not match those specified in your provisioning profile. (0xE8008016).

最佳答案

尽管我没有找到这个问题的解决方案,但我想回答我的发现。

要在测试设备上安装应用,您的应用需要使用临时配置文件进行签名。

"App Store provisioning profiles do not allow for a distribution built application to be installed on an Apple device. To install your distribution ready application on a device, you must create an Ad Hoc provisioning profile."

但是这里有一个问题。如果测试设备上已存在 Ad-hoc 配置文件,您可以安装使用 App Store 配置文件签名的应用程序。

iOS 应用程序扩展有自己的配置文件。即使设备上安装了应用扩展的临时配置文件,您也无法在测试设备上安装使用 App Store 配置文件签名的应用扩展的应用。

解决方案:使用 TestFlight 在测试设备上测试 App Store 构建。

关于iOS应用程序扩展应用程序商店配置: Getting error: The executable was signed with invalid entitlements,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48518994/

相关文章:

html - 如何解决 ios 中的范围 slider 缩放

ios - iOS 9 上的核心数据并发

ios - 关于苹果证书和分发

ios - 显示今天 View 小部件内容的正确方法

ios - 在 iOS 8 中的扩展中进行 inapp 购买

iphone - 单触 : Can I use a UILabel to show a phone number?

ios - Cocoapod 安装后找不到代码签名

Xcode 9 发行版构建失败,因为新版本中 exportOptions.plist 的格式已更改

ios - 具有嵌入式 ScrollView (UITableView、UICollectionView)的 UIView 与 Xcode 6 b2 中的自动布局不明确。错误还是原因?