After the update of the Xcode to latest version, I’m getting “No Such Module Unity Framework” as error. the complete information is below.
I had to update the Xcode and the O.S as per the Apple Requirement from my older version of 14.x to latest 16.3. I had no issued running the Unity within my iOS App till the recent update.
Previous Setup:
Unity was successfully integrated into this iOS app and running fine before the update. I’m using CocoaPods and opening the project via .xcworkspace. What I Know So Far:
I don’t know the Unity version (the project is over 4 years old, and I wasn’t involved in the initial setup). The Unity project still runs on its own after I removed -mno-thumb from its target’s build settings even in the latest Xcode version (16.3). When I build the Unity project directly, UnityFramework.framework does get created inside: build/Debug-iphoneos/ for the project.
However, when I build my main Project.xcworkspace , that framework is not generated
As it was working till the Xcode version 14.3, i have not changed any code relevant to Unity.
What I’ve Tried:
a. Added UnityFramework.framework to “Link Binary with Libraries” and marked it as “Embed & Sign”.
b. Verified Framework Search Paths include $(PROJECT_DIR)/UnityProject/build/Debug-iphoneos
c. Cleaned build folder, deleted Derived Data
d. Checked [CP] Embed Pods Frameworks step in Build Phases
Stuck On: Xcode still throws "No such module 'UnityFramework'" — it’s as if the framework isn’t being built or seen from my main project.
Request for Help:
Has anyone encountered this issue post-Xcode 16.3 update from 14.x. I’d really appreciate any guidance, updated workflows, or even a checklist of steps for properly integrating Unity into an existing iOS app with the new Xcode build system.