قالب وردپرس درنا توس
Home / IOS Development / Is there a way to generate a Swift library for both macOS and iOS? Xcode allows you to select only a Base SDK

Is there a way to generate a Swift library for both macOS and iOS? Xcode allows you to select only a Base SDK




Use the case: I have a Swift frame that compiles nicely for both platforms, but only one at a time thanks to Xcode. I want to use this framework in an iOS app project that needs to be tested in the simulator and run on the device. So the frame needs both architectures in it.

Or is it another way?

sent by / u / ThePantsThief
[comments]
Source link