Hi,
Description of issue:
There seems to be no actual error in the Compact Log / Full Log from the Cloud Build. Please Note: I have attempted to build using iOS, Android - APK, Android - Asset Bundle all with no luck.
Here is an image of what we are seeing.
It seems to be that Cloud Build is identifying images with “error” in their name as errors. Crazy I know, I’m certain this is not the actual issue, but it is strange why these have been highlighted in red.
I attempted to follow through the Full Log with seemingly no useful error messages from the Compact Log and also had no luck there. - I’m happy to also send this full log across if it is needed?
The Cloud Build is marked as a Failure and produces 0 files. It is worth noting I have also tried running Normal Build and Clean Builds.
Unity version: Unity 2020.3.0f1 LTS.
Xcode version: Xcode 12.4
Source control: Git / BitBucket
Local build platform: iOS / Android
Build target: iOS, Android - APK, Android - Asset Bundle
What have we tried:
As expected we also ensure that iOS and Android are still supported by Cloud Build:
https://docs.unity3d.com/Manual/UnityCloudBuildSupportedPlatforms.html
Also this link to identify the supported Unity Versions doesn’t actually take you anywhere useful:
https://docs.unity3d.com/Manual/UnityCloudBuildUnityVersions.html
Instead I had to check the Unity Forums on Release Notes which would have been useful if the above link, linked here instead:
We can tell as of Monday 15th March 2021 the version of Unity we are using should be a supported Unity Version of Cloud Builds.
I have attempted to check the knowledge base but I couldn’t find anything here that would fix my issue.
https://support.unity.com/hc/en-us/sections/201104819-Cloud-Build
I have attempted to reclone my project on another machine and this works absolutely fine. So I know the issue doesn’t lie here:
I have ensured my Xcode is on the latest version on my Mac and that the target is set up correct:
We have also followed all tutorials Unity offer - These seem to be out of date with updates to App Store Connect that should be documented - specifically the area around creating valid certificates.
https://docs.unity3d.com/Manual/UnityCloudBuildiOS.html
A link you suggest to follow in the docs regarding using the Xcode API is no longer valid - but this doesn’t really relate to the question I’m asking.
For an example of a Unity Project that uses the API, see the UpdateXcodeProject example Project on BitBucket. You can use the example to experiment and to learn from.
It seems the actual Support Guides - specifically “Building for iOS using Unity Cloud Build” is also out of date regarding the certificate creation:
There just seems to be a lot of places we are struggling with unity that has a lot of out of date documentation. I have ensured I am used the most up to date version of the Unity Docs for 2020.3: Unity Build Automation
Thanks,
Twinkl Apps Team