Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop #1515

Closed
wants to merge 34 commits into from
Closed

drop #1515

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a47935e
add privacy manifest for extension framework
emawby Jan 16, 2024
3e65a24
Add privacy manifest to OneSignalFramework
emawby Jan 16, 2024
dd9ab42
Merge pull request #1360 from OneSignal/3.x.x-privacy
emawby Feb 2, 2024
d8b6980
bump version numbers for `3.12.8`
nan-li Mar 19, 2024
b7bedf4
binaries for 3.12.8
nan-li Mar 19, 2024
7abc0d5
sign OneSignalCore.xcframework
nan-li Mar 19, 2024
3bd262f
sign OneSignalExtension.xcframework
nan-li Mar 19, 2024
8c63402
sign OneSignalOutcomes.xcframework
nan-li Mar 19, 2024
d13f2b3
sign OneSignal.xcframework
nan-li Mar 19, 2024
d83d168
update Package.swift for 3.12.8
nan-li Mar 19, 2024
4705ba9
Merge pull request #1388 from OneSignal/release_3.12.8
nan-li Mar 19, 2024
2f69dfb
Add target membership for the Privacy Manifests
nan-li Mar 22, 2024
674800e
Add manifests for Outcomes + Core
nan-li Mar 25, 2024
1349904
add `NSPrivacyCollectedDataTypes` to Core
nan-li Mar 25, 2024
2ab045d
Merge pull request #1392 from OneSignal/player_model/fix_privacy_mani…
nan-li Mar 25, 2024
dac6af2
bump version numbers for `3.12.9`
nan-li Mar 25, 2024
f5027d1
binaries for 3.12.9
nan-li Mar 25, 2024
931c003
sign the 4 xcframeworks
nan-li Mar 25, 2024
2f51ddb
update Package.swift for 3.12.9
nan-li Mar 25, 2024
cd6e9a9
Merge pull request #1393 from OneSignal/release_3.12.9
nan-li Mar 25, 2024
9388dfe
[maintenance] replace deprecated openURL method
nan-li Oct 7, 2024
d2994ef
[ci] use `macos-latest-large` to have swiftlint
nan-li Apr 26, 2024
22720ab
Privacy manifests update User Defaults API reason
nan-li May 7, 2024
4cc5ae7
Merge pull request #1493 from OneSignal/fix/deprecated_openurl
nan-li Oct 7, 2024
f930add
Merge pull request #1494 from OneSignal/player_model_privacy_manifest…
nan-li Oct 7, 2024
677e528
bump version numbers
nan-li Oct 7, 2024
5e35b74
Add release workflow github action
nan-li Oct 7, 2024
e5692c9
use workflow for CD
nan-li Oct 7, 2024
b355191
Release 3.12.10
Oct 7, 2024
0bae1ed
Revert "use workflow for CD"
nan-li Oct 7, 2024
de878af
Merge pull request #1495 from OneSignal/rel/3.12.10
nan-li Oct 7, 2024
eea3dcb
remove unnecessary commands
nan-li Oct 30, 2024
40846fd
Merge pull request #1496 from OneSignal/player_model_add_cd
nan-li Nov 14, 2024
5ca5819
[dev app] replace app icon with new logo
nan-li Nov 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
93 changes: 93 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
name: iOS CD

on:
workflow_dispatch:
inputs:
version:
type: string
description: "The version number of the release"
required: true
release_branch:
type: string
description: "The release branch with bumped version numbers for the release"
required: true

jobs:
build:
name: Build the binaries for the release and create a PR
runs-on: macos-13

steps:
- name: setup xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.2'
- name: Checkout OneSignal-iOS-SDK
uses: actions/checkout@v4
with:
ref: ${{github.event.inputs.release_branch}}

- name: Install the Apple distribution certificate and provisioning profile
uses: apple-actions/import-codesign-certs@v2
with:
keychain-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
p12-file-base64: ${{ secrets.CERTIFICATES_P12 }}
p12-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}

