feat: add capacitor for mobile deployment
All checks were successful
Deploy to Production / deploy (push) Successful in 22s
All checks were successful
Deploy to Production / deploy (push) Successful in 22s
This commit is contained in:
9
ios/App/CapApp-SPM/.gitignore
vendored
Normal file
9
ios/App/CapApp-SPM/.gitignore
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
.DS_Store
|
||||
/.build
|
||||
/Packages
|
||||
/*.xcodeproj
|
||||
xcuserdata/
|
||||
DerivedData/
|
||||
.swiftpm/config/registries.json
|
||||
.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
|
||||
.netrc
|
||||
25
ios/App/CapApp-SPM/Package.swift
Normal file
25
ios/App/CapApp-SPM/Package.swift
Normal file
@@ -0,0 +1,25 @@
|
||||
// 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(.v15)],
|
||||
products: [
|
||||
.library(
|
||||
name: "CapApp-SPM",
|
||||
targets: ["CapApp-SPM"])
|
||||
],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", exact: "8.1.0")
|
||||
],
|
||||
targets: [
|
||||
.target(
|
||||
name: "CapApp-SPM",
|
||||
dependencies: [
|
||||
.product(name: "Capacitor", package: "capacitor-swift-pm"),
|
||||
.product(name: "Cordova", package: "capacitor-swift-pm")
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
5
ios/App/CapApp-SPM/README.md
Normal file
5
ios/App/CapApp-SPM/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# CapApp-SPM
|
||||
|
||||
This SPM is used to host SPM dependencies for you Capacitor project
|
||||
|
||||
Do not modify the contents of it or there may be unintended consequences.
|
||||
1
ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift
Normal file
1
ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift
Normal file
@@ -0,0 +1 @@
|
||||
public let isCapacitorApp = true
|
||||
Reference in New Issue
Block a user