0

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.

enter image description here

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.

2
  • may be framework contains older versions of ios Commented May 12 at 7:29
  • @Jatin The Unity was indeed build on older version like 4 yrs ago, but even now i'm able to run it on physical device without any issues. (Run Unity Game Separately) But when it's linked to iOS project, it is creating this issue. This was not there before i updated both Mac OS and Xcode. Commented May 14 at 4:36

1 Answer 1

0

You might require to update pod, in the built files directory open terminal/command prompt and run command "pod update" to make sure your files are updated.

Sign up to request clarification or add additional context in comments.

1 Comment

i checked with the pod version and it seems to be updated , currently i'm using COCOAPODS: 1.15.2 , which seems to be updated one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.