Unity Build Game For Mac

First step

  1. Unity Build Settings
  2. Unity Build Game For Mac Download
  3. Unity Mac Build On Windows
  1. Register as Apple developer:https://developer.apple.com/programs/enroll/
  2. Join unity cloud build:https://unity3d.com/unity/features/cloud-build
  3. Follow cloud build instructions there to set up for IOS project

Creating .CSR file in windows (certificate signing request)

  1. Download openssl binary:https://indy.fulgan.com/SSL/
  2. Unzip it
  3. Open command prompt for that folder note must run as administrator
  4. Enter the following command > openssl genrsa –out mykey.key 204
  5. Download the missing openssl.cfg file from this page:https://docs.oracle.com/cd/E19509-01/820-3503/ggeyz/index.htmland place them in same folder with file name openssl.cfg
  6. Enter the following command > set OPENSSL_CONF = c yourOpensslfolderopenssl.cnf
  7. Enter following command > openssl req –new – key mykey.key – out certificateSigningRequest.certSingingRequest – subj “/email addressyouraddress@exmaple.com, CN your Name , c = your country
  8. Now you can Upload the generated “ cerficationSigingRequest.certSigningRequest” file into Apple Developer site

Now part of Unity, ProBuilder is a unique hybrid of 3D modeling and level design tools, optimized for building simple geometry but capable of detailed editing and UV unwrapping too. Use ProBuilder to quickly prototype structures, complex terrain features, vehicles and weapons, or to make custom collision geometry, trigger zones or nav meshes.

Setting Up Apple Developer Licenses

Unity Build Settings

  1. Login into Apple developer account
  2. Go to “certificates , identifiers & Profiles”
  3. Create production certificate (for App Store and Ad Hoc)
  4. Upload your .csr file that you can generated in previous step
  5. Create App ID (make it wildcard so you can use it for many apps)
  6. Create provision profile for distribution
Unity Build Game For Mac

Creating .p12 file in windows

Unity Build Game For Mac Download

  1. Download your “ ios_devlopment.cer” from production certificates list (and copy it into your openssl folder)
  2. Enter following command > openssl x509 -in ios_development.cer -inform DER -out developer_identity.pem -outform PEM
  3. Use the mykey.key we created in CRS creation
  4. Enter following command > openssl pkcs12 -export -inkey mykey.key -in developer_identity.pem -out iphone_dev.p12
  5. Enter password (write it down , as you will need it later)
Unity Build Game For Mac

Building .ipa with unity cloud build

Unity Mac Build On Windows

  1. Go to unity cloud build
  2. Create a new IOS projects (follow the instruction on the site)
  3. And when it as for the provision profiler and .p12 files you now have those files
  4. Then hit build and download your .ipa file

Copying .ipa to IOS device

  1. Install iTunes
  2. Connect IOS device to your PC
  3. Then drag and drop the cloud build .ips file here
  4. The click the ipad icon to view your ipad
  5. Click Apps
  6. Look for your .ips App in the list
  7. Click install button
  8. Click apply button at the bottom
  9. Done now you can run your app

Reference:

  1. https://unity3d.com/learn/tutorials/topics/cloud-build/your-first-cloud-build-project
  2. https://help.adobe.com/en_US/as3/iphone/WS144092a96ffef7cc-371badff126abc17b1f-7fff.html
  3. https://help.adobe.com/en_US/as3/iphone/WS144092a96ffef7cc-371badff126abc17b1f-8000.html
  4. https://www.tbs-certificates.co.uk/FAQ/en/openssl-windows.html