iOS Build Environment Help Center

Build Error

append delete Samsss

Windows vesion: 11
Builder version: 3.54
iOS SDK version: 16.2

I finished setting up the program and built it, but an error occurred and the build could not be completed. I read the documents related to iOS Project Builder for Unity and tried all the contents written in 15. Troubleshooting, but they are not solved. Please tell me how to solve this problem.

Reply RSS

Replies

append delete #1. Pierre-Marie Baty

By providing a description of the problem and a link to the build log as requested in the forum headline, for starters, maybe ?

append delete #2. aaa

An error occurs when the Build button is pressed in the Project Builder for Unity program after setting. I can't attach the picture, so I'll write the error code below. What should I do when the following error occurs?

ldid: fatal: recursive signature failed on C:/Users/(folder name)/build/Release-iphoneos/iPhone-target/bodytracking.app/Frameworks/UnityFramework.framework/UnityFramework
Press any key...

append delete #3. Pierre-Marie Baty

Please provide the *full* build log. It is saved in a file called build.log in your Xcode project directory.

append delete #4. Samdd

Unity-iPhone.xcscheme

<?xml version="1.0" encoding="utf-8"?>
<Scheme LastUpgradeVersion="0500" version="2.0">
<BuildAction parallelizeBuildables="YES" buildImplicitDependencies="YES">
<BuildActionEntries>
<BuildActionEntry buildForTesting="YES" buildForRunning="YES" buildForProfiling="YES" buildForArchiving="YES" buildForAnalyzing="YES">
<BuildableReference BuildableIdentifier="primary" BlueprintIdentifier="1D6058900D05DD3D006BFB54" BuildableName="Unity-Target-New.app" BlueprintName="Unity-iPhone" ReferencedContainer="container:Unity-iPhone.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction buildConfiguration="Debug" selectedDebuggerIdentifier="Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier="Xcode.DebuggerFoundation.Launcher.LLDB" shouldUseLaunchSchemeArgsEnv="NO">
<Testables>
<TestableReference skipped="NO">
<BuildableReference BuildableIdentifier="primary" BlueprintIdentifier="5623C57217FDCB0800090B9E" BuildableName="Unity-iPhone Tests.xctest" BlueprintName="Unity-iPhone Tests" ReferencedContainer="container:Unity-iPhone.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference BuildableIdentifier="primary" BlueprintIdentifier="1D6058900D05DD3D006BFB54" BuildableName="Unity-Target-New.app" BlueprintName="Unity-iPhone" ReferencedContainer="container:Unity-iPhone.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction buildConfiguration="ReleaseForRunning" selectedDebuggerIdentifier="Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier="Xcode.DebuggerFoundation.Launcher.LLDB" launchStyle="0" useCustomWorkingDirectory="NO" ignoresPersistentStateOnLaunch="NO" debugDocumentVersioning="YES" debugXPCServices="NO" debugServiceExtension="internal" enableGPUFrameCaptureMode="3" enableGPUValidationMode="1" allowLocationSimulation="YES" queueDebuggingEnabled="No" GPUProfilerEnabled="No">
<BuildableProductRunnable runnableDebuggingMode="0">
<BuildableReference BuildableIdentifier="primary" BlueprintIdentifier="1D6058900D05DD3D006BFB54" BuildableName="Unity-Target-New.app" BlueprintName="Unity-iPhone" ReferencedContainer="container:Unity-iPhone.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction buildConfiguration="ReleaseForProfiling" shouldUseLaunchSchemeArgsEnv="YES" savedToolIdentifier="" useCustomWorkingDirectory="NO" debugDocumentVersioning="YES">
<BuildableProductRunnable runnableDebuggingMode="0">
<BuildableReference BuildableIdentifier="primary" BlueprintIdentifier="1D6058900D05DD3D006BFB54" BuildableName="Unity-Target-New.app" BlueprintName="Unity-iPhone" ReferencedContainer="container:Unity-iPhone.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
<AnalyzeAction buildConfiguration="Debug">
</AnalyzeAction>
<ArchiveAction buildConfiguration="Release" revealArchiveInOrganizer="YES">
</ArchiveAction>
</Scheme>

