Unity iOS Xcode build fails with error Undefined symbols


I have developed an iOS game app using Unity 2022.3.10f1 and deployed it successfully in the past. However, in the latest build, I get the following error when building in Xcode v15.0.1 for the iPhone:

Undefined symbols:

Linker command failed with exit code 1 (use -v to
see invocation)

I tried building with -v verbose mode and got the following:

The following build commands failed:

SwiftEmitModule normal arm64 Emitting\ module\ for\ UnityFramework (in
target ‘UnityFramework’ from project ‘Unity-iPhone’)

SwiftCompile normal arm64 /Users/ramsayamarin/Documents/de/Dummy.swift
(in target ‘UnityFramework’ from project ‘Unity-iPhone’)

SwiftCompile normal arm64 Compiling\ Dummy.swift
/Users/ramsayamarin/Documents/de/Dummy.swift (in target
‘UnityFramework’ from project ‘Unity-iPhone’)

I could not find any solutions online and I tried to reduce the project gradually by deleting Firebase, Ad packages and recent changes but the error persists.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img