-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add the spm root project to the template (#6877)
Co-authored-by: Mike Summerfeldt <[email protected]> Co-authored-by: Mark Anderson <[email protected]>
- Loading branch information
1 parent
965ef06
commit 02c44c2
Showing
5 changed files
with
59 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.DS_Store | ||
/.build | ||
/Packages | ||
/*.xcodeproj | ||
xcuserdata/ | ||
DerivedData/ | ||
.swiftpm/config/registries.json | ||
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata | ||
.netrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// swift-tools-version: 5.9 | ||
import PackageDescription | ||
|
||
// DO NOT MODIFY THIS FILE - managed by Capacitor CLI commands | ||
let package = Package( | ||
name: "CapApp-SPM", | ||
platforms: [.iOS(.v13)], | ||
products: [ | ||
.library( | ||
name: "CapApp-SPM", | ||
targets: ["CapApp-SPM"]) | ||
], | ||
dependencies: [ | ||
], | ||
targets: [ | ||
.target( | ||
name: "CapApp-SPM", | ||
dependencies: [ | ||
|
||
] | ||
) | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# CapApp-SPM | ||
|
||
This SPM is used to host SPM dependancies for you Capacitor project | ||
|
||
Do not modifiy the contents of it or there may be unintended concquences. |
1 change: 1 addition & 0 deletions
1
ios-template/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
public let isCapacitorApp = true |