append delete #5. d

Building the dependency project UnityFramework...
+ Preparing output directory...
+ XCFrameworks: 0 supplied
+ Libraries: 3 supplied, 1 built
+ Frameworks: 0 supplied, 0 built
+ Pre-parsing project files...
+ Building UnityFramework for iphoneos (configuration: Release)
+ [arm64] ./Classes/Unity/UnityWebRequest.mm.obj is up to date
+ [arm64] ./Libraries/Il2CppOptions.cpp.obj is up to date
+ [arm64] ./Classes/Unity/CMVideoSampling.mm.obj is up to date
+ [arm64] ./Classes/UI/UnityView+iOS.mm.obj is up to date
+ [arm64] ./Classes/UI/SplashScreen.mm.obj is up to date
+ [arm64] ./Classes/PluginBase/AppDelegateListener.mm.obj is up to date
+ [arm64] ./Classes/UI/UnityViewControllerBase+tvOS.mm.obj is up to date
+ [arm64] ./Classes/UI/UnityView+Keyboard.mm.obj is up to date
+ [arm64] ./Classes/Unity/UnityReplayKit.mm.obj is up to date
+ [arm64] ./Classes/UI/UnityView+tvOS.mm.obj is up to date
+ [arm64] ./Classes/UI/UnityViewControllerBase.mm.obj is up to date
+ [arm64] ./Classes/Unity/UnityReplayKit_Scripting.mm.obj is up to date
+ [arm64] ./Classes/UI/UnityAppController+ViewHandling.mm.obj is up to date
+ [arm64] ./Classes/Unity/CVTextureCache.mm.obj is up to date
+ [arm64] ./Classes/Unity/DisplayManager.mm.obj is up to date
+ [arm64] ./Classes/Unity/VideoPlayer.mm.obj is up to date
+ [arm64] ./Classes/Unity/DeviceSettings.mm.obj is up to date
+ [arm64] ./Classes/Unity/FullScreenVideoPlayer.mm.obj is up to date
+ [arm64] ./Classes/Unity/InternalProfiler.cpp.obj is up to date
+ [arm64] ./Classes/UI/StoreReview.m.obj is up to date
+ [arm64] ./Classes/UI/OrientationSupport.mm.obj is up to date
+ [arm64] ./Classes/PluginBase/RenderPluginDelegate.mm.obj is up to date
+ [arm64] ./Classes/UnityAppController.mm.obj is up to date
+ [arm64] ./Classes/Unity/AVCapture.mm.obj is up to date
+ [arm64] ./Classes/Unity/NoGraphicsHelper.mm.obj is up to date
+ [arm64] ./Classes/iPhone_Sensors.mm.obj is up to date
+ [arm64] ./Classes/Unity/Filesystem.mm.obj is up to date
+ [arm64] ./Classes/UI/UnityView.mm.obj is up to date
+ [arm64] Classes/main.mm.obj is up to date
+ [arm64] ./Classes/Unity/OnDemandResources.mm.obj is up to date
+ [arm64] ./Classes/UnityAppController+Rendering.mm.obj is up to date
+ [arm64] ./Classes/UI/Keyboard.mm.obj is up to date
+ [arm64] ./Classes/CrashReporter.mm.obj is up to date
+ [arm64] ./Libraries/RegisterFeatures.cpp.obj is up to date
+ [arm64] ./Classes/UI/UnityViewControllerBase+iOS.mm.obj is up to date
+ [arm64] ./Classes/UnityAppController+UnityInterface.mm.obj is up to date
+ [arm64] ./Classes/Unity/CameraCapture.mm.obj is up to date
+ [arm64] ./Classes/PluginBase/UnityViewControllerListener.mm.obj is up to date
+ [arm64] ./Classes/PluginBase/LifeCycleListener.mm.obj is up to date
+ [arm64] ./Classes/UI/ActivityIndicator.mm.obj is up to date
+ [arm64] ./Classes/Unity/MetalHelper.mm.obj is up to date
+ [arm64] Classes/Native/Assembly-CSharp.cpp.obj is up to date
+ [arm64] Classes/Native/Assembly-CSharp_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/GenericMethods.cpp.obj is up to date
+ [arm64] Classes/Native/GenericMethods1.cpp.obj is up to date
+ [arm64] Classes/Native/GenericMethods2.cpp.obj is up to date
+ [arm64] Classes/Native/GenericMethods3.cpp.obj is up to date
+ [arm64] Classes/Native/Generics.cpp.obj is up to date
+ [arm64] Classes/Native/Generics1.cpp.obj is up to date
+ [arm64] Classes/Native/Generics10.cpp.obj is up to date
+ [arm64] Classes/Native/Generics11.cpp.obj is up to date
+ [arm64] Classes/Native/Generics12.cpp.obj is up to date
+ [arm64] Classes/Native/Generics13.cpp.obj is up to date
+ [arm64] Classes/Native/Generics2.cpp.obj is up to date
+ [arm64] Classes/Native/Generics3.cpp.obj is up to date
+ [arm64] Classes/Native/Generics4.cpp.obj is up to date
+ [arm64] Classes/Native/Generics5.cpp.obj is up to date
+ [arm64] Classes/Native/Generics6.cpp.obj is up to date
+ [arm64] Classes/Native/Generics7.cpp.obj is up to date
+ [arm64] Classes/Native/Generics8.cpp.obj is up to date
+ [arm64] Classes/Native/Generics9.cpp.obj is up to date
+ [arm64] Classes/Native/Il2CppCCalculateFieldValues.cpp.obj is up to date
+ [arm64] Classes/Native/Il2CppCCalculateTypeValues.cpp.obj is up to date
+ [arm64] Classes/Native/Il2CppCCFieldValuesTable.cpp.obj is up to date
+ [arm64] Classes/Native/Il2CppCCTypeValuesTable.cpp.obj is up to date
+ [arm64] Classes/Native/Il2CppCodeRegistration.cpp.obj is up to date
+ [arm64] Classes/Native/Il2CppGenericAdjustorThunkTable.c.obj is up to date
+ [arm64] Classes/Native/Il2CppGenericClassTable.c.obj is up to date
+ [arm64] Classes/Native/Il2CppGenericInstDefinitions.c.obj is up to date
+ [arm64] Classes/Native/Il2CppGenericMethodDefinitions.c.obj is up to date
+ [arm64] Classes/Native/Il2CppGenericMethodPointerTable.c.obj is up to date
+ [arm64] Classes/Native/Il2CppGenericMethodTable.c.obj is up to date
+ [arm64] Classes/Native/Il2CppInteropDataTable.cpp.obj is up to date
+ [arm64] Classes/Native/Il2CppInvokerTable.cpp.obj is up to date
+ [arm64] Classes/Native/Il2CppMetadataRegistration.c.obj is up to date
+ [arm64] Classes/Native/Il2CppMetadataUsage.c.obj is up to date
+ [arm64] Classes/Native/Il2CppReversePInvokeWrapperTable.cpp.obj is up to date
+ [arm64] Classes/Native/Il2CppRgctxTable.c.obj is up to date
+ [arm64] Classes/Native/Il2CppTypeDefinitions.c.obj is up to date
+ [arm64] Classes/Native/Mono.Security.cpp.obj is up to date
+ [arm64] Classes/Native/Mono.Security_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/mscorlib.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib1.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib10.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib11.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib12.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib13.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib14.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib15.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib16.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib17.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib2.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib3.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib4.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib5.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib6.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib7.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib8.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib9.cpp.obj is up to date
+ [arm64] Classes/Native/mscorlib_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/System.Configuration.cpp.obj is up to date
+ [arm64] Classes/Native/System.Configuration_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/System.Core.cpp.obj is up to date
+ [arm64] Classes/Native/System.Core_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/System.cpp.obj is up to date
+ [arm64] Classes/Native/System.Xml.cpp.obj is up to date
+ [arm64] Classes/Native/System.Xml_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/System1.cpp.obj is up to date
+ [arm64] Classes/Native/System2.cpp.obj is up to date
+ [arm64] Classes/Native/System_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/Unity.XR.ARFoundation.cpp.obj is up to date
+ [arm64] Classes/Native/Unity.XR.ARFoundation1.cpp.obj is up to date
+ [arm64] Classes/Native/Unity.XR.ARFoundation_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/Unity.XR.ARKit.cpp.obj is up to date
+ [arm64] Classes/Native/Unity.XR.ARKit.FaceTracking.cpp.obj is up to date
+ [arm64] Classes/Native/Unity.XR.ARKit.FaceTracking_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/Unity.XR.ARKit_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/Unity.XR.ARSubsystems.cpp.obj is up to date
+ [arm64] Classes/Native/Unity.XR.ARSubsystems1.cpp.obj is up to date
+ [arm64] Classes/Native/Unity.XR.ARSubsystems_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/Unity.XR.Management.cpp.obj is up to date
+ [arm64] Classes/Native/Unity.XR.Management_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityClassRegistration.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.AudioModule.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.AudioModule_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityEngine.CoreModule.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.CoreModule1.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.CoreModule_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityEngine.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.GameCenterModule.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.GameCenterModule_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityEngine.InputModule.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.InputModule_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityEngine.ParticleSystemModule.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.ParticleSystemModule_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityEngine.PhysicsModule.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.PhysicsModule_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityEngine.SharedInternalsModule.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.SharedInternalsModule_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityEngine.SpatialTracking.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.SpatialTracking_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityEngine.SubsystemsModule.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.SubsystemsModule_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityEngine.XRModule.cpp.obj is up to date
+ [arm64] Classes/Native/UnityEngine.XRModule_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityEngine_CodeGen.c.obj is up to date
+ [arm64] Classes/Native/UnityICallRegistration.cpp.obj is up to date
+ [arm64] Classes/Native/UnresolvedVirtualCallStubs.cpp.obj is up to date
+ [arm64] Classes/Native/__Generated.cpp.obj is up to date
+ [arm64] Classes/Native/__Generated_CodeGen.c.obj is up to date
+ [arm64] Libraries/com.unity.services.core/Runtime/Device/UserIdProviders/NSUserDefaults.mm.obj is up to date
+ [arm64] Including Libraries/libiPhone-lib.a...
+ [arm64] Including Libraries/libil2cpp.a...
+ [arm64] Including Libraries/baselib.a...
+ [arm64] Relinking UnityFramework (target-specific flags changed)...
+ Creating universal framework (arm64)...
+ Creating Info.plist...
+ Done.

