Closed Gharib-sara closed 3 years ago
Why would you compile DTFoundation for an app extension?
I don't have any app extensions linked to my project.
I didn't have any problems compiling with Xcode 13 beta 5. I tried both swift build
in the project root, as well as adding DTFoundation as a package reference in a new project.
Yes, it seems to be working fine with Beta 5. Thanks
Hi,
DTFoundation
is not building anymore with the new Xcode using SPMIt may be related to this update:
Linking Swift packages from application extension targets or watchOS applications no longer emits unresolvable warnings about linking to libraries not safe for use in application extensions. This means that code referencing APIs annotated as unavailable for use in app extensions must now themselves be annotated as unavailable for use in application extensions, in order to allow that code to be used in both apps and app extensions.
Source: https://developer.apple.com/documentation/xcode-release-notes/xcode-13-beta-release-notes