The short answer
Neither the Unity Editor nor Unity Build Automation uploads for you. If the archive was made in Xcode, upload from Xcode, which needs macOS. A cloud build gives you an .ipa and you have to find an upload tool for it; Apple's Transporter app is likewise a macOS app. App details, TestFlight testers and review submission are all done on the web.
Which steps require macOS
The part that needs macOS
- Uploading from the Xcode archive window, or dragging the .ipa into the Transporter app. The tools listed in Apple's upload builds instructions include Xcode, Transporter, altool and the App Store Connect API.
The part that strictly speaking needs no Mac
- Unity's official support article describes Build Automation this way: the build does not require you to touch a Mac or Xcode, and when it finishes you get an .ipa that you upload to App Store Connect.
- Apple's Transporter User Guide states that its command-line version also supports Windows and one Linux distribution, and that uploading an app requires
-assetFileplus a descriptive plist. This route works but is uncommon; see Apple's guide for the details.
The part done on the web
Creating the app record, filling in details and screenshots, age rating, export compliance, TestFlight groups, submitting for review.
For most people, on a first release, uploading with a graphical tool on a Mac with a desktop gives the errors that are easiest to understand.
How to do it on a remote Mac
Check version and build number before uploading
Version in Player Settings is the version users see; Build is the build number. App Store Connect uses them to identify each upload, and a repeated build number under the same version is refused. Increase Build by one in the Editor before every package. Do not change it only in Xcode, or the project settings will overwrite it the next time the project is regenerated.
Check the two compliance items the Unity Manual singles out
The iOS building and delivering chapter of the Unity Manual has two dedicated pages: Apple's privacy manifest requirements, and encryption export regulations. The first concerns whether the third-party SDKs you use include privacy manifest files; the second corresponds to the export compliance question App Store Connect asks after upload. Read each once before uploading, going by the current content of that chapter of the Manual.
Option 1: upload from the Xcode archive window
After running Archive on the generated project on the remote Mac, choose distribution to App Store Connect in the archive window and upload. Apple sets a minimum Xcode version for uploads, which rises over time; see its upload instructions page. The Xcode version Unity recommends and Apple's upload requirement are two separate things, and both have to be met.
Option 2: upload a cloud-built .ipa with Transporter
Download the .ipa produced by Unity Build Automation onto the remote Mac, install Transporter from the App Store, sign in with your developer account and drag the file in to deliver it. The precondition is that this .ipa was signed with an App Store type provisioning profile; a package signed with a development or ad hoc profile cannot be uploaded.
Wait for processing, then add internal testers
According to Apple, an uploaded build has to be processed before it appears in App Store Connect, and you receive an email when that is done; on the first upload the system sets up a beta version for the app. After that, add team members as internal testers in TestFlight.
Run through it on a real device before submitting
A game's performance, heat and touch feel can only be judged on a real device, and the remote Mac cannot be connected to your iPhone. So treat the TestFlight install as a required stage: you and your testers play through the main levels on your own phones, then submit for review from the version page.
FAQ
The package is large. Will the upload be slow?
Upload speed depends on the machine's network connection and the state of Apple's servers. Our machines use residential broadband in the United States; speed is affected by the connection and its load, and there is no figure we can promise.
After uploading I got an email about a missing usage description. What is it?
The description text for some permission in Info.plist is empty. Unity's Player Settings has input fields for usage descriptions such as camera and microphone; fill them in and regenerate the project. For other permissions used by third-party SDKs, add them as their documentation says.
Can the cloud build upload automatically when it finishes?
Build Automation's documentation has a page on custom fastlane configuration. Whether it meets your needs is for that documentation to settle; we have not tested it ourselves.
Do I need to rent a Mac just for the upload step?
If the build is entirely in the cloud and only the upload is missing, borrowing any Mac and installing Transporter is enough. Renting fits better when you also need to compile in Xcode, troubleshoot and run the simulator.
Related
- How do I build an iOS .ipa from a Unity project without a Mac?
- How do I set up iOS certificates and signing for Unity without a Mac?
- How do I publish an app to the App Store without a Mac?
- How do I sign an iOS app and upload it to the App Store from a remote Mac?
- iOS without a Mac: a remote Mac mini can build, sign and upload, but not debug on a real device
Pricing and availability: see the plans page · Help center (中文) · Refund policy (中文) · Telegram Contact support