Build time: 20 seconds (0 h 0 min 20 s)
Output directory: build\Release-iphoneos\UnityFramework\UnityFramework.framework

+ Preparing output directory...
+ XCFrameworks: 0 supplied
+ Libraries: 3 supplied, 1 built
+ Frameworks: 0 supplied, 1 built
+ Pre-parsing project files...
+ Building bodytracking for iphoneos (configuration: Release)
+ [arm64] Recompiling ./MainApp/main.mm (flags changed)...
+ [arm64] Recompiling C:\Users\hxrla\Desktop\iOS Project Builder\iOS Project Builder for Unity\Toolchain/extra/rdc.m (flags changed)...
+ [arm64] Relinking bodytracking (input files were rebuilt)...
+ Creating universal binary (arm64)...
+ Stripping bitcode to reduce binary size...
+ Copying resources...
+ Creating Info.plist...
Notice: missing iphone 1x (29x29) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing iphone 2x (20x20) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing iphone 2x (29x29) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing iphone 2x (40x40) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing iphone 2x (90x90) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing iphone 3x (20x20) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing iphone 3x (29x29) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing iphone 3x (40x40) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing ipad 1x (20x20) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing ipad 1x (29x29) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing ipad 1x (40x40) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing ipad 2x (20x20) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing ipad 2x (29x29) image variant in app icon set 'AppIcon', falling back on best resolution icon.
Notice: missing ipad 2x (40x40) image variant in app icon set 'AppIcon', falling back on best resolution icon.
+ Compiling Interface Builder launch storyboards...
+ [iphone] build\Release-iphoneos\iPhone-target\bodytracking.app\LaunchScreen-iPhone.storyboardc
+ [ipod] build\Release-iphoneos\iPhone-target\bodytracking.app\LaunchScreen-iPhone.storyboardc
+ [ipad] build\Release-iphoneos\iPhone-target\bodytracking.app\LaunchScreen-iPad.storyboardc
+ [all] build\Release-iphoneos\iPhone-target\bodytracking.app\LaunchScreen-iPhone.storyboardc
+ Optimizing PNG files in build\Release-iphoneos\iPhone-target\bodytracking.app for iOS...
+ Embedding framework: UnityFramework.framework...
+ Validating dependencies...
+ Embedding provisioning profile...
+ Signing code as Apple Distribution: Uijong Ju (MUYTX9WZ69) with team ID MUYTX9WZ69...
ldid: fatal: recursive signature failed on C:\Users\hxrla\body tracking\builddd\build\Release-iphoneos\iPhone-target\bodytracking.app\Frameworks\UnityFramework.framework\UnityFramework
계속하려면 아무 키나 누르십시오 . . .

