How to Install Package in Xcode via Swift Package Manager

Swift Package Manager now support generating Xcode project with

swift package generate-xcodeproj

as mentioned in this answer, but this only works when developing a library, or a command line tool. Not (yet) for (iOS/OS X) graphical application developer:

Note that at this time the Package Manager has no support for iOS, watchOS, or tvOS platforms.

Note:

  • It might not work well if there is a space in your package name, i.e. change “App Store” to “AppStore”.

Leave a Comment

tech