How to run apps on iPhone/iPad using Xcode 7 without enrolling to Apple's Developer Program?

80.2k views Asked by At

I have a Macbook with OSX 10.10.3, Xcode 7 beta and an iPhone 4. I haven't enrolled to Apple's Developer Program. I think that since the latest WWDC any developer can run apps on their device. How can I achieve that on a real device in Xcode 7 Beta?

4

There are 4 answers

6
Manoj On BEST ANSWER

Please follow the steps below:

  1. Install Xcode 7.

  2. Give a unique bundle identifier (any unique identifier):

    enter image description here

  3. Select a valid team from the "Team" option (you can add an account from Xcode preferences, but there is also an option for adding an account):

    enter image description here

  4. Then click on Fix Issue. It will take some time and will be resolved. (If you are getting any error, then there may be some issue with your Apple developer account.)

  5. If you are not getting any kind of error after clicking on Fix Issue, then your set up succeeded:

    enter image description here

  6. Now connect your device. Run your code on Xcode 7 by selecting the destination as your connected device name.

I have tried it with the Xcode 7 beta version.

0
Julian E. On

The following article from 9to5mac.com outlines how you are able to run apps on your iPhone without a developer account:

Screenshot

Apple has changed its policy regarding permissions required to build and run apps on devices. Until now, Apple required users to pay $99/year to become a member of Apple’s Developer Program in order to run code on physical iPhone and iPads. As part of the new Developer Program, this is no longer required. Apps can be tested on devices, no purchase necessary.

However, this technically means that developers will be able to release apps outside of the App Store as long as they are open-sourced. Interested users could then open the code in Xcode, compile and run it on their own devices — avoiding the App Store completely.

This is somewhat similar to how Android allows users to sideload apps from unknown sources, although its a bit more complicated as sideloading requires a physical connection and a Mac running Xcode to build the apps. As it’s not really meant for this purpose (its main purpose is for developers to test their own software on real hardware), more technical knowledge is needed to actually sideload something than with the Android flow.

It’s not really an optimal solution for most developers but some apps could foreseeably be distributed this way. For instance, GBA4iOS is an open-source Game Boy Advance emulator for iPhone and iPad.

With the new policy change, customers can theoretically download the application code from the open-source tree and build it locally. Then, they can use Xcode to run it on their device. Emulators are a good example of something that Apple will not allow in the store but are commonly open-sourced and could be installed through this method. Bouke van der Bijl has written up some good instructions on how to achieve this, if you are interested.

With this change, you really only need to pay for the Developer Program if you want to actually submit to the App Store. To submit apps through iTunes Connect to Apple for review, a paid active membership is still required. Apple says it dropped the fee to allow even more budding developers to join in the iOS world as many people (such as younger candidates and people from less-privileged backgrounds) who were deterred by the $99 subscription fee.

2
RMDeveloper On

The following will work on any iOS/OSX version:

  1. Download and install the Xcode 7 beta.

  2. Open Xcode 7, open preferences->Account and click on add button left side of pop up, choose Add Apple ID and login to your Apple Account.

  3. Plug in your iPhone and select it as the build destination.

  4. We now need to generate a code signing signature for the app. Click on the project on the left, fill in a unique “Bundle Identifier” and click on “Fix Issue” (make sure your name is selected as “team”).

  5. Click the play button in the top left. If there’s no build errors the app should now launch on your phone!

0
Markaroonie On

If you are like me and have had a play around with xCode 8 and want to run your app on your phone/ipad but don't want to pay $99 for the privilege then here is what helped me.

go to developer.apple.com and click on account on top right and sign in with your apple id. You will be asked to sign an agreement.

go to Xcode and open preferences->Accounts and click on add (+) button left bottom side of pop up, choose Add Apple ID and login to your Apple Account.

back in the Accounts screen select your apple ID and on the bottom right click "view details". In the popup under signing identities click on the button create next to iOS Development and then Done

exit out of preferences and plug in your phone to the computer. From the dropdown menus at the top of Xcode go Product->Destination and then select your phone.

Now when you run your project it should load to your phone. You may need to go the the settings app on your phone -> General -> Device Management -> approve you as a developer