append delete #6. Pierre-Marie Baty

It would have been better to post a link to the build log, as instructed in the forum header, instead of copy/pasting the whole file. Please remember it for next time.

I see your locale is Korean. It might be a character set problem. Does by any chance your project contain resource files whose file name is made of Asian or other non-ASCII characters ?

append delete #7. dfdfdf

There is no Korean in my project. I think it is beacause of another probelms. Please help me.

append delete #8. Pierre-Marie Baty

Sorry. That was Chinese and not Korean. I can’t read Asian characters.

Anyway, you either have resource files that have Asian characters in their file name, or you’ve hit a crash bug in the code signer. If you’re not in the first case with 100% certainty, please send me this Xcode project at pm @ this domain so that I can reproduce the problem, study the cause and fix it. Confidentiality guaranteed.

append delete #9. qkdkoqolxkl

I want to know exactly where and what files to send.

append delete #10. Pierre-Marie Baty

Have Unity create your Xcode project in a new directory so as to exclude all build artifacts, zip that directory and send it to me.

append delete #11. ccccc

I want to know "where" to send it. For example, your emil or something.

append delete #12. Pierre-Marie Baty

Send it to my email address: pm at <this domain>

Sorry I'm not writing it in full letters to protect myself from spam crawler bots. You can also find it in my Unity publisher profile.

append delete #13. Pierre-Marie Baty

I have received your project but I can't reproduce the problem with it. It builds without error. Here's the build log I get :

https://www.pmbaty.com/paste/?9f39b8b75a8c8521#5GfEWAD4RKsAzxqzttsUXPRdkD1X5mL9u96gGjbKwvMV

I reproduced your build path (C:\Users\hxrla\body tracking\builddd) to make sure it was not a max path length error. It builds correctly on my computer.

I still suspect a problem related to UTF8/UTF16 encoding. I would suggest that you create another Windows user account on your computer, this time with an English locale (i.e. set the language and regional parameters to English with this account). Install the project builder within this account, and try building your project. Let me know if it succeeds or fails please.

Reply

(Leave this as-is, it’s a trap!)

There is no need to “register”, just enter the same name + password of your choice every time.

Pro tip: Use markup to add links, quotes and more.

Moderators: Pierre-Marie Baty