From 1d365f898dd025d7910ea9ce5c0a490fe5892ad4 Mon Sep 17 00:00:00 2001 From: Val Alexander Date: Thu, 2 Apr 2026 16:17:50 -0500 Subject: [PATCH] Add local notifications to iOS package dependencies - Switch SwiftPM paths to stable node_modules package locations - Pin the resolved package state for Xcode --- .../xcshareddata/swiftpm/Package.resolved | 24 +++++++++++++++++++ apps/mobile/ios/App/CapApp-SPM/Package.swift | 8 ++++--- 2 files changed, 29 insertions(+), 3 deletions(-) create mode 100644 apps/mobile/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved diff --git a/apps/mobile/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/apps/mobile/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved new file mode 100644 index 000000000..2ff28a781 --- /dev/null +++ b/apps/mobile/ios/App/App.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -0,0 +1,24 @@ +{ + "originHash" : "de21a76415988df5ed2fb74bac8679bbf60d22949f3c7b340711272a42806f38", + "pins" : [ + { + "identity" : "capacitor-swift-pm", + "kind" : "remoteSourceControl", + "location" : "https://github.com/ionic-team/capacitor-swift-pm.git", + "state" : { + "revision" : "6a2a3feb25fda8df2a284d0818bc9c83e57a7d56", + "version" : "8.3.0" + } + }, + { + "identity" : "swiftkeychainwrapper", + "kind" : "remoteSourceControl", + "location" : "https://github.com/jrendel/SwiftKeychainWrapper.git", + "state" : { + "revision" : "185a3165346a03767101c4f62e9a545a0fe0530f", + "version" : "4.0.1" + } + } + ], + "version" : 3 +} diff --git a/apps/mobile/ios/App/CapApp-SPM/Package.swift b/apps/mobile/ios/App/CapApp-SPM/Package.swift index cbfcc422f..be2b8f8a4 100644 --- a/apps/mobile/ios/App/CapApp-SPM/Package.swift +++ b/apps/mobile/ios/App/CapApp-SPM/Package.swift @@ -12,9 +12,10 @@ let package = Package( ], dependencies: [ .package(url: "https://github.com/ionic-team/capacitor-swift-pm.git", exact: "8.3.0"), - .package(name: "CapacitorApp", path: "../../../../../node_modules/.bun/@capacitor+app@8.1.0+db0c1b46371b240c/node_modules/@capacitor/app"), - .package(name: "CapacitorBrowser", path: "../../../../../node_modules/.bun/@capacitor+browser@8.0.3+db0c1b46371b240c/node_modules/@capacitor/browser"), - .package(name: "CapacitorSecureStoragePlugin", path: "../../../../../node_modules/.bun/capacitor-secure-storage-plugin@0.13.0+db0c1b46371b240c/node_modules/capacitor-secure-storage-plugin") + .package(name: "CapacitorApp", path: "../../../../../node_modules/@capacitor/app"), + .package(name: "CapacitorBrowser", path: "../../../../../node_modules/@capacitor/browser"), + .package(name: "CapacitorLocalNotifications", path: "../../../../../node_modules/@capacitor/local-notifications"), + .package(name: "CapacitorSecureStoragePlugin", path: "../../../../../node_modules/capacitor-secure-storage-plugin") ], targets: [ .target( @@ -24,6 +25,7 @@ let package = Package( .product(name: "Cordova", package: "capacitor-swift-pm"), .product(name: "CapacitorApp", package: "CapacitorApp"), .product(name: "CapacitorBrowser", package: "CapacitorBrowser"), + .product(name: "CapacitorLocalNotifications", package: "CapacitorLocalNotifications"), .product(name: "CapacitorSecureStoragePlugin", package: "CapacitorSecureStoragePlugin") ] )