Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Build crashes when creating ipa in Unity 2019

Discussion in 'iOS and tvOS' started by Keraberas, Apr 7, 2020.

  1. Keraberas

    Keraberas

    Joined:
    Jul 7, 2014
    Posts:
    4
    Hello. After the transition from Unity 2018.4.13 (LTS) to 2019.3.1, unexpected drops in the ipa build began. At the same time, when starting a project on a device with xCode, the application starts correctly. But after archiving, the ipa file becomes not working. We did not find specific references to errors leading to this in the logs. We provide you with a crash report from the iPad, logs in the expanded and deleted form. This problem does not depend on the model or form factor of the device. I hope you are familiar with this problem. If you need any other data, I look forward to hearing from you. Link to install this application: https://w.url.cn/s/AzqNjjN

    logs : https://drive.google.com/open?id=1INqvjhVX3gn36AZEQPqM_O1WQJOD62vJ

    crash : https://drive.google.com/open?id=1GMK_YfYYEQFFJ17FlyeoIDlxhmROq3pL
     
    TheElumenati likes this.
  2. carlboudreau007

    carlboudreau007

    Joined:
    Apr 22, 2019
    Posts:
    2
    Hi,
    Using Unity 2019.3.9f1 on a macPro Catalina (Ver. 10.15.3) with an iPad (ver. 13.3.1), I am able to build and deploy. The application starts on the iPad with a black screen then ends. I have yet to deploy any unity application successfully to this iPad. It runs in the Unity IED on the Mac fine. I can deploy the application to my Android Note 3. On the android I see the splash screen and then the default horizon. On the iPad, I see the application start with a black screen and a second later it goes away.

    The xcode output has the following data;
    2020-04-16 12:11:45.520652-0500 NewUnityProject[2957:2845665] Error loading /var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework, 265): no suitable image found. Did find:

    /var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework'


    /var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework: stat() failed with errno=3

    /private/var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/private/var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework'

    2020-04-16 12:11:45.541502-0500 NewUnityProject[2957:2845665] Error loading /var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework: dlopen(/var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework, 265): no suitable image found. Did find:

    /var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework'


    /private/var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/private/var/containers/Bundle/Application/591154B0-F920-42CB-8A82-BA6B484D123D/NewUnityProject.app/Frameworks/UnityFramework.framework/UnityFramework'

    The Console for the ipad has the following data after starting the app 5-9 times in succession;
    error 12:08:11.847901-0500 kernel Sandbox: backupd(2887) System Policy: deny(1) file-unmount
    error 12:08:18.240067-0500 kernel Sandbox: bluetoothd(75) deny(1) mach-lookup com.apple.server.bluetooth
    error 12:08:18.300829-0500 kernel Sandbox: NewUnityProject(2914) deny(1) sysctl-read kern.bootargs
    error 12:08:18.355024-0500 amfid Invalid profile iteration outcome?
    error 12:08:18.382584-0500 amfid Invalid profile iteration outcome?
    error 12:08:18.500426-0500 SpringBoard Unable to get short BSD proc info for 2914: No such process
    error 12:08:18.977469-0500 amfid Invalid profile iteration outcome?
    error 12:08:19.004168-0500 amfid Invalid profile iteration outcome?
    error 12:08:19.117652-0500 SpringBoard Unable to get short BSD proc info for 2915: No such process
    error 12:08:19.150294-0500 runningboardd Error acquiring assertion 25-53-17521 on 2915: <NSError: 0x1014b3c40; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:19.150439-0500 SpringBoard Error acquiring assertion: <NSError: 0x281570f30; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:20.007798-0500 amfid Invalid profile iteration outcome?
    error 12:08:20.037777-0500 amfid Invalid profile iteration outcome?
    error 12:08:20.155247-0500 SpringBoard Unable to get short BSD proc info for 2916: No such process
    error 12:08:20.593759-0500 amfid Invalid profile iteration outcome?
    error 12:08:20.620488-0500 amfid Invalid profile iteration outcome?
    error 12:08:20.733958-0500 SpringBoard Unable to get short BSD proc info for 2917: No such process
    error 12:08:20.760727-0500 runningboardd Error acquiring assertion 25-53-17529 on 2917: <NSError: 0x1015cd940; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:20.761082-0500 SpringBoard Error acquiring assertion: <NSError: 0x2815d0d80; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:21.739403-0500 amfid Invalid profile iteration outcome?
    error 12:08:21.755992-0500 amfid Invalid profile iteration outcome?
    error 12:08:21.868190-0500 SpringBoard Unable to get short BSD proc info for 2918: No such process
    error 12:08:22.345737-0500 amfid Invalid profile iteration outcome?
    error 12:08:22.372262-0500 amfid Invalid profile iteration outcome?
    error 12:08:22.489548-0500 SpringBoard Unable to get short BSD proc info for 2919: No such process
    error 12:08:22.524568-0500 runningboardd Error acquiring assertion 25-53-17537 on 2919: <NSError: 0x10158e180; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:22.524877-0500 SpringBoard Error acquiring assertion: <NSError: 0x281523750; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:23.367371-0500 amfid Invalid profile iteration outcome?
    error 12:08:23.387829-0500 amfid Invalid profile iteration outcome?
    error 12:08:23.499891-0500 SpringBoard Unable to get short BSD proc info for 2920: No such process
    error 12:08:23.997359-0500 amfid Invalid profile iteration outcome?
    error 12:08:24.024219-0500 amfid Invalid profile iteration outcome?
    error 12:08:24.133516-0500 SpringBoard Unable to get short BSD proc info for 2921: No such process
    error 12:08:24.169193-0500 runningboardd Error acquiring assertion 25-53-17545 on 2921: <NSError: 0x101390370; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:24.169435-0500 SpringBoard Error acquiring assertion: <NSError: 0x28159cd20; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:25.028323-0500 amfid Invalid profile iteration outcome?
    error 12:08:25.049390-0500 amfid Invalid profile iteration outcome?
    error 12:08:25.168946-0500 SpringBoard Unable to get short BSD proc info for 2922: No such process
    error 12:08:25.649492-0500 amfid Invalid profile iteration outcome?
    error 12:08:25.675856-0500 amfid Invalid profile iteration outcome?
    error 12:08:25.795965-0500 SpringBoard Unable to get short BSD proc info for 2923: No such process
    error 12:08:25.829359-0500 SpringBoard Error acquiring assertion: <NSError: 0x2815f3330; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:25.829849-0500 runningboardd Error acquiring assertion 25-53-17553 on 2923: <NSError: 0x1015f8840; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:26.800865-0500 amfid Invalid profile iteration outcome?
    error 12:08:26.816420-0500 amfid Invalid profile iteration outcome?
    error 12:08:26.931737-0500 SpringBoard Unable to get short BSD proc info for 2924: No such process
    error 12:08:27.416129-0500 amfid Invalid profile iteration outcome?
    error 12:08:27.441994-0500 amfid Invalid profile iteration outcome?
    error 12:08:27.559463-0500 SpringBoard Unable to get short BSD proc info for 2925: No such process
    error 12:08:27.592221-0500 SpringBoard Error acquiring assertion: <NSError: 0x281567210; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:27.593669-0500 runningboardd Error acquiring assertion 25-53-17561 on 2925: <NSError: 0x101592e60; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:28.329149-0500 kernel Sandbox: bluetoothd(75) deny(1) mach-lookup com.apple.server.bluetooth
    error 12:08:28.396089-0500 kernel Sandbox: NewUnityProject(2926) deny(1) sysctl-read kern.bootargs
    error 12:08:28.449382-0500 amfid Invalid profile iteration outcome?
    error 12:08:28.464096-0500 amfid Invalid profile iteration outcome?
    error 12:08:28.576220-0500 SpringBoard Unable to get short BSD proc info for 2926: No such process
    error 12:08:29.068566-0500 amfid Invalid profile iteration outcome?
    error 12:08:29.094762-0500 amfid Invalid profile iteration outcome?
    error 12:08:29.208890-0500 SpringBoard Unable to get short BSD proc info for 2927: No such process
    error 12:08:29.237015-0500 SpringBoard Error acquiring assertion: <NSError: 0x2815733c0; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:29.237900-0500 runningboardd Error acquiring assertion 25-53-17569 on 2927: <NSError: 0x1015dc7d0; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:30.137798-0500 amfid Invalid profile iteration outcome?
    error 12:08:30.159706-0500 amfid Invalid profile iteration outcome?
    error 12:08:30.276833-0500 SpringBoard Unable to get short BSD proc info for 2928: No such process
    error 12:08:30.769484-0500 amfid Invalid profile iteration outcome?
    error 12:08:30.796019-0500 amfid Invalid profile iteration outcome?
    error 12:08:30.914119-0500 SpringBoard Unable to get short BSD proc info for 2929: No such process
    error 12:08:30.949243-0500 runningboardd Error acquiring assertion 25-53-17577 on 2929: <NSError: 0x101377f40; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:30.949487-0500 SpringBoard Error acquiring assertion: <NSError: 0x281567840; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:30.972203-0500 SpringBoard display_timer_callback: unexpected state (now:e29e2f74b2d < expected:e29e2f8f3c7)
    error 12:08:31.912606-0500 amfid Invalid profile iteration outcome?
    error 12:08:31.930110-0500 amfid Invalid profile iteration outcome?
    error 12:08:32.041994-0500 SpringBoard Unable to get short BSD proc info for 2930: No such process
    error 12:08:32.500946-0500 amfid Invalid profile iteration outcome?
    error 12:08:32.527686-0500 amfid Invalid profile iteration outcome?
    error 12:08:32.647409-0500 SpringBoard Unable to get short BSD proc info for 2931: No such process
    error 12:08:32.684778-0500 SpringBoard Error acquiring assertion: <NSError: 0x28159bcc0; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">
    error 12:08:32.686299-0500 runningboardd Error acquiring assertion 25-53-17585 on 2931: <NSError: 0x10160dc00; domain: RBSAssertionErrorDomain; code: 2; reason: "Specified target process does not exist">

    And the device log has the following data;
    [{"osVersion":"13.3.1","rangeEndTime":1587056418,"eventVersion":1,"eventType":"installs","itemId":"871767552","topic":"xp_amp_app_usage_dnu","bundleId":"com.unity3d.unityremote4","shortAppVersion":"2.0","installType":"prior","count":1,"appVersion":"1.0","externalVersionId":"825075163","baseVersion":1,"bundleVersion":"0","eventTime":1587056418078,"clientEventId":"03F82A5C-0498-4D4D-AF88-92FCA0B887C8","usageClientId":"2FA34705-E837-401A-8875-B317446875B3","timezoneOffset":300,"app":"com.apple.appstored","rangeStartTime":1587013436},{"osVersion":"13.3.1","rangeEndTime":1587056418,"eventVersion":1,"eventType":"installs","itemId":"335393788","topic":"xp_amp_app_usage_dnu","bundleId":"com.squareup.square","shortAppVersion":"5.36.1","installType":"prior","count":1,"appVersion":"1.0","externalVersionId":"835500559","baseVersion":1,"bundleVersion":"5361001","eventTime":1587056418078,"clientEventId":"5140E10A-358F-46F5-9E54-580FCBB60C72","usageClientId":"2FA34705-E837-401A-8875-B317446875B3","timezoneOffset":300,"app":"com.apple.appstored","rangeStartTime":1587013436},{"osVersion":"13.3.1","rangeEndTime":1587056418,"eventVersion":1,"eventType":"installs","itemId":"469284907","topic":"xp_amp_app_usage_dnu","bundleId":"com.hp.printer.control","shortAppVersion":"7.2","installType":"prior","count":1,"appVersion":"1.0","externalVersionId":"835495000","baseVersion":1,"bundleVersion":"1308","eventTime":1587056418078,"clientEventId":"BA141FAF-AD3C-46D1-A466-2F02F65D8FA7","usageClientId":"2FA34705-E837-401A-8875-B317446875B3","timezoneOffset":300,"app":"com.apple.appstored","rangeStartTime":1587013436},{"osVersion":"13.3.1","rangeEndTime":1587056418,"eventVersion":1,"eventType":"installs","itemId":"1037784828","topic":"xp_amp_app_usage_dnu","bundleId":"com.photomyne.photomyneapplite","shortAppVersion":"18.1","installType":"prior","count":1,"appVersion":"1.0","externalVersionId":"835242535","baseVersion":1,"bundleVersion":"18.1.20","eventTime":1587056418078,"clientEventId":"EB0EF982-8670-4D3C-9B2E-50D03A283371","usageClientId":"2FA34705-E837-401A-8875-B317446875B3","timezoneOffset":300,"app":"com.apple.appstored","rangeStartTime":1587013436},{"osVersion":"13.3.1","rangeEndTime":1587056418,"eventVersion":1,"eventType":"installs","itemId":"1033276920","topic":"xp_amp_app_usage_dnu","bundleId":"com.squarespace.commerce","shortAppVersion":"2.0.0","installType":"prior","count":1,"appVersion":"1.0","externalVersionId":"835436008","baseVersion":1,"bundleVersion":"20040810173","eventTime":1587056418078,"clientEventId":"23026BAF-C135-402D-A214-F05375B55198","usageClientId":"2FA34705-E837-401A-8875-B317446875B3","timezoneOffset":300,"app":"com.apple.appstored","rangeStartTime":1587013436},{"osVersion":"13.3.1","rangeEndTime":1587056418,"eventVersion":1,"eventType":"installs","itemId":"535886823","topic":"xp_amp_app_usage_dnu","bundleId":"com.google.chrome.ios","shortAppVersion":"81.4044.62","installType":"prior","count":1,"appVersion":"1.0","externalVersionId":"834880718","baseVersion":1,"bundleVersion":"81.0.4044.62","eventTime":1587056418078,"clientEventId":"B3EACE7E-1365-4AFB-A122-7F73CA4F2CDC","usageClientId":"2FA34705-E837-401A-8875-B317446875B3","timezoneOffset":300,"app":"com.apple.appstored","rangeStartTime":1587013436},{"osVersion":"13.3.1","rangeEndTime":1587056418,"eventVersion":1,"eventType":"installs","itemId":"930565184","topic":"xp_amp_app_usage_dnu","bundleId":"me.see-saw.classroom","shortAppVersion":"7.2.6","installType":"prior","count":1,"appVersion":"1.0","externalVersionId":"835233208","baseVersion":1,"bundleVersion":"20484","eventTime":1587056418078,"clientEventId":"B2802808-8FB7-43C4-933E-B2BAFD3289CF","usageClientId":"2FA34705-E837-401A-8875-B317446875B3","timezoneOffset":300,"app":"com.apple.appstored","rangeStartTime":1587013436},{"osVersion":"13.3.1","rangeEndTime":1587056418,"eventVersion":1,"eventType":"installs","itemId":"871767552","topic":"xp_amp_app_usage_dnu","bundleId":"com.unity3d.unityremote4","shortAppVersion":"2.0","installType":"prior","count":1,"appVersion":"1.0","externalVersionId":"825075163","baseVersion":1,"bundleVersion":"0","eventTime":1587056418078,"clientEventId":"F13E4968-0330-4CA0-846A-01D37D617FCF","usageClientId":"2FA34705-E837-401A-8875-B317446875B3","timezoneOffset":300,"app":"com.apple.appstored","rangeStartTime":1587013436},{"osVersion":"13.3.1","rangeEndTime":1587056418,"eventVersion":1,"eventType":"installs","itemId":"871767552","topic":"xp_amp_app_usage_dnu","bundleId":"com.unity3d.unityremote4","shortAppVersion":"2.0","installType":"redownload","count":1,"appVersion":"1.0","externalVersionId":"825075163","baseVersion":1,"bundleVersion":"0","eventTime":1587056418079,"clientEventId":"62E6188F-B3B5-43B5-98EF-4463D0179C64","usageClientId":"2FA34705-E837-401A-8875-B317446875B3","timezoneOffset":300,"app":"com.apple.appstored","rangeStartTime":1587013436},{"osVersion":"13.3.1","rangeEndTime":1587056418,"eventVersion":1,"eventType":"launches","foregroundDuration":1322,"topic":"xp_amp_app_usage_dnu","bundleId":"com.unity3d.unityremote4","shortAppVersion":"2.0","itemId":"871767552","count":2,"appVersion":"1.0","externalVersionId":"825075163","baseVersion":1,"bundleVersion":"0","eventTime":1587056418095,"clientEventId":"EBD6FE06-EE0A-4CD4-AC8F-0E275B94EC59","usageClientId":"2FA34705-E837-401A-8875-B317446875B3","timezoneOffset":300,"app":"com.apple.appstored","rangeStartTime":1587013436},{"eventVersion":1,"externalVersionId":"825075163","bundleId":"com.unity3d.unityremote4","eventType":"uninstalls","count":2,"timezoneOffset":300,"baseVersion":1,"osVersion":"13.3.1","shortAppVersion":"2.0","clientEventId":"742499AA-C773-4288-84A8-48F9DA2A8F06","bundleVersion":"0","topic":"xp_amp_app_usage_dnu","eventTime":1587056418096,"app":"com.apple.appstored","rangeEndTime":1587056418,"rangeStartTime":1587013436,"appVersion":"1.0","usageClientId":"2FA34705-E837-401A-8875-B317446875B3","itemId":"871767552"}]

    Regards Carl