Skip to content

Conversation

@damiant
Copy link
Owner

@damiant damiant commented Nov 15, 2025

  • Removed unnecessary Pods and related configurations from Xcode project.
  • Deleted Podfile and Podfile.lock to clean up CocoaPods integration.
  • Updated Capacitor and related community plugins to their latest versions.
  • Introduced Swift Package Manager (SPM) support with a new Package.swift file.
  • Added a new CapApp-SPM directory to manage SPM dependencies.
  • Updated Info.plist to include a new CAPACITOR_DEBUG key.
  • Created a debug.xcconfig file to define CAPACITOR_DEBUG variable.
  • Cleaned up Xcode workspace files to streamline project management.

- Removed unnecessary Pods and related configurations from Xcode project.
- Deleted Podfile and Podfile.lock to clean up CocoaPods integration.
- Updated Capacitor and related community plugins to their latest versions.
- Introduced Swift Package Manager (SPM) support with a new Package.swift file.
- Added a new CapApp-SPM directory to manage SPM dependencies.
- Updated Info.plist to include a new CAPACITOR_DEBUG key.
- Created a debug.xcconfig file to define CAPACITOR_DEBUG variable.
- Cleaned up Xcode workspace files to streamline project management.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR migrates the iOS project from CocoaPods to Swift Package Manager (SPM), updating Capacitor and related plugin dependencies to their latest versions while adding debug configuration support.

  • Updated Capacitor core packages from 7.4.2 to 7.4.4
  • Migrated dependency management from CocoaPods to Swift Package Manager
  • Added debug configuration with CAPACITOR_DEBUG flag

Reviewed Changes

Copilot reviewed 10 out of 13 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
package.json Updated Capacitor core (android, ios, core, cli) to 7.4.4 and community plugins (@capacitor-community/in-app-review to 7.1.0, @webnativellc plugins to 7.1.0)
ios/debug.xcconfig New debug configuration file defining CAPACITOR_DEBUG variable
ios/App/Podfile.lock Removed CocoaPods lock file as part of migration to SPM
ios/App/Podfile Removed CocoaPods configuration file as part of migration to SPM
ios/App/CapApp-SPM/Sources/CapApp-SPM/CapApp-SPM.swift New SPM module source file with Capacitor app flag
ios/App/CapApp-SPM/README.md Documentation for the SPM dependency management directory
ios/App/CapApp-SPM/Package.swift SPM package manifest defining all Capacitor plugin dependencies
ios/App/CapApp-SPM/.gitignore Git ignore rules for SPM build artifacts and derived data
ios/App/App/Info.plist Added CAPACITOR_DEBUG key referencing the xcconfig variable
ios/App/App.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist Removed obsolete Xcode workspace check file
ios/App/App.xcworkspace/contents.xcworkspacedata Removed workspace reference to Pods project
ios/App/App.xcodeproj/project.pbxproj Removed CocoaPods integration (Pods framework references, build phases, and xcconfig references)
bun.lock Updated lock file reflecting new dependency versions
Files not reviewed (1)
  • ios/App/App.xcworkspace/contents.xcworkspacedata: Language not supported

@damiant damiant marked this pull request as ready for review November 15, 2025 18:00
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 63 out of 69 changed files in this pull request and generated no new comments.

Files not reviewed (1)
  • ios/App/App.xcworkspace/contents.xcworkspacedata: Language not supported

- Introduced the @capacitor/motion plugin to handle device orientation.
- Refactored the compass setup to utilize the Motion plugin instead of the deprecated navigator.compass.
- Removed the unused compass error handling code and updated related variables for clarity.
@damiant damiant marked this pull request as draft December 13, 2025 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants