Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ad hoc code signing not allowed with SDK 'iOS 8.4'

Tags:

xcode

ios

iphone

I am trying to run my IOS app on my iphone, I have an apple developer account and I did all the steps to create certificate, When I am trying to run it I have this error message:

Code Sign error: ad hoc code signing not allowed with SDK 'iOS 8.4'

CodeSign error: code signing is required for product type 'Framework' in SDK 'iOS 8.4'

Any solution

Edit: enter image description here

like image 388
Khaled Hayek Avatar asked Jul 25 '15 10:07

Khaled Hayek


People also ask

How do I distribute an iPhone Ad Hoc app?

In the sidebar, click Profiles. Then, next to the heading Profiles, click the + button to create a new provisioning profile. Under Distribution, select Ad Hoc. Click Continue.

What is code signing identity in Xcode?

What is Code Signing Identity? As per Apple, it's their security mechanism, which is used for authenticating identity. It assures users that the applications are trustworthy, and they are created by an Apple authorized source, and it hasn't tampered.


1 Answers

From XCode select your project file in the navigation area, then go in the Build Settings tab.

Search the 'Code signing' section and check if you have properly set the 'Code Sign Identity' and 'Provisioning profile' properties. In the first one you should read the name identity of the ios program owner, in the second the name of the provisioning profile you create. If you aren't able to select any provisioning profile, copy the one you create in this path:

~/Library/MobileDevice/Provisioning\ Profiles/

and restart XCode. This is an example of right configuration:

enter image description here

like image 96
Mauro Nonnis Avatar answered Oct 10 '22 07:10

Mauro Nonnis