Search Unity

Question ios build (cloud)

Discussion in 'Unity Build Automation' started by yoonity, Nov 16, 2022.

  1. yoonity

    yoonity

    Joined:
    Nov 9, 2014
    Posts:
    7
    Hi. This might be obvious but I am not used to making ios builds. Some time ago I was working on a prototype project for someone that needed to be run on ipads. I sorted out all credentials etc and setup cloud build so I could make directly for ios (this was in the collaborate days). I had some issues but it was a protoype so no big deal. Now, after forced migration to PlasticSCM I have been getting errors everytime. Originally due to having to setup my Source Control settings again and not realising but now I am getting an error, I think, after the main build part. From the compact log I am getting:

    24: [2022-11-16T15:40:10Z - Unity] Finished exporting player successfully.
    25: [2022-11-16T15:40:42Z - Unity] [Performance] InitializeOnLoad EntitlementsErrorChecker.OpenFirstEntitlementError : 2 samples, Peak. 419 us (1.4x), Avg. 306 us, Total. 611.4 us (0.0%)
    26: [2022-11-16T15:40:42Z - Unity] [Performance] InitializeOnLoad SysrootPackage.IssueWarningIfLinuxIL2CPPNotPresent : 1 samples, Peak. 301 us (1.0x), Avg. 301 us, Total. 300.9 us (0.0%)
    27: [!] undefined method `[]' for nil:NilClass (NoMethodError)
    28: [2022-11-16T15:40:47.827Z] - 7.1.1.2.4.2 - ERROR: xcode build failed

    Is this due to apple credentials? I, as I said, am not familiar with apple products and methods. I am guessing from the export successful line that Unity itself built the app fine (I tested with a local build that worked, but obviously without xcode I couldn't go any further). Do I need to create new credentials?
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,697
  3. Danny327

    Danny327

    Unity Technologies

    Joined:
    Jan 4, 2021
    Posts:
    78
    Hi,
    This issue has been raised before and the fix is to regenerate a new provisioning profile in the Apple Developer Portal and update your credentials with the newly generated provisioning profile on the Unity Cloud Build credentials page.

    You can refer to the previous discussion on the same issue via this link.
    https://forum.unity.com/threads/ios-builds-signing-issues.1266656/