profiles & entitlements Xcode 8

Obviously, the treatment of profiles and entitlements as changed a lot in Xcode 8, and these changes look good.


I have though been struggling with various issues. I want to get some clarity on these issues. My concern is that perhaps in the past, I've been able to use my entitlements and profile in ways that are now prohibited.


First of all, in case it’s my understanding that is flawed. My understanding is that:


application-identifier = app_prefix + bundle id


Secondly, I have several app prefixes (one of which is my team id). This is because I started delivering apps into the App Store back in 2008, and things were different then.


I have an app that uses IAP and has done in production for 18+ months.


The entitlement for this app has used an ‘app_prefix1’ for the keychain plus a wildcard application-identifier with that ‘app_prefix1’.


Therefore, in the entitlement, keychain-access-groups has ‘app_prefix1.aimp’. The application-identifier in the profile is app_prefix1.com.my_company_name.*

Xcode 8 says “MyProfile" doesn't support the In-App Purchase capability.” This seems to me because I’m using a wildcard application-identifier in the profile.


This was fine in Xcode 7.


The application_identifier in the member centre with the full name for the app uses app_prefix2.com.my_company_name.my_app_name. Therefore the app_prefix is different. If I use this specific app_id, the “doesn't support the In-App Purchase capability” error goes away. However, I then have the issue of a mis-match between the keychain group and the application-identifier.


I tried creating a new application-identifier using ‘app_prefix1’ and ‘.com.my_company_name.my_app_name’, but the member centre gave me an error message. I’ve read somewhere that Apple member centre maintainers may able to do this for me. Is this what I should try to do? Is there another solution I should be progressing?

profiles & entitlements Xcode 8
 
 
Q