xcode 无法修复代码签名问题:Xcode7.3

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/36937150/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 08:46:26  来源:igfitidea点击:

Unable to fix code signing issue: Xcode7.3

iosxcodecertificateprovisioning-profilexcode7.3

提问by Jess Murray

I am trying to run my application on different devices for testing purposes. It successfully allows me to run the app on iPhone4S, iPhone6 & iPhone6S. I tried to run it on my iPhone 5 however I am getting the following error:

我正在尝试在不同的设备上运行我的应用程序以进行测试。它成功地允许我在 iPhone4S、iPhone6 和 iPhone6S 上运行该应用程序。我试图在我的 iPhone 5 上运行它,但是我收到以下错误:

"Failed to code sign. None of the valid provisioning profiles include the devices "DEVICE NAME". Xcode can attempt to fix this" 

When I click "Fix Issue" I get the following:

当我点击“修复问题”时,我得到以下信息:

"Unable to fix code signing issue" "Xcode failed to resolve this issue. Check your code signing setting; ensure you have matching signing certificates and provisioning profiles installed and try again".

I have tried following various answers such as None of the valid provisioning profiles include the deviceshowever I am using a free account and as a result i don't have access to the devices portal on developer.apple.com.

我尝试遵循各种答案,例如没有任何有效的配置文件包含设备,但是我使用的是免费帐户,因此我无法访问 developer.apple.com 上的设备门户。

How can I fix this error without adding a device on the develop portal? Its odd that I only have this issue on this device.

如何在不在开发门户上添加设备的情况下修复此错误?奇怪的是我只有在这个设备上有这个问题。

Any help would be appreciated

任何帮助,将不胜感激

P.s. I am using Xcode 7.3

Ps 我使用的是 Xcode 7.3

UPDATE:

更新:

My apple ID looks like the below:

我的苹果 ID 如下所示:

enter image description here

在此处输入图片说明

回答by vivek

Go to PRODUCT click Profile! It will resolve your issue or just go for build for profiling.

转到产品点击个人资料!它将解决您的问题,或者只是进行构建以进行分析。

回答by vivek

If you are using Developer account, make sure that the device on which you are trying to install the build is registered in your Developer account and Provisioning profile. Otherwise Xcode won't let you install the build in there.

如果您使用的是开发者帐户,请确保您尝试安装构建的设备已在您的开发者帐户和配置文件中注册。否则 Xcode 不会让你在那里安装构建。

回答by Suhas

There is no limit on the number of devices that we can test our app using a free developer account. I tested my app on 5 devices, and all are working. But the only catch is that the provisioning profiles expire in 7 days, so the app does not not work after 7 days unless we re-launch it from XCode. The code signing issue could be due to some other issue. But I still dont understand why someone from the apple team told you that the limit is 3 devices.

我们可以使用免费的开发者帐户测试我们的应用程序的设备数量没有限制。我在 5 台设备上测试了我的应用程序,并且都可以正常工作。但唯一的问题是配置文件会在 7 天后过期,因此除非我们从 XCode 重新启动应用程序,否则 7 天后应用程序将无法运行。代码签名问题可能是由于其他一些问题。但是我还是不明白为什么苹果团队有人告诉你限制是3台设备。

More info on that - Is there a limit on the number of devices on which we can launch our app using the free apple developer account?

有关更多信息 -我们可以使用免费的苹果开发者帐户启动我们的应用程序的设备数量是否有限制?

回答by Suhas

firstly you have to Make sure you have a valid apple developer account then you have access to developer.apple.com and generate profiles for your app.

首先,您必须确保您拥有有效的苹果开发者帐户,然后才能访问 developer.apple.com 并为您的应用生成配置文件。

for more please check i hope it will solve your issues :

有关更多信息,请查看我希望它能解决您的问题:

Xcode 7 error: "Missing iOS Distribution signing identity for ..."

Xcode 7 错误:“缺少 iOS 分发签名标识……”