Unable to fix code signing issue: Xcode7.3

2019-06-04 23:55发布

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:

"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 devices however I am using a free account and as a result i don't have access to the devices portal on 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

UPDATE:

My apple ID looks like the below:

enter image description here

4条回答
淡お忘
2楼-- · 2019-06-05 00:09

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.

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?

查看更多
Fickle 薄情
3楼-- · 2019-06-05 00:25

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

查看更多
做自己的国王
4楼-- · 2019-06-05 00:33

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.

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

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

查看更多
对你真心纯属浪费
5楼-- · 2019-06-05 00:33

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.

查看更多
登录 后发表回答