Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Target Integrity issue when building in new XCode (12.3) #5

Closed
quangctkm9207 opened this issue Dec 30, 2020 · 1 comment
Closed

Target Integrity issue when building in new XCode (12.3) #5

quangctkm9207 opened this issue Dec 30, 2020 · 1 comment

Comments

@quangctkm9207
Copy link
Contributor

quangctkm9207 commented Dec 30, 2020

In the recent XCode version(12.3),
when you added the framework, and click Build or Run, the following issue might appear.
"Target Integrity: Building for iOS Simulator but the linked and embedded framework .... was built for iOS + iOS Simulator".

Screen Shot 2020-12-30 at 9 52 13

@quangctkm9207
Copy link
Contributor Author

quangctkm9207 commented Dec 30, 2020

It looks like that Apple restricts the use of a "fat" framework, and forces to build an XCFramework instead.
You can solve this problem by simply setting Validate Workspace to Yes in the Build Settings tab.

References
https://stackoverflow.com/a/65306886/3415319

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant