Xamarin 中 aps 环境从开发到生产的自动转换
Automated conversion of aps-environment from development to production in Xamarin
在我的 Xamarin iOS 项目中,Entitlements.plist 已将 aps-environment
设置为 development
,用于开发测试目的。我正在使用 Visual Studio Team Services Extension for the App Store 自动将构建发布到 TestFlight。但是,当它使用 fastlane pilot 上传应用程序时,出现此错误:
ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'development' for key 'aps-environment' in 'project' is not supported.
当 运行 持续集成构建时,环境似乎应该切换到 production
。我如何自动执行此操作?
删除 Entitlements.plist
,并添加 Entitlements.developer.plist
和 Entitlements.production.plist
。在 iOS Bundle Signing 中,根据构建配置为 Customer Entitlements 输入相应的 plist 文件。
我刚刚从 Entitlements.plist 中删除了 aps-environment 而没有添加新文件,它对我有用
在我的 Xamarin iOS 项目中,Entitlements.plist 已将 aps-environment
设置为 development
,用于开发测试目的。我正在使用 Visual Studio Team Services Extension for the App Store 自动将构建发布到 TestFlight。但是,当它使用 fastlane pilot 上传应用程序时,出现此错误:
ERROR ITMS-90046: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'development' for key 'aps-environment' in 'project' is not supported.
当 运行 持续集成构建时,环境似乎应该切换到 production
。我如何自动执行此操作?
删除 Entitlements.plist
,并添加 Entitlements.developer.plist
和 Entitlements.production.plist
。在 iOS Bundle Signing 中,根据构建配置为 Customer Entitlements 输入相应的 plist 文件。
我刚刚从 Entitlements.plist 中删除了 aps-environment 而没有添加新文件,它对我有用