Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by dappledore · Apr 16, 2017 at 10:29 AM · iosbuild-errorstripping

ios stripping build errors

When building for iOS on mac using Unity 5..5.2f1 i get stripping errors below, if i set scripting backend to Mono2x the error goes away, ,any ideas what is the problem?

 Failed running /Applications/Unity/Unity.app/Contents/Tools/UnusedByteCodeStripper2/UnusedBytecodeStripper2.exe --api NET_2_0_Subset -out "/Users/da/Desktop/Unity/picnmix/Temp/StagingArea/Data/Managed/tempStrip" -l none -c link -b False -x "/Applications/Unity/PlaybackEngines/iOSSupport/Whitelists/Core.xml" -f "/Applications/Unity/Unity.app/Contents/il2cpp/LinkerDescriptors" -x "/Users/da/Desktop/Unity/picnmix/Temp/StagingArea/Data/Managed/../platform_native_link.xml" -x "/Users/da/Desktop/Unity/picnmix/Temp/StagingArea/Data/methods_pointedto_by_uievents.xml" -x "/Users/da/Desktop/Unity/picnmix/Temp/StagingArea/Data/preserved_derived_types.xml" -x "/Users/da/Desktop/Unity/picnmix/Assets/link.xml" -d "/Users/da/Desktop/Unity/picnmix/Temp/StagingArea/Data/Managed" -a  "/Users/da/Desktop/Unity/picnmix/Temp/StagingArea/Data/Managed/Assembly-CSharp-firstpass.dll" -a  "/Users/da/Desktop/Unity/picnmix/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll" -a  "/Users/da/Desktop/Unity/picnmix/Temp/StagingArea/Data/Managed/UnityEngine.UI.dll" -a  "/Users/da/Desktop/Unity/picnmix/Temp/StagingArea/Data/Managed/UnityEngine.Analytics.dll" -a  "/Users/da/Desktop/Unity/picnmix/Temp/StagingArea/Data/Managed/TextMeshPro.dll"
     
     stdout:
     Fatal error in Mono CIL Linker
     System.IO.FileNotFoundException: Could not find file "/Applications/Unity/PlaybackEngines/iOSSupport/Whitelists/Core.xml".
     File name: '/Applications/Unity/PlaybackEngines/iOSSupport/Whitelists/Core.xml'
       at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x105673120 + 0x007f0> in <filename unknown>:0 
       at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) <0x1056730b0 + 0x00055> in <filename unknown>:0 
       at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
       at System.Xml.XmlDownloadManager.GetStream (System.Uri uri, ICredentials credentials, IWebProxy proxy, System.Net.Cache.RequestCachePolicy cachePolicy) <0x105672830 + 0x000b9> in <filename unknown>:0 
       at System.Xml.XmlUrlResolver.GetEntity (System.Uri absoluteUri, System.String role, System.Type ofObjectToReturn) <0x1056725f0 + 0x00095> in <filename unknown>:0 
       at System.Xml.XmlTextReaderImpl.OpenUrlDelegate (System.Object xmlResolver) <0x105672420 + 0x00068> in <filename unknown>:0 
       at System.Xml.XmlTextReaderImpl.OpenUrl () <0x1056720e0 + 0x00139> in <filename unknown>:0 
     stderr:
     
     UnityEngine.Debug:LogError(Object)
     UnityEditorInternal.Runner:RunManagedProgram(String, String, String, CompilerOutputParserBase, Action`1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:96)
     UnityEditorInternal.AssemblyStripper:RunAssemblyLinker(IEnumerable`1, String&, String&, String, String) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:104)
     UnityEditorInternal.AssemblyStripper:StripAssembliesTo(String[], String[], String, String, String&, String&, String, IIl2CppPlatformProvider, IEnumerable`1) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:97)
     UnityEditorInternal.AssemblyStripper:RunAssemblyStripper(String, IEnumerable, String, String[], String[], String, IIl2CppPlatformProvider, RuntimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:196)
     UnityEditorInternal.AssemblyStripper:StripAssemblies(String, IIl2CppPlatformProvider, RuntimeClassRegistry) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/AssemblyStripper.cs:128)
     UnityEditorInternal.IL2CPPBuilder:Run() (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:123)
     UnityEditorInternal.IL2CPPUtils:RunIl2Cpp(String, String, IIl2CppPlatformProvider, Action`1, RuntimeClassRegistry, Boolean) (at /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:32)
     UnityEditor.HostView:OnGUI()








Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dappledore · Apr 17, 2017 at 07:52 AM 0
Share

I think this is key :

  System.IO.FileNotFoundException: Could not find file "/Applications/Unity/PlaybackEngines/iOSSupport/Whitelists/Core.xml".

but why would this file be missing?

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

86 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

[Unity 2017.3 + Vuforia 7] - Could not find "VuforiaPluginLoader.mm" 1 Answer

Unity iOS build error 0 Answers

System.NotSupportedException: SafeArray element type Int64 is not supported. Unity Mobile Notifications 0 Answers

The name 'Joystick' does not denote a valid type ('not found') 2 Answers

Sqlite db error build iphone4 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges