I create an app with Watchkit extension using App Groups function. Now I want to upload this app to Apple store. I do like this:
- Create App ID for my App (ex:com.standardApplication.tictactoe)
Enable appGroup in Capabilities in Xcode for IOS app and Watchkit app using identifier: "group.com.standardApplication.ticTacToe"
Create Provisioning Profiles for Development and Distribution on Certificates, Identifiers & Profiles center with my App ID that I create before. Download it and double klick to add it to my Xcode.
After that I go to Itune connect to make a new App with my App ID and info...
- After that in Xcode and build Setting, I changed the code signing for all targets(iOS Target and Watchkit target) like this:
But when I tried to archive my app for submit to Apple Store I got this error:
Check dependencies Code Sign error: No matching provisioning profiles found: None of the valid provisioning profiles allowed the specified entitlements: com.apple.security.application-groups. CodeSign error: code signing is required for product type 'WatchKit Extension' in SDK 'iOS 8.3'
I don't know how to fix that, although I tried some method that I know or search google but no luck, please help me.