WatchKit 扩展配置文件? [英] WatchKit Extension Provisioning Profile?

查看:22
本文介绍了WatchKit 扩展配置文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在正在尝试将我的 iOS 应用发送到 App Store.它编译良好并安装到我的测试设备上,没有任何错误甚至警告.我有一个 Apple Watch 应用程序将与之配套使用,但它似乎给我带来了问题.当我创建应用程序的存档时,我收到以下 5 条警告:

[App Name] WatchKit 扩展警告:跳过复制阶段条,二进制是代码签名的:/Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** Watch App.app/_WatchKitStub/WK警告:跳过复制阶段条,二进制是代码签名的:/Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** Watch App.app/*** 手表应用[应用名称]警告:跳过复制阶段条,二进制是代码签名的:/Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** WatchKit Extension.appex/*** 手表 App.app/_WatchKitStub/WK警告:跳过复制阶段条,二进制是代码签名的:/Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** WatchKit Extension.appex/*** 手表应用.app/*** 手表应用警告:跳过复制阶段条,二进制是代码签名的:/Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** WatchKit Extension.appex/*** WatchKit 扩展

然后继续这个错误:

还有其他人遇到这些问题吗?任何帮助将不胜感激!

解决方案

我在创建 WatchKit 应用程序时遇到了这两个问题.

(1) 对于你的第一个问题:警告:跳过复制阶段.

我在这里找到了解决方案:

这里:

提交 WatchKit 配置错误

在包含 WatchKit 扩展之前,我必须重新生成我用来提交整个应用程序的分发"配置文件.具体来说,这些步骤解决了我的问题:

我登录到 developer.apple.com,选择了证书、标识符和配置文件".

  1. 关于证书 ID &配置文件网站 > 配置配置文件页面,点击 App Store 配置文件.
  2. 点击编辑"
  3. 点击生成"

I'm trying to send my iOS app to the App Store right now. It compiles fine and installs onto my test device without a single error or even warning. I have an Apple Watch App that is going to go along with it but it seems to be giving me problems. When I create the Archive of the app, I get the following 5 warnings:

[App Name] WatchKit Extension

warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** Watch App.app/_WatchKitStub/WK

warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** Watch App.app/*** Watch App


[App Name]

warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** WatchKit Extension.appex/*** Watch App.app/_WatchKitStub/WK

warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** WatchKit Extension.appex/*** Watch App.app/*** Watch App

warning: skipping copy phase strip, binary is code signed: /Users/***/Library/Developer/Xcode/DerivedData/***/Build/Intermediates/ArchiveIntermediates/***/IntermediateBuildFilesPath/UninstalledProducts/*** WatchKit Extension.appex/*** WatchKit Extension

And then it's proceeded with this error:

Anyone else having these issues? Any help would be very appreciated!

解决方案

I had both of these problems when I created my WatchKit app.

(1) For your first problem: warning: skipping copy phase strip.

I found the solutions here:

Warning during archive App with iOS 8 Extension in Xcode 6

and here:

Xcode 6 Archiving and get a warning "Skipping copy phase strip ,binary is code signed" when add "share extension" to target

Specifically, here are the steps I used to fix the problem:

  1. Start Xcode and open your project.

  2. Select the blue project icon in the upper-left-hand corner.

  3. In second column that contains sections: PROJECT and TARGETS, select your main target under the TARGETS section.

  4. Select the "Build Settings" tab.

  5. Scroll down to the "Deployment" section.

  6. Find and expand the section called "Strip Debug Symbols During Copy"

  7. Find the row called "Release".

  8. Change the value from "Yes" to "No".

(2) For your second problem: Failed to locate or generate matching signing assets The solutions are here:

No matching provisioning profiles found for WatchKit extension when submitting to App Store

and here:

Submit WatchKit Provisioning Error

I had to regenerate the "Distribution" Provisioning Profile that I was using to submit my entire app, before I included the WatchKit extension. Specifically, these steps fixed my problem:

I logged onto developer.apple.com, selected "Certificates, Identifiers & Profiles".

  1. On the Certs IDs & Profiles website > Provisioning Profiles page, click the App Store profile.
  2. Click 'Edit'
  3. Click 'Generate'

这篇关于WatchKit 扩展配置文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