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

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

问题描述

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

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

然后出现此错误:

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

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

推荐答案

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

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

(1)对于您的第一个问题:警告:正在跳过复印阶段.

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

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

I found the solutions here:

在iOS 8上归档应用时的警告Xcode 6中的扩展

在这里:

Xcode 6归档并收到警告跳过复制相位条,二进制代码已签名".当添加共享扩展名"时定位

具体来说,这是我用来解决问题的步骤:

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

  1. 启动Xcode并打开您的项目.

  1. Start Xcode and open your project.

选择左上角的蓝色项目图标.

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

在包含以下部分的第二列中:PROJECT和TARGETS, 在目标"部分下选择您的主要目标.

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

选择构建设置"标签.

向下滚动到部署"部分.

Scroll down to the "Deployment" section.

查找并展开复制期间的条带调试符号"部分

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

找到名为发布"的行.

将值从是"更改为否".

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

(2)对于您的第二个问题:无法找到或生成匹配的签名资产 解决方案在这里:

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

没有为WatchKit找到匹配的配置文件提交到App Store时的扩展程序

在这里:

提交WatchKit设置错误

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

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:

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

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

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

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

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