问题描述
我使用应用程序组"功能创建了带有Watchkit扩展名的应用程序.现在,我想将此应用程序上载到Apple商店.我喜欢这样:
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:
- 为我的应用创建应用ID(例如:com.standardApplication.tictactoe)
-
使用标识符"group.com.standardApplication.ticTacToe"为IOS应用程序和Watchkit应用程序的Xcode中的功能启用appGroup.
- 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"
创建用于在证书,标识符和证书的开发和分发中的供应配置文件.个人资料以我之前创建的应用程序ID为中心.下载并双击以将其添加到我的Xcode中.
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.
此后,我转到Itune connect以使用我的应用程序ID和信息创建一个新的应用程序...
After that I go to Itune connect to make a new App with my App ID and info...
但是当我尝试将我的应用程序存档以提交到Apple Store时,出现了此错误:
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'
我不知道如何解决此问题,尽管我尝试了某种我知道或搜索过google但没有运气的方法,请帮助我.
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.
推荐答案
您还创建了WatchKit Extension设置配置文件&创建并设置与您的ios应用相同的方式.
You have a also create WatchKit Extension provisioning profiles & create and set the same way to your ios app.
-
创建扩展程序应用ID(例如:com.standardApplication.tictactoe.watchkitApp)
create Extension app id (ex:com.standardApplication.tictactoe.watchkitApp)
在扩展应用ID中启用appGroup功能并设置扩展
应用定位
Enable appGroup Capabilities in Extension app id and set Extension
app target
为扩展程序应用程序创建配置文件,然后进行设置..
Create Provisioning Profiles for Extension app and then set..
这篇关于如何将带有应用程序组的应用程序上传到Apple Store?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!