How do I put a swift package in Edit Mode?
If you clone a package locally and drag it into your project or workspace, that local copy will override the (read-only) remote dependency anywhere it was referenced. You can then edit the local copy of the package as needed.
You can see more on this workflow about 23 minutes into the WWDC2019 video for Creating Swift Packages: https://developer.apple.com/videos/play/wwdc2019/410/
Swift Package Manager executable app, set deployment target
This may not help you right now, but the upcoming Swift 5.0 will include the ability to specify the deployment target in the package manifest, using a syntax like this:
...
platforms: [
.macOS(.v10_13), .iOS(.v12),
],
...
(The same is true for some other common build settings.)
Until then, you can override the default deployment target via command line arguments like this:
$ swift build -Xswiftc "-target" -Xswiftc "x86_64-apple-macosx10.14"
You'll have to include these arguments in every call to swift build
, swift run
, swift test
.
Related Topics
How to Copy Skspritenode with Skphysicsbody
How to Check If Core Data Is Empty
How to Draw Line Node Keep Same Size in Camera as Measure App in Iphone
How to Create Objects from Swiftyjson
Uirefreshcontrol() in iOS 11 Glitchy Effect
Using @Fetchrequest(Entity: ) for Swiftui MACos App Crashes
How to Check If Cmtime Is Valid in Swift
Swift Protocol with Associated Type - Type May Not Reference Itself as a Requirement
Changing Nav Bar Item Programmatically in Swift
Swift: Hashable Struct with Dictionary Property
How to Make Player Move to Opposite Side While Is in a Path
Swift 3/Macos: Open Window on Certain Screen
From the Swift Repl, How to Get a List of Available Modules
What Is the Slice Compare Logic in Swift