Skip to content

Add Swift Package Manager support for iOS and macOS#3

Open
adrianjagielak wants to merge 1 commit into
shafujiu:mainfrom
adrianjagielak:feat/spm-support
Open

Add Swift Package Manager support for iOS and macOS#3
adrianjagielak wants to merge 1 commit into
shafujiu:mainfrom
adrianjagielak:feat/spm-support

Conversation

@adrianjagielak

Copy link
Copy Markdown

Resolves the Flutter 3.44+ deprecation warning about pdf_splitern not supporting SPM. Sources and PrivacyInfo.xcprivacy are moved into the SPM-conventional layout under ios/pdf_splitern/Sources/pdf_splitern/ and macos/pdf_splitern/Sources/pdf_splitern/, with a Package.swift added at ios/pdf_splitern/ and macos/pdf_splitern/.

The existing .podspec files are retained as a CocoaPods fallback, with source_files and resource_bundles paths updated to point into the new SPM layout. macOS deployment target bumped from 10.11 to 10.14 to satisfy SPM's swift-tools-version 5.9 floor.

Resolves the Flutter 3.44+ deprecation warning about pdf_splitern not
supporting SPM. Sources and PrivacyInfo.xcprivacy are moved into the
SPM-conventional layout under ios/pdf_splitern/Sources/pdf_splitern/
and macos/pdf_splitern/Sources/pdf_splitern/, with a Package.swift
added at ios/pdf_splitern/ and macos/pdf_splitern/.

The existing .podspec files are retained as a CocoaPods fallback,
with source_files and resource_bundles paths updated to point into
the new SPM layout. macOS deployment target bumped from 10.11 to
10.14 to satisfy SPM's swift-tools-version 5.9 floor.
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