When using Swift Package Manager how can I generate an Xcode project file for development
I am using the new open source Swift Package Manager and am able to download the files.
I want the manager to create a “development environment” (Through Xcode) based on the packages it retrieved.
Has anybody dealt with this?
2 Solutions Collect From Internet About “When using Swift Package Manager how can I generate an Xcode project file for development”
As of PR #174 on the swift-package-manager project, there exists an option for generating an Xcode project file in root directory of the package:
$ swift package generate-xcodeproj
Note: Earlier builds used:
$ swift build --generate-xcodeproj
It will officially be part of Swift’s 3.0 release.
But it is already available with
Xcode Swift DEVELOPMENT Snapshot 2016-03-24 or later!
You can generate Xcode project files with this command:
swift package generate-xcodeproj
- How to check if a uiimage is blank? (empty, transparent)
- Using as a concrete type conforming to protocol AnyObject is not supported
- Why Doesn't iOS Autorotate a View loaded from a Nib after it was released by didReceiveMemoryWarning?
- Remove year from NSDateFormatterFullStyle string
- iOS Enterprise developer Account: get device token
- ios Dynamic sizing labels
- Remove border between View and Search Bar
- importing a project into a remote SVN server in XCode 5
- Objective-C JSON – Convert JSON object to native object?
- App crashes when user starts typing in UISearchBar
- How to connect my Swift app to my Parse Server?
- Core Text – Height of glyph
- How do I set integer endianness using htonl in Swift?
- dequeued UITableViewCell has incorrect layout until scroll (using autolayout)
- Why am I getting an error about being unable to dequeue when my UITableView tries to load?