Current location - Quotes Website - Signature design - The Unity project is packaged into the iOS platform and uploaded to the App Store process
The Unity project is packaged into the iOS platform and uploaded to the App Store process

The company needs to package the Unity project and put it on the shelves. The process is recorded here for reference.

Overall process:

1. Open the unity project, click Run, and check whether the game picture display and other functions are normal.

2. Export the project and open it from xcode .

3. Add relevant files on xcode.

4. Edit relevant parameters.

5. Generate ipa after testing on the mobile phone. File.

6. Upload the generated ipa file to itunes connect and submit it for review.

Detailed process:

1. Open the unity project, click Run, and view Are the game picture display and other functions normal?

2. Export the xcode project:

1.File→Build Settings

2. Select iOS in Platform and click Switch Platform indicates that you are sure to switch to this platform, and then open Player Settings

3.Default Orientation is Auto Rotation, and check Landscape Right (horizontal version to the right) and LandScape Left (horizontal version to the left) in Resolution and Presentation version). (This will cause the interface to be locked in landscape version after entering the game).

4. Select IL2CPP in Scripting Backend in other Settings, and then build and run in Building Settings, that is, in xcode Generate, (selecting IL2CPP can reduce the loading time of the game).

5. Put the icon into the file, and then drag it into the default icon (this is to generate icons of various resolutions):< /p>

3. Add related files on xcode:

Such as the game startup interface

2. Add the previously imported files to the project. (In the above During the process, the replaced files are ignored. The newly added files must be imported here and need to be dragged into the project directory).

4. Change of related parameters

1. Confirm the package name ( Bundle Identifier), change Version and Build

3. Modify bitcode to NO in Build Options in Build Settings. (This option is related to package optimization, if your third-party class library does not support it bitcode, you should turn it off, usually turn it off, otherwise an error will be reported).

4. Add -Objc in Other Linker Flags. (After adding this parameter, the linker will All Objective-C classes in the library are loaded into the final executable file to prevent function call failure).

5. After the build is correct and runs without exception on the mobile phone, the ipa file can be generated

1. Click Edit Scheme

2. Make sure the Build Configuration in Archive is Release. (Archive means exporting the ipa file, Release means the official version, and the corresponding debug means the test version. The Build Configuration in run here should be debug, otherwise it cannot be tested on the mobile phone).

3. Click archive in the menu bar and wait,

4. Select the file just generated , click Export to export

5. Select the first item, that is, you can use the developer account to publish the app, and click Next to confirm. (The second item is for test package packaging, and the third item is for enterprise account) .

6. Select the developer corresponding to the signing certificate and click choose.

7. Click Export and select the exported address to see the generated ipa file in the corresponding folder.

7. Upload the generated ipa file to itunes connect and submit it for review.

1. Enter Application Loader

2. Select "Deliver your application" , click Select and select the ipa file just generated.

3. Enter itunes connect and select the corresponding app (here, use upgrading ipa as an example). Click "Version and Platform" and select the iOS platform.

4. Enter the new version number (usually add 0.1 to the original version number)

5. Select the uploaded version in the build version (the ipa file just uploaded will have a processing time, There will be a "+" sign here for clicking), which will look like this after uploading. Finally, save and submit for review.