Deploying Apps to Devices without an Apple Developer Account
Posted By : Aditya Kumar Sharma | 29-Jun-2017
We heard various times that we can’t run iOS projects on device without Apple Developer Account. And Apple Developer Account costs $99 that too per year.
Yeah, we do require Apple Developer account if we want to distribute our App in the App Store. But there’s a good thing we can now test our App on devices without a paid Apple Developer Account.
So we require following things to make this thing happen:
-
Xcode 7 or higher.
-
iOS 9 or above.
-
A free Apple ID.
Now we will set up provisioning profile to code sign:
-
Open Xcode Preferences ( Xcode > Preferences )
-
Click ‘Account’ tab.
-
Now we will login with our free Apple ID. ( + > Apple ID)
As we successfully logged in, a new ‘Personal Team’ with a role will appear.
Next we have to select the certificate to sign the app:
-
Go to Project Editor.
-
Select ‘General’ section.
-
Then select the Personal team that we created from the ‘Team’ Dropdown.
Now as we Run the App we get a pop up alert showing this.
So just follow these instruction provided in the alert to pass this pop up. In iOS device open the ‘Settings’ app and go to ‘General > Device Management’. We’ll see the email address associated with the Apple ID you used to code sign your app. Tap it, then tap ‘Trust <your_email>’:
Now Go to Xcode and run the App. The App must get installed and launch in your iPhone.
Thanks
Cookies are important to the proper functioning of a site. To improve your experience, we use cookies to remember log-in details and provide secure log-in, collect statistics to optimize site functionality, and deliver content tailored to your interests. Click Agree and Proceed to accept cookies and go directly to the site or click on View Cookie Settings to see detailed descriptions of the types of cookies and choose whether to accept certain cookies while on the site.
About Author
Aditya Kumar Sharma
Aditya is a bright iOS developer, have knowledge of objective C, swift, swift 3, JSON, Core data and iPhone development. Apart from that he loves to travel and explore new things.