Search Unity

Can't launch the Unity editor with error that "native extension for ios target not found".

Discussion in 'Editor & General Support' started by edo_m18, Oct 18, 2019.

  1. edo_m18

    edo_m18

    Joined:
    Nov 17, 2014
    Posts:
    12
    I can't launch the Unity editor with error that is the title. I'm wondering because I could launch the Unity editor this morning. But now, the editor has been freezing with playing a scene.

    I checked the log on Editor.log that shows an error like the title "native extension for ios target not found".

    Then, I force quit the editor. After that the editor has never launched.

    I'm guessing this issue are below.

    1. I have updated the MacOS to Catalina.
    2. The problem is occurred by MacOS security restriction.

    I have tryed several ways to resolve.

    1. I removed a folder that `~/Library/Unity/`.
    2. I reinstalled the editor several times.
    3. I rebooted the OS.

    I've noticed several things below.

    1. I renamed a dll file that `UnityEditor.iOS.Extensions.dll`
    2. So the editor can't load the file.
    3. But the editor could launch without iOS support. (Of cause the editor will occur errors that iOS namespace is not found.)

    I attached the log.

    Code (CSharp):
    1. Initiating legacy licensing module
    2. [Package Manager] Server::Start -- Port 57680 was selected
    3. Launching external process: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/Server/UnityPackageManager
    4.  
    5. COMMAND LINE ARGUMENTS:
    6. /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/MacOS/Unity
    7. -projectpath
    8. /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge
    9. -useHub
    10. -hubIPC
    11. -cloudEnvironment
    12. production
    13. -buildTarget
    14. iOS
    15. -hubSessionId
    16. 386603a0-f0b4-11e9-b515-e92b072bf2ae
    17.  
    18. LICENSE SYSTEM [20191017 17:3:12] Next license update check is after 2019-10-18T07:36:42
    19.  
    20. Successfully changed project path to: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge
    21. /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge
    22. Using Asset Import Pipeline V1.
    23. Loading GUID <-> Path mappings...0.000070 seconds
    24. Loading Asset Database...0.107203 seconds
    25. AssetDatabase consistency checks...0.590186 seconds
    26. [Package Manager] Done resolving packages in 0.60s seconds
    27. [Package Manager]
    28. Registered 55 packages:
    29.   Packages from [https://packages.unity.com]:
    30.     com.unity.ads@2.0.8 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.ads@2.0.8)
    31.     com.unity.analytics@3.3.2 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.analytics@3.3.2)
    32.     com.unity.collab-proxy@1.2.16 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.collab-proxy@1.2.16)
    33.     com.unity.ext.nunit@1.0.0 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.ext.nunit@1.0.0)
    34.     com.unity.ide.rider@1.1.0 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.ide.rider@1.1.0)
    35.     com.unity.ide.vscode@1.1.2 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.ide.vscode@1.1.2)
    36.     com.unity.multiplayer-hlapi@1.0.4 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.multiplayer-hlapi@1.0.4)
    37.     com.unity.purchasing@2.0.6 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.purchasing@2.0.6)
    38.     com.unity.test-framework@1.0.18 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.test-framework@1.0.18)
    39.     com.unity.textmeshpro@2.0.1 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.textmeshpro@2.0.1)
    40.     com.unity.xr.arcore@3.0.0-preview.2 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.xr.arcore@3.0.0-preview.2)
    41.     com.unity.xr.arfoundation@3.0.0-preview.2 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.xr.arfoundation@3.0.0-preview.2)
    42.     com.unity.xr.arkit@3.0.0-preview.2 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.xr.arkit@3.0.0-preview.2)
    43.     com.unity.xr.arkit-face-tracking@3.0.0-preview.2 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.xr.arkit-face-tracking@3.0.0-preview.2)
    44.     com.unity.xr.legacyinputhelpers@2.0.6 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.xr.legacyinputhelpers@2.0.6)
    45.     nuget.mono-cecil@0.1.5-preview (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/nuget.mono-cecil@0.1.5-preview)
    46.     com.unity.xr.arsubsystems@3.0.0-preview.2 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.xr.arsubsystems@3.0.0-preview.2)
    47.     com.unity.xr.management@3.0.2-preview.2 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.xr.management@3.0.2-preview.2)
    48.     com.unity.subsystemregistration@1.0.5 (location: /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.subsystemregistration@1.0.5)
    49.   Built-in packages:
    50.     com.unity.2d.sprite@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.2d.sprite)
    51.     com.unity.2d.tilemap@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.2d.tilemap)
    52.     com.unity.package-manager-ui@2.2.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.package-manager-ui)
    53.     com.unity.timeline@1.1.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.timeline)
    54.     com.unity.ugui@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.ugui)
    55.     com.unity.modules.ai@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.ai)
    56.     com.unity.modules.androidjni@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.androidjni)
    57.     com.unity.modules.animation@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.animation)
    58.     com.unity.modules.assetbundle@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.assetbundle)
    59.     com.unity.modules.audio@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.audio)
    60.     com.unity.modules.cloth@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.cloth)
    61.     com.unity.modules.director@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.director)
    62.     com.unity.modules.imageconversion@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.imageconversion)
    63.     com.unity.modules.imgui@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.imgui)
    64.     com.unity.modules.jsonserialize@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.jsonserialize)
    65.     com.unity.modules.particlesystem@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.particlesystem)
    66.     com.unity.modules.physics@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics)
    67.     com.unity.modules.physics2d@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.physics2d)
    68.     com.unity.modules.screencapture@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.screencapture)
    69.     com.unity.modules.terrain@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrain)
    70.     com.unity.modules.terrainphysics@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.terrainphysics)
    71.     com.unity.modules.tilemap@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.tilemap)
    72.     com.unity.modules.ui@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.ui)
    73.     com.unity.modules.uielements@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.uielements)
    74.     com.unity.modules.umbra@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.umbra)
    75.     com.unity.modules.unityanalytics@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unityanalytics)
    76.     com.unity.modules.unitywebrequest@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequest)
    77.     com.unity.modules.unitywebrequestassetbundle@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestassetbundle)
    78.     com.unity.modules.unitywebrequestaudio@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestaudio)
    79.     com.unity.modules.unitywebrequesttexture@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequesttexture)
    80.     com.unity.modules.unitywebrequestwww@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.unitywebrequestwww)
    81.     com.unity.modules.vehicles@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.vehicles)
    82.     com.unity.modules.video@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.video)
    83.     com.unity.modules.vr@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.vr)
    84.     com.unity.modules.wind@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.wind)
    85.     com.unity.modules.xr@1.0.0 (location: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/PackageManager/BuiltInPackages/com.unity.modules.xr)
    86.  
    87. [XR] No new subsystems found in resolved package list.
    88. [Package Manager] Done registering packages in 0.03s seconds
    89. Targeting platform: iOS
    90. Refreshing native plugins compatible for Editor in 71.24 ms, found 6 plugins.
    91. Preloading 0 native plugins for Editor in 0.00 ms.
    92. IsTimeToCheckForNewEditor: Update time 1571299758 current 1571299394
    93. Initialize engine version: 2019.2.3f1 (8e55c27a4621)
    94. [XR] Discovering subsystems at path /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Resources/UnitySubsystems
    95. [XR] Discovering subsystems at path /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Assets
    96. GfxDevice: creating device client; threaded=1
    97. Initializing Metal device caps: Intel(R) Iris(TM) Plus Graphics 640
    98. [EnlightenBakeManager] m_Clear = false;
    99. Initialize mono
    100. Mono path[0] = '/Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/Managed'
    101. Mono path[1] = '/Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/MonoBleedingEdge/lib/mono/unityjit'
    102. Mono config path = '/Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/MonoBleedingEdge/etc'
    103. Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=127.0.0.1:56223
    104. Begin MonoManager ReloadAssembly
    105. Registering precompiled unity dll's ...
    106. Register platform support module: /Applications/Unity/Hub/Editor/2019.2.3f1/Unity.app/Contents/PlaybackEngines/MacStandaloneSupport/UnityEditor.OSXStandalone.Extensions.dll
    107. Register platform support module: /Applications/Unity/Hub/Editor/2019.2.3f1/PlaybackEngines/iOSSupport/UnityEditor.iOS.Extensions.dll
    108. Registered in 0.002030 seconds.
    109. [usbmuxd] Start listen thread
    110. [usbmuxd] Listen thread started
    111. [usbmuxd] Send listen message
    112. Native extension for iOS target not found
    113. Native extension for OSXStandalone target not found
    114. Refreshing native plugins compatible for Editor in 84.01 ms, found 6 plugins.
    115. Preloading 0 native plugins for Editor in 0.00 ms.
    116. Mono: successfully reloaded assembly
    117. - Completed reload, in 427.361 seconds
    118. Registering precompiled user dll's ...
    119. Registered in 0.553893 seconds.
    120. Platform modules already initialized, skipping
    121. Begin MonoManager ReloadAssembly
    122. Symbol file LoadedFromMemory doesn't match image /Users/kazuyahiruma/MyDesktop/UnityProjects/hoge/Library/PackageCache/com.unity.ext.nunit@1.0.0/net35/unity-custom/nunit.framework.dll
    123. Native extension for iOS target not found
    My envaironment.

    - MacOS Catalina (10.15)
    - Unity2019.2.3f1 / Unity2019.2.4f1

    How to fix the problem? I'm wondering these things. (I could launch the editor this morning, why?)

    Does anyone know a reason these problems?

    Please help me...
     
    Matt-Cranktrain likes this.
  2. Matt-Cranktrain

    Matt-Cranktrain

    Joined:
    Sep 10, 2013
    Posts:
    129
    I am having exactly the same problem! Windows 7 64-bit, with the latest Beta version (2019.3.0b8).

    Same complaint from nunit.framework.dll:

    Code (CSharp):
    1. Begin MonoManager ReloadAssembly
    2. Symbol file LoadedFromMemory doesn't match image D:\TheEldritchZookeeper\The Eldritch Zookeeper\Library\PackageCache\com.unity.ext.nunit@1.0.0\net35\unity-custom\nunit.framework.dll
    3. * Assertion at ..\mono\metadata\class.c:2056, condition `image_is_dynamic (klass->image) || field_offsets [i] > 0' not met
     
  3. viesc123

    viesc123

    Joined:
    Dec 17, 2016
    Posts:
    12
    Had the same "Native extension for iOS target not found" problem for Unity 2020.1.15 on MacOS Big Sur. I couldn't open any project on my computer with this version - the Open Project progress bar would just freeze and not continue a short way through. Other Unity versions still worked though. Uninstalling and reinstalling the problematic Unity version solved the problem for me.