Search Unity

  1. We are migrating the Unity Forums to Unity Discussions by the end of July. Read our announcement for more information and let us know if you have any questions.
    Dismiss Notice
  2. Dismiss Notice

Can't build iOS on 2019.2.0b Windows

Discussion in '2019.2 Beta' started by Abruzzi, May 30, 2019.

  1. Abruzzi

    Abruzzi

    Joined:
    Feb 6, 2015
    Posts:
    44
    Hello, I'm trying to build iOS version on Unity 2019.2.0b4 or b3 on Windows. and on "building resources folder" stage there is error.

    Code (CSharp):
    1. JSONTypeException: Tried to read non-dictionary json value as dictionary
    2. UnityEditorInternal.JSONValue.AsDict (System.Boolean nothrow) (at C:/buildslave/unity/build/Editor/Mono/AssetStore/Json.cs:130)
    3. UnityEditorInternal.JSONValue.AsDict () (at C:/buildslave/unity/build/Editor/Mono/AssetStore/Json.cs:136)
    4. UnityEditorInternal.JSONValue.get_Item (System.String index) (at C:/buildslave/unity/build/Editor/Mono/AssetStore/Json.cs:173)
    5. UnityEditor.iOS.XcodeFrameworks.LoadFromJson (System.String jsonPath) (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/FrameworkListProperty.cs:47)
    6. UnityEditor.iOS.XcodeFrameworks..ctor (System.String jsonPath) (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/FrameworkListProperty.cs:58)
    7. UnityEditor.iOS.FrameworkListProperty.CreateFromJson (UnityEditor.BuildTarget target, System.String platformName) (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/FrameworkListProperty.cs:212)
    8. UnityEditor.iOS.iOSPluginImporterExtension..cctor () (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Managed/iOSPluginImporterExtension.cs:16)
    9. Rethrow as TypeInitializationException: The type initializer for 'UnityEditor.iOS.iOSPluginImporterExtension' threw an exception.
    10. UnityEditor.iOS.TargetExtension.CreatePluginImporterExtension () (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Managed/ExtensionModule.cs:147)
    11. UnityEditor.Modules.ModuleManager.GetPluginImporterExtension (System.String target) (at C:/buildslave/unity/build/Editor/Mono/Modules/ModuleManager.cs:569)
    12. UnityEditor.Modules.ModuleManager.GetPluginImporterExtension (UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/Modules/ModuleManager.cs:577)
    13. UnityEditorInternal.PluginsHelper.CheckFileCollisions (UnityEditor.BuildTarget buildTarget) (at C:/buildslave/unity/build/Editor/Mono/Plugins/PluginsHelper.cs:15)
    14. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    Code (CSharp):
    1. JSONTypeException: Tried to read non-dictionary json value as dictionary
    2. UnityEditorInternal.JSONValue.AsDict (System.Boolean nothrow) (at C:/buildslave/unity/build/Editor/Mono/AssetStore/Json.cs:130)
    3. UnityEditorInternal.JSONValue.AsDict () (at C:/buildslave/unity/build/Editor/Mono/AssetStore/Json.cs:136)
    4. UnityEditorInternal.JSONValue.get_Item (System.String index) (at C:/buildslave/unity/build/Editor/Mono/AssetStore/Json.cs:173)
    5. UnityEditor.iOS.XcodeFrameworks.LoadFromJson (System.String jsonPath) (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/FrameworkListProperty.cs:47)
    6. UnityEditor.iOS.XcodeFrameworks..ctor (System.String jsonPath) (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/FrameworkListProperty.cs:58)
    7. UnityEditor.iOS.FrameworkListProperty.CreateFromJson (UnityEditor.BuildTarget target, System.String platformName) (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/FrameworkListProperty.cs:212)
    8. UnityEditor.iOS.iOSPluginImporterExtension..cctor () (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Managed/iOSPluginImporterExtension.cs:16)
    9. Rethrow as TypeInitializationException: The type initializer for 'UnityEditor.iOS.iOSPluginImporterExtension' threw an exception.
    10. UnityEditor.iOS.TargetExtension.CreatePluginImporterExtension () (at C:/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Managed/ExtensionModule.cs:147)
    11. UnityEditor.Modules.ModuleManager.GetPluginImporterExtension (System.String target) (at C:/buildslave/unity/build/Editor/Mono/Modules/ModuleManager.cs:569)
    12. UnityEditor.PluginImporter.GetImporters (System.String platformName) (at C:/buildslave/unity/build/Modules/AssetPipelineEditor/Public/PluginImporter.bindings.cs:41)
    13. UnityEditor.PluginImporter.GetImporters (UnityEditor.BuildTarget platform) (at C:/buildslave/unity/build/Modules/AssetPipelineEditor/Public/PluginImporter.bindings.cs:89)
    14. UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1[T] alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2[TKey,TValue] cache, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:123)
    15. UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:194)
    16. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
     
  2. PavelLU

    PavelLU

    Unity Technologies

    Joined:
    Feb 23, 2017
    Posts:
    107