Hi folks,
I could really need some help here, as I am not very good in “building” things.
First, I have build it successfully on my Mac(Catalina), and MBP (Monteray) as well both compiled on each,
but when I want to build for iOS, it puts the error further below (end of post). From that, I see that it couldn’t create [quote]
Assembly-CSharp-FeaturesChecked.txt
[/quote] file. It’s on local hardware on each machine (I saw somebody had an issue with that).
I have a simple program to get the GPS data as seen in the youtube video here:
The only difference is, that I use the new UI Toolkit and version [quote]
2022.1.19f1
[/quote] (latest) had it in 17f1 as well.
When I compile without the GPS code, the build works, just adding the GPS code, breaks it.
For any hint I would be really grateful. Thank you in advance.
Slarti
Failed because this command failed to write the following output files:
Library/Bee/artifacts/iOS/Features/Assembly-CSharp-FeaturesChecked.txt
UnityEditor.GenericMenu:CatchMenu (object,string[ ],int) (at /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:127)
: Incremental Player build failed!
UnityEditor.Modules.BeeBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/buildslave/unity/build/Editor/Mono/Modules/BeeBuildPostprocessor.cs:634)
UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/iOSBuildPostprocessor.cs:508)
Rethrow as BuildFailedException: Exception of type ‘UnityEditor.Build.BuildFailedException’ was thrown.
UnityEditor.iOS.iOSBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at /Users/bokken/buildslave/unity/build/PlatformDependent/iPhonePlayer/Extensions/Common/iOSBuildPostprocessor.cs:515)
UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at /Users/bokken/buildslave/unity/build/Editor/Mono/Modules/DefaultBuildPostprocessor.cs:28)
UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.Int32 subtarget, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:370)
UnityEditor.GenericMenu:CatchMenu(Object, String[ ], Int32) (at /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:127)
Build completed with a result of ‘Failed’ in 36 seconds (36246 ms)
UnityEditor.GenericMenu:CatchMenu (object,string[ ],int) (at /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:127)
.BuildPlayerWindow+BuildMethodException: 3 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ce] in /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:193
at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in /Users/bokken/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:94
UnityEditor.GenericMenu:CatchMenu (object,string[ ],int) (at /Users/bokken/buildslave/unity/build/Editor/Mono/GUI/GenericMenu.cs:127)
Well, after I have posted, I found on another Forum the answer:
You need to provide a text in the project setting.
Go into project settings, search for location and scroll down. It will be highlighted.
I filled in and bingo it worked.
We live to learn!
Have a good day,
Slarti