Xcode 8 can't compile using different app group IDs for different configurations

Xcode8在使用不同app组ID进行编译时出现问题。若各配置使用不同的权限文件及app组ID,则至少有一个配置会因app组ID不匹配而报错。尝试了多种解决方法,但仍未解决此UI相关问题。

【https://openradar.appspot.com/28204125】


Xcode 8 can't compile using different app group IDs for different configurations

Originator: cargath  
Number: rdar://28204125 Date Originated: 08-Sep-2016 11:48 AM
Status: Open Resolved:  
Product: Xcode 8 Product Version: 8.0 (8A218a)
Classification: Serious Bug Reproducible: Always
 
Summary:
Xcode 8 doesn't compile all configurations, if those configurations use different entitlements with different app group IDs. There's always at least one app group ID from one of the entitlements files selected in the capabilities tab, and the provisioning section in the general tab is always looking for that app group ID in the selected provisioning profile, so it shows an error for the configurations that use entitlements with a different app group ID.

I tried deselecting the app group ID in the capabilities tab but that a) removes it from the entitlements file of the currently selected build configuration (so i had to add a dummy configuration with which to deselect the ID in the capabilities tab) and b) the ID specified in the currently selected build configuration is automatically selected in the capabilities tab again when restarting Xcode.

I tried using an environment variable as an app group ID, which worked in Xcode 7, but didn't help with the new provisioning system.

I would even be happy with using one app group ID for all configurations, but we have different bundle IDs for all configurations, and if i use the same app group ID for multiple bundle IDs, Xcode doesn't acknowledge the entitlements at all.

This seems to be an entirely UI related problem: When i select a provisioning profile that Xcode thinks doesn't include the correct app group ID, Xcode won't build it - but it works from the terminal (we use Fastlane to build from the terminal).

Steps to Reproduce:
1. Install Xcode 8.
2. Create new project.
3. Deactivate "Automatically manage signing" in the "General" tab.
4. Add multiple configurations to the project.
5. Define all configurations to use a different bundle ID.
6. Add the app groups entitlements.
7. Specify a different entitlements file for each configuration.
8. Use a different app group ID in each entitlement file (e.g. "group.<bundleID>.AppName")
9. Try selecting a provisioning profile for each configuration. At least one will show an error.

Expected Results:
Xcode should look for the app group ID specified in the entitlements file selected for the currently active build configuration.

Actual Results:
Xcode looks for the app group ID selected in the capabilities tab, which only allows selecting the ID for a single configuration, which breaks provisioning for all other configurations.

Comments

 

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!


【四轴飞行器】非线性三自由度四轴飞行器模拟器研究(Matlab代码实现)内容概要:本文围绕非线性三自由度四轴飞行器模拟器的研究展开,重点介绍了基于Matlab的建模与仿真方法。通过对四轴飞行器的动力学特性进行分析,构建了非线性状态空间模型,并实现了姿态与位置的动态模拟。研究涵盖了飞行器运动方程的建立、控制系统设计及数值仿真验证等环节,突出非线性系统的精确建模与仿真优势,有助于深入理解飞行器在复杂工况下的行为特征。此外,文中还提到了多种配套技术如PID控制、状态估计与路径规划等,展示了Matlab在航空航天仿真中的综合应用能力。; 适合人群:具备一定自动控制理论基础和Matlab编程能力的高校学生、科研人员及从事无人机系统开发的工程技术人员,尤其适合研究生及以上层次的研究者。; 使用场景及目标:①用于四轴飞行器控制系统的设计与验证,支持算法快速原型开发;②作为教学工具帮助理解非线性动力学系统建模与仿真过程;③支撑科研项目中对飞行器姿态控制、轨迹跟踪等问题的深入研究; 阅读建议:建议读者结合文中提供的Matlab代码进行实践操作,重点关注动力学建模与控制模块的实现细节,同时可延伸学习文档中提及的PID控制、状态估计等相关技术内容,以全面提升系统仿真与分析能力。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值