kreatimont/google-analytics-ios-sdk-spm 3.21.0
GoogleAnalytics frameworks wrapped into Swift Package
⭐️ 2
🕓 1 year ago
iOS
macOS
watchOS
tvOS
.package(url: "https://github.com/kreatimont/google-analytics-ios-sdk-spm.git", from: "3.21.0")
SPM wrapper for GoogleAnalytics library
It's just a xcframework downloaded from podspec link and Package.swift file with target declaration.
Temporary solution until Google makes it available from the box.
How to update library
- Open GoogleAnalytics podspec list in CocoaPods repo: https://github.com/CocoaPods/Specs/tree/master/Specs/4/9/c/GoogleAnalytics
- Open the target version folder (for example 3.21.0)
- Open the podspec file and find the
source
object
- Download archive following the link in
source
object
- Replace old xcframework in repo with new xcframework from archive
- Push changes to the repository
- Update swift package in Xcode
Inspired by: