Skip to content

feat(ios): add Swift Package Manager support for Capacitor 6-8#46

Open
Geek-Squared wants to merge 1 commit intotalsec:mainfrom
Geek-Squared:feature/ios-spm-support
Open

feat(ios): add Swift Package Manager support for Capacitor 6-8#46
Geek-Squared wants to merge 1 commit intotalsec:mainfrom
Geek-Squared:feature/ios-spm-support

Conversation

@Geek-Squared
Copy link

What's new

This PR adds Swift Package Manager (SPM) support for the iOS plugin, while keeping the existing CocoaPods integration intact.

With CocoaPods entering maintenance mode and its trunk going read-only in December 2026, SPM is becoming the standard for iOS dependency management. Capacitor 8 already defaults to SPM for new iOS projects, so this change ensures freeRASP works seamlessly with modern Capacitor setups.

Changes:

  • Added Package.swift with binary target for TalsecRuntime.xcframework and Capacitor/Cordova dependencies (supports Capacitor 6-8)

PR checklist

In-app checks:

  • callbacks are received
  • dev/prod switch works
  • README.md is updated (if applicable)
  • example app is working

Pre-release checks:

  • CHANGELOG.md is updated
  • package.json version is increased
  • release label is applied on PR

To be checked by maintainers:

  • freeRASP logs are received
  • sdkVersion property in logs is correct
  • sdkPlatform property in logs is correct

Resolved issues

Adds SPM support in preparation for CocoaPods deprecation (December 2026) and compatibility with Capacitor 8's default package manager.

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.

1 participant