Skip to content

Commit ed2e009

Browse files
feat!: BREAKING update to Capacitor 7 (#90)
* feat!: BREAKING update to Capacitor 7
1 parent 8f7d2a6 commit ed2e009

File tree

5 files changed

+5
-57
lines changed

5 files changed

+5
-57
lines changed

IonicPortals.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Pod::Spec.new do |s|
55
s.social_media_url = 'https://twitter.com/capacitorjs'
66
s.license = 'Commercial'
77
s.homepage = 'https://ionic.io/portals'
8-
s.ios.deployment_target = '13.0'
8+
s.ios.deployment_target = '14.0'
99
s.authors = { 'Ionic Team' => '[email protected]' }
1010
s.source = { git: 'https://github.com/ionic-team/ionic-portals-ios.git', tag: s.version.to_s }
1111
s.source_files = 'Sources/IonicPortals/**/*.swift'
12-
s.dependency 'Capacitor', '~> 6.0'
12+
s.dependency 'Capacitor', '~> 7.0.0'
1313
s.dependency 'IonicLiveUpdates', '>= 0.5.0', '< 0.6.0'
1414
s.swift_version = '5.7'
1515
end

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@ import PackageDescription
44

55
let package = Package(
66
name: "IonicPortals",
7-
platforms: [.iOS(.v13)],
7+
platforms: [.iOS(.v14)],
88
products: [
99
.library(
1010
name: "IonicPortals",
1111
targets: ["IonicPortals"]
1212
)
1313
],
1414
dependencies: [
15-
.package(url: "https://github.com/ionic-team/capacitor-swift-pm", .upToNextMajor(from: "6.0.0")),
15+
.package(url: "https://github.com/ionic-team/capacitor-swift-pm", .upToNextMajor(from: "7.0.0")),
1616
.package(url: "https://github.com/ionic-team/ionic-live-updates-releases", "0.5.0"..<"0.6.0"),
1717
.package(url: "https://github.com/pointfreeco/swift-clocks", .upToNextMajor(from: "1.0.2"))
1818
],

Sources/IonicPortals/JSONDecoder+JSObject.swift

Lines changed: 0 additions & 23 deletions
This file was deleted.

Sources/IonicPortals/JSONEncoder+JSObject.swift

Lines changed: 0 additions & 29 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"scripts": {
55
"build": "npm run build:docs && npm run build:transform",
6-
"build:docs": "xcodebuild docbuild -scheme IonicPortals -derivedDataPath DerivedData -destination 'platform=iOS Simulator,name=iPhone 15'",
6+
"build:docs": "xcodebuild docbuild -scheme IonicPortals -derivedDataPath DerivedData -destination 'platform=iOS Simulator,name=iPhone 16 Pro'",
77
"build:transform": "mv DerivedData/Build/Products/Debug-iphonesimulator/IonicPortals.doccarchive public"
88
}
99
}

0 commit comments

Comments
 (0)