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.

iOS crash

Discussion in 'iOS and tvOS' started by rasmusnielsen, Feb 7, 2020.

  1. rasmusnielsen

    rasmusnielsen

    Joined:
    Feb 7, 2020
    Posts:
    11
    Hi, I'm trying to compile my app for iOS. But i'm getting the following "error". Can anybody help me identify what is actually means? Thanks so much.

    Code (CSharp):
    1. 2020-02-07 17:21:52.063620+0100 Tongue[27670:2255242] Error loading /var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework:  dlopen(/var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework, 265): no suitable image found.  Did find:
    2.     /var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework'
    3.  
    4.     /var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework: stat() failed with errno=3
    5.     /private/var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/private/var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework'
    6. 2020-02-07 17:21:52.105822+0100 Tongue[27670:2255242] Error loading /var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework:  dlopen(/var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework, 265): no suitable image found.  Did find:
    7.     /var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework'
    8.  
    9.     /private/var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework: code signature invalid for '/private/var/containers/Bundle/Application/0BAA18F3-2863-4669-8D52-4B7174080FC3/Tongue.app/Frameworks/UnityFramework.framework/UnityFramework'
    10.  
     
    MatsuuraAkase likes this.
  2. scrant

    scrant

    Joined:
    Jun 1, 2017
    Posts:
    60
    Me too! A bunch of people on other forums are having the same issue. Apparently Apple broke personal dev accounts with 13.3.1 and using frameworks:

    "Are you using a non-developer Apple ID to install the app to your phone? It looks like iOS 13.3.1 has broken apps installed with free Apple IDs, but only if they contain embedded frameworks."

    I'm assuming this requires a fix from Apple but hoping someone from Unity can chime in here. Dead in the water!
     
    jsteinerman likes this.
  3. ocarinasurge

    ocarinasurge

    Joined:
    May 12, 2016
    Posts:
    1
    Can confirm, I've had this issue with iOS 13, Unity 2019, and Xcode 11 for a month or two. Just switched from a free personal dev account to a paid one, and magically all my builds are no longer crashing on launch.
     
  4. Matffin

    Matffin

    Joined:
    Oct 9, 2015
    Posts:
    1
    For anyone with the non-free developer account and the same error:
    I just experienced the error even though I used my enrolled apple developer account. Unchecking auto-signing in XCode and creating/downloading a provisioning profile from the apple developer portal fixed it.
    I am using Unity 2019.3f6, XCode 11.3 and can build on an iPad running iOS 13.3.1.
     
    aka3eka, leisztom and Auvine like this.
  5. rasmusnielsen

    rasmusnielsen

    Joined:
    Feb 7, 2020
    Posts:
    11
    Thanks for the answers everybody!
     
  6. alarm656

    alarm656

    Joined:
    Jul 6, 2013
    Posts:
    111
    But how I'm running my Xcode swift 5 app on my iPhone with my free Apple ID account? 2 month ago I pass basic Xcode swift course and I made 2 simple demo apps. I'm can still install and launch them on my iPhone with my free account without enrolling dev account
     
  7. HWDKoblenz

    HWDKoblenz

    Joined:
    Apr 3, 2017
    Posts:
    19
    I have the same problem, but I have no problem to run the app on my iPhone. I only get this error if I want to run it on my iPad o_O. Is there is limitation for devices with a personal apple account?
     
  8. HWDKoblenz

    HWDKoblenz

    Joined:
    Apr 3, 2017
    Posts:
    19
    aojohnmu likes this.
  9. xuweijie97

    xuweijie97

    Joined:
    Aug 25, 2019
    Posts:
    1
    I solve the problem by downgrade Unity from 2019.3 to 2019.2
     
    Zhell-13 and pauloguerraf like this.
  10. HWDKoblenz

    HWDKoblenz

    Joined:
    Apr 3, 2017
    Posts:
    19
    Yes you can do that, but if you are using the new URP Rendering than 2019.2 is no solution :-(.
     
  11. HWDKoblenz

    HWDKoblenz

    Joined:
    Apr 3, 2017
    Posts:
    19
    Good news for you. A new workaround is to install the new iOS 13.4 public beta 3 to your test device. I already tried it with unity and it works fine now! You can also wait until to the full release of iOS 13.4
     
  12. alarm656

    alarm656

    Joined:
    Jul 6, 2013
    Posts:
    111
    I'm still using iOS 10.2
     
  13. AthosK

    AthosK

    Joined:
    Jan 20, 2013
    Posts:
    428
    I'm facing the same problem, even with iOS 13.4 public beta 3 it still happens.
     
  14. FranFndz

    FranFndz

    Joined:
    Sep 20, 2018
    Posts:
    178
    same problem....
     
  15. junior330

    junior330

    Joined:
    Jan 15, 2020
    Posts:
    5
    rasmusnielsen, I've been facing the same issues, but in my situation it was all about malware I've got infected on the web, after opening unknown files. Malware called AKAMAIHD can make you annoyed, and it redirects all your web-browsing websites to it’s specific URL. I’ve read some useful tips ( here: https://macsecurity.net/view/51-rvzr-aakamaihdnet-popup-virus-removal-for-mac ), how to remove it completely, and those issues have gone as well...
     
    Last edited: Aug 6, 2020
  16. FranFndz

    FranFndz

    Joined:
    Sep 20, 2018
    Posts:
    178
    im still testing with no luck
     
  17. syntheticcfm

    syntheticcfm

    Joined:
    Jun 6, 2016
    Posts:
    1
    I signed up for an account just to say it's been a bit crushing to not be able to test my game on my phone. Touch controls and mouse controls are so different.

    Tried downgrading but then I'd have to reimport all my assets (it seemed)

    To hear it happens with the next beta is disheartening. Will I have to buy my way out of this one?

    Might be cheaper to just export to android and get an old cheap phone to test on...
     
  18. sasakenken

    sasakenken

    Joined:
    Feb 17, 2020
    Posts:
    1
    I had the same problem for a month, but it was resolved last night. Some parts may be difficult to read due to automatic translation, but please forgive me.

    1. I purchased a paid AppleID and tested it on my iphone.
    → Failure (A paid ID did not solve the problem.)

    2. I upgraded the Unity version to "2019.3.5f1" and tested it on my iPhone.
    → Failure (new Unity did not solve)

    3. I created an entirely new simple project and tested it on my iPhone instead of an existing project that didn't launch properly.
    → Success.I've confirmed that if it's a new project, it will launch without problems.

    Comparing the settings of a failed project with a successful new project, I decided to change different settings.

    4. I opened "Project Setting" from "Build Setting" of Unity, changed the following settings, and tested it on my iphone.
    • iOS settings-icon-Application-icons-iPhone icons Changed to "None" (because I specified the icon image as my own image)

    • Splash image-animation Switched from "Static" to "Dolly".
    → Success! It is not forcibly terminated at startup. (However, the displayed screen has a problem of purple color, but it is different from this case, so it will not be mentioned here)

    After that, I reset the icon image and splash image settings, but the problem did not recur and started correctly. My personal belief is that the icon image path needed to be reset.

    I hope it helps people in need
     
  19. corveniaflint

    corveniaflint

    Joined:
    Mar 27, 2014
    Posts:
    3
    My settings are already set to that and it still never worked.

     
  20. FranFndz

    FranFndz

    Joined:
    Sep 20, 2018
    Posts:
    178
    yup, even with clean new projects wont work. have tested in 4 macs already.
     
    jemca likes this.
  21. takoji3

    takoji3

    Joined:
    May 10, 2017
    Posts:
    1
    Today I faced same problem (iOS13.3.1, unity2019.3.4f1, apple free developer account and `no suitable image found` error). But in my case, I downgraded unity to 2018.4.19f1 then it worked :)
     
  22. jemca

    jemca

    Joined:
    May 7, 2019
    Posts:
    5
    This works, but people might need 2019-2020 features.
     
  23. jcfalcone89

    jcfalcone89

    Joined:
    Jun 17, 2015
    Posts:
    11
    Unity should say something about it. The only official post that I found was saying that it's a Apple bug
     
    yyylny likes this.
  24. iurii-pavliuk-fce

    iurii-pavliuk-fce

    Joined:
    Dec 16, 2019
    Posts:
    1
    It is a bit confusing, but:
    1) Unity 2019.2.x works just fine
    2) Unity 2019.3.x (specifically 2019.3.6) does not work with a free Apple Dev account but works with Enterprise account. Presumably also works with paid accounts.
     
  25. MineyukiIwasaki

    MineyukiIwasaki

    Joined:
    Mar 12, 2017
    Posts:
    2
    It works on Unity 2019.3.6f1/iOS 13.4/Xcode 11.4 with free Apple dev account. Let's update!
     
  26. Zhell-13

    Zhell-13

    Joined:
    Mar 6, 2020
    Posts:
    1
    I CAN GUARANTEE THIS WORKS. BTW I LOVE YOU, YOU HAVE NO IDEA HOW MUCH STRESS I WENT UNDER BECAUSE OF THIS UNTIL I TRIED YOUR SUGGESTION
     
  27. Saicopate

    Saicopate

    Joined:
    Sep 25, 2017
    Posts:
    76
    Can anyone confirm that upgrading to iOS 13.4 solves this issue?
     
  28. thegladscientist

    thegladscientist

    Joined:
    Jun 11, 2017
    Posts:
    3
    Can confirm this works, also works with latest 2019.3.7f as well, and is safe to upgrade example GitHub projects from Unity to this version without breaking them. :)
     
    Saicopate likes this.
  29. JonathanBartel

    JonathanBartel

    Joined:
    Jun 24, 2019
    Posts:
    32
    I can also confirm that Unity 2019.3.6f1/iOS 13.4/Xcode 11.4 works for me with a free account, too.
     
    Saicopate likes this.
  30. Hobbeslionheart

    Hobbeslionheart

    Joined:
    Sep 19, 2019
    Posts:
    5
    Built on Unity 2019.3.7f1 / iOS 13.3.4 / Xcode 11.4, didn't work. Upgrade my phone to13.4 overnight and the app worked when I woke up. Didn't even need to rebuild.
     
  31. FranFndz

    FranFndz

    Joined:
    Sep 20, 2018
    Posts:
    178
    sad i cant update my mbp, is company one
     
  32. jemca

    jemca

    Joined:
    May 7, 2019
    Posts:
    5
    IOS 13.4.1
    Unity 2019.3.8
    XCode11.4
    Working stable.
     
  33. joekadi

    joekadi

    Joined:
    Apr 13, 2020
    Posts:
    1
    Can confirm it now works with Unity v 2019.3.9f1 and iOS 13.4.1
     
  34. nmd2

    nmd2

    Joined:
    Mar 19, 2019
    Posts:
    13
    It's happening to me also. Here's what I've noticed (for me at least)

    Test 1
    - Install your cloud build to a device (iPhone iOS 13.3.1)
    - Run the app, notice it usually (but not 100%) crashes after 20 secs on start up (this is a launch daemon shutting it down)

    Test 2
    - Install your cloud build to a device (iPhone iOS 13.3.1)
    - Ensure your usb cable is plugged in and xcode (11.4) is running on the machine you were developing with. Note that the team ad hoc provision and cert will be installed to this machine.
    - Run the app (the cloud build, not the xcode version). No crash, works every time.

    I presume there is something in Xcode that is skipping over what ever is causing the crash?
     
    Dazo1985 likes this.
  35. nmd2

    nmd2

    Joined:
    Mar 19, 2019
    Posts:
    13
    Dazo1985 likes this.
  36. yurykorzun

    yurykorzun

    Joined:
    Oct 29, 2015
    Posts:
    41
  37. aka3eka

    aka3eka

    Joined:
    May 10, 2019
    Posts:
    32
    Same problem here. Unity 2019.3.9f1 + Xcode 11.3.1.
    Upgrading Unity to 2019.3.13f1 didn't help.
    Upgrading iOS to 13.4.1 on the test iPhone solved the problem. But now Xcode tells me that it can not launch the app automatically. Have to upgrade it to.
     
  38. Katsuya100

    Katsuya100

    Joined:
    Nov 6, 2017
    Posts:
    2
    I'm having trouble with the same issue.

    - Unity2019.4.0f1
    - Xcode11.3
    - iOS13.5.1

    I don't use the FIrebase SDK.
    It works fine on Unity 2019.2.11f1.

    If you compare the 2019.2 log with the 2019.4 log
    RunningBoardServices initialization does not appear to be running.
    Then it doesn't start for 20 seconds and crashes.

    Unity 2019.2.11f1.


    [2316] <Notice>: UnityIAP UnityEarlyTransactionObserver: Created
    [2316] <Notice>: UnityIAP UnityEarlyTransactionObserver: Registered for lifecycle events
    (RunningBoardServices)[2316] <Notice>: Initializing connection
    (RunningBoardServices)[2316] <Notice>: Removing all cached process handles
    (RunningBoardServices)[2316] <Notice>: Sending handshake request attempt #1 to server
    (RunningBoardServices)[2316] <Notice>: Creating connection to com.apple.runningboard


    Unity2019.4.0f1


    (UnityFramework)[2290] <Notice>: UnityIAP UnityEarlyTransactionObserver: Created
    (UnityFramework)[2290] <Notice>: UnityIAP UnityEarlyTransactionObserver: Registered for lifecycle events
     
  39. FranFndz

    FranFndz

    Joined:
    Sep 20, 2018
    Posts:
    178
    did u update, OSX and XCode?
     
  40. Katsuya100

    Katsuya100

    Joined:
    Nov 6, 2017
    Posts:
    2
    Yes.
    The version you are currently using is described below.

    OSX: 10.15.3
    Xcode: 11.3
     
  41. opareas

    opareas

    Joined:
    Apr 8, 2020
    Posts:
    1
    I have this problem for unity 19.4.0 and xcode 11.5. Can you confirm that you are facing the same problem ?
     
  42. alarm656

    alarm656

    Joined:
    Jul 6, 2013
    Posts:
    111

    not correct, Your simple project has worked ok, because there is no any sdk. Facebook SDK problem
     
unityunity