Unity 3d package iOS (x code certificate free)

Packaging step

  1. Precondition
    • iOS packaging can only be done on a Mac, which means that you need to install the Mac version of Unity
    • XCode must be installed on the Mac machine
  2. Open the Unity project, open a Scene, click【File】->click【BuildSetting】->click【Add Current】,click【iOS】->click【Switch PlatForm】,click【Player settings】, Click【iPhone, iPod Touch, and iPad setting】->【Other Settings】:【Bundle Identifier】com.Company.ProductName is your own custom, for example: com.Game.test, after modification, click Build, Select the path, add the file name, save, and so on, the folder will pop up.
  3. Double-click the *.xcodeproj file, open Xcode, plug in the device and select, set the certificate, click Run to install the package to the phone.
  4. If you do not have a developer certificate, you can refer to the certificate-free packaging solution below
  5. If you purchased the developer certificate, you can also export the ipa through [Product]->[Archive]->[export]

Certificate-free packaging

  • environment:

    • macOS Sierra 10.13.2
    • Xcode Version 9.2
  • step:

    1. Add an account: Xcode -> Preferences -> Accounts -> “+”: Add Apple ID -> Enter your personal Apple ID.
    2. On the Accounts page in step 1, select the account you just added in the Apple IDs list on the left, select (Person Team) in the Team box on the right, and double-click.
    3. In the pop-up interface, click Create after iOS Development and Mac Development, and then click Done.
    4. Create a project, plug in the real machine, select (Person Team) in Step 2 for Team in the Signing of the configuration file, and then package and install it.
    5. After installing the package on the phone, go to the phone's Settings -> General -> Profile and Device Management -> Trust.

refer to

http://www.wastedpotential.com/running-xcode-projects-on-a-device-without-a-developer-account-in-xcode-7


If there are any mistakes, please point them out.

email: dxmdxm1992#gmail.com

blog: http://blog.csdn.net/david_dai_1108

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325451571&siteId=291194637
Recommended