diff --git a/.github/workflows/test-pull-request.yml b/.github/workflows/test-pull-request.yml index 22d8b16..da3e1b0 100644 --- a/.github/workflows/test-pull-request.yml +++ b/.github/workflows/test-pull-request.yml @@ -10,19 +10,28 @@ on: jobs: swift-code-checks: name: Code Tests - runs-on: macos-12 + runs-on: macos-14 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + + - name: Install dependencies + run: brew install swiftlint - name: Lint code run: swiftlint lint --config .swiftlint.yml --reporter github-actions-logging + - name: Select Xcode 15.3 + run: sudo xcode-select -s /Applications/Xcode_15.3.app + - name: Build - run: xcodebuild -scheme UID2GMAPlugin -sdk iphonesimulator16.2 -destination "OS=16.2,name=iPhone 14" + run: xcodebuild -scheme UID2GMAPlugin -destination "generic/platform=iOS" - name: Run unit tests - run: xcodebuild test -scheme UID2GMAPluginTests -sdk iphonesimulator16.2 -destination "OS=16.2,name=iPhone 14" + run: xcodebuild test -scheme UID2GMAPluginTests -sdk iphonesimulator17.4 -destination "OS=17.4,name=iPhone 15" + + - name: Lint pod spec + run: pod lib lint --verbose vulnerability-scan: name: Vulnerability Scan diff --git a/UID2GMAPlugin.podspec.json b/UID2GMAPlugin.podspec.json new file mode 100644 index 0000000..fb6f332 --- /dev/null +++ b/UID2GMAPlugin.podspec.json @@ -0,0 +1,36 @@ +{ + "name": "UID2GMAPlugin", + "summary": "A plugin for integrating UID2 and Google GMA into iOS applications.", + "homepage": "https://unifiedid.com/", + "license": "Apache License, Version 2.0", + "version": "0.3.0", + "authors": { + "David Snabel-Caunt": "dave.snabel-caunt@thetradedesk.com" + }, + "source": { + "git": "https://github.com/IABTechLab/uid2-ios-plugin-google-gma.git", + "tag": "v0.3.0" + }, + "platforms": { + "ios": "13.0" + }, + "swift_versions": [ + "5" + ], + "frameworks": "Foundation", + "static_framework": true, + "resource_bundles": { + "UID2": ["Sources/UID2GMAPlugin/PrivacyInfo.xcprivacy"] + }, + "source_files": [ + "Sources/UID2GMAPlugin/**/*" + ], + "dependencies": { + "Google-Mobile-Ads-SDK": [ + "~> 10.7.0" + ], + "UID2": [ + "~> 1.2.4" + ] + } +}