- name: Install the Apple distribution certificate and provisioning profile
uses: apple-actions/import-codesign-certs@v2
with:
create-keychain: false # do not create a new keychain for this value
keychain-password: ${{ secrets.CERTIFICATES_P12_PASSWORD }}
p12-file-base64: ${{ secrets.DEV_CERTIFICATES_P12 }}
p12-password: ${{ secrets.DEV_CERTIFICATES_P12_PASSWORD }}
# - name: Bump Version Number
# run: |
- name: Build Binaries
run: |
cd iOS_SDK/OneSignalSDK
chmod +x ./build_all_frameworks.sh
./build_all_frameworks.sh
shell: bash
- name: Code Sign
run: |
cd iOS_SDK/OneSignalSDK
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_Core/OneSignalCore.xcframework
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_Extension/OneSignalExtension.xcframework
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_Outcomes/OneSignalOutcomes.xcframework
codesign --timestamp -v --sign "Apple Distribution: OneSignal, Inc. (J3J28YJX9L)" OneSignal_XCFramework/OneSignal.xcframework
shell: bash
- name: Update Swift Package
run: |
cd iOS_SDK/OneSignalSDK
chmod +x ./update_swift_package.sh
./update_swift_package.sh ${{github.event.inputs.version}}
shell: bash
- name: Commit Changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "SyncR 🤖"
git add .
git commit -m "Release ${{github.event.inputs.version}}"

- name: Pushing changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
repository: 'OneSignal/OneSignal-iOS-SDK'
branch: ${{github.event.inputs.release_branch}}

- name: "Submitting PR"
uses: octokit/[email protected]
with:
route: POST /repos/{owner}/{repo}/pulls
owner: OneSignal
repo: OneSignal-iOS-SDK
head: ${{github.event.inputs.release_branch}}
base: player-model-main
title: |
"Release ${{github.event.inputs.version}}"
body: |
"Add Release Notes For Review Here"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
build:
name: Build and Test using any available iPhone simulator
runs-on: macos-latest
runs-on: macos-latest-large

steps:
- name: Checkout OneSignal-iOS-SDK
Expand Down
2 changes: 1 addition & 1 deletion OneSignal.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "OneSignal"
s.version = "3.12.7"
s.version = "3.12.10"
s.summary = "OneSignal push notification library for mobile apps."
s.homepage = "https://onesignal.com"
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
2 changes: 1 addition & 1 deletion OneSignalXCFramework.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "OneSignalXCFramework"
s.version = "3.12.7"
s.version = "3.12.10"
s.summary = "OneSignal push notification library for mobile apps."
s.homepage = "https://onesignal.com"
s.license = { :type => 'MIT', :file => 'LICENSE' }
Expand Down
16 changes: 8 additions & 8 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@ let package = Package(
),
.binaryTarget(
name: "OneSignal",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.7/OneSignal.xcframework.zip",
checksum: "26848c739578c43bd401898d0f913eb451856a57549a445ecbe688f1a0426548"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.10/OneSignal.xcframework.zip",
checksum: "ace55e58972477b0dc7d4ad654742b4f2bbe82dd43761838c2f6d62dcbd47bc5"
),
.binaryTarget(
name: "OneSignalExtension",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.7/OneSignalExtension.xcframework.zip",
checksum: "38706d80fa648b555f0eefa97b95ed0a96e2614dc98e91fde10827b5d4da413d"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.10/OneSignalExtension.xcframework.zip",
checksum: "e2c3f1f30f4997f682b634e38839113d736b0ff211fc5dda4079aa29fd40dee5"
),
.binaryTarget(
name: "OneSignalOutcomes",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.7/OneSignalOutcomes.xcframework.zip",
checksum: "f79b274f3c4e8372fbaad1a7c37bdfb1b0feb71721649900e35ab6c391718082"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.10/OneSignalOutcomes.xcframework.zip",
checksum: "252211fac88378bc0ed4260408e403012c80101cd524c0bcda4deb6b515d5009"
),
.binaryTarget(
name: "OneSignalCore",
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.7/OneSignalCore.xcframework.zip",
checksum: "1f51ffa939a5bb58b05f9a83be18e20a6d692182822a5a559396f0c567f8bde0"
url: "https://github.com/OneSignal/OneSignal-iOS-SDK/releases/download/3.12.10/OneSignalCore.xcframework.zip",
checksum: "5144d8929823f2142efec284c44e52eb1f7f3e2a2a2d587e70d891aea1dc1187"
)
]
)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading