Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error:The use of xcframeworks is not supported in the legacy build system

I have created .xcframework and trying to use in another app by embedding the .xcframework in xcode project, but I am getting an error "error: the use of xcframeworks is not supported in the legacy build system". I am testing this in xcode 11.3

like image 466
KP26 Avatar asked Jan 19 '20 12:01

KP26


People also ask

How can I use legacy build system in Xcode 13?

Firstly, open your project with Xcode and navigate to File > Workspace Settings. 2. Click on the drop-down labeled with Build System then select Legacy Build System from the menu. Finally, click on the Done button to apply your change.

What is the use of XCFramework?

What is XCFramework? Apple defines XCFrameworks as a distributable binary package created by Xcode that contains variants of a framework or library so that it can be used on multiple platforms (iOS, macOS, tvOS, and watchOS), including Simulator builds.


1 Answers

You can try turning off the legacy build system. Go to File -> Workplace Settings -> Build System -> Change to New Build System (Default).

like image 179
mukul sharma Avatar answered Sep 22 '22 16:09

mukul sharma