在我的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 包设置中,根据构建配置为客户权利输入相应的plist文件。
关于xamarin.ios - 在Xamarin中将aps环境从开发自动转换为生产,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45941192/