/GoogleUserMessagingPlatform-SPM

Unofficial Swift Package for GoogleUserMessagingPlatform

Primary LanguageObjective-CMIT LicenseMIT

Unofficial Swift Package for GoogleUserMessagingPlatform (deprecated)

Google has released an official package.
Use the official package instead of this package.
https://github.com/googleads/swift-package-manager-google-user-messaging-platform

Workaround for Xcode 12.0...12.4

  • There is an issue with device installation or archive uploading, see the discussion and various workaround scripts in official Firebase SPM
    firebase/firebase-ios-sdk#6472

Add the following script to Scheme -> Build -> Post-actions.

rm -rf "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Frameworks/UserMessagingPlatform.framework"
rm -rf "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/PlugIns/UserMessagingPlatform.framework"
rm -rf "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/Watch/UserMessagingPlatform.framework"
rm -rf "${TARGET_BUILD_DIR}/${PRODUCT_NAME}.app/AppClips/AppClip.app/UserMessagingPlatform.framework"

Official Information

https://developers.google.com/admob/ump/ios/download
There are release notes, terms of service, SDK binary and more.
You can download official xcframework and construct your own Swift package safely.