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

chore: pin iOS SDK to 3.19.x #22

Merged
merged 4 commits into from
Feb 21, 2025
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
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
46 changes: 45 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,51 @@ jobs:
run: |
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"

build-ios:
build-ios-dynamic-framework:
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup

- name: Install cocoapods
run: |
cd example/ios
pod install
env:
USE_FRAMEWORKS: dynamic
NO_FLIPPER: 1

- name: Build example for iOS
run: |
cd example/ios
xcrun xcodebuild -workspace PosthogReactNativeSessionReplayExample.xcworkspace -configuration Debug -scheme posthog-react-native-session-replay -destination generic/platform=ios

build-ios-static-framework:
runs-on: macos-14
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup
uses: ./.github/actions/setup

- name: Install cocoapods
run: |
cd example/ios
pod install
env:
USE_FRAMEWORKS: static
NO_FLIPPER: 1

- name: Build example for iOS
run: |
cd example/ios
xcrun xcodebuild -workspace PosthogReactNativeSessionReplayExample.xcworkspace -configuration Debug -scheme posthog-react-native-session-replay -destination generic/platform=ios

build-ios-static-lib:
runs-on: macos-14
steps:
- name: Checkout
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Next

- chore: pin the iOS SDK to 3.19.x

## 1.0.0 - 2025-02-07

- chore: Session Replay - GA
Expand Down
5 changes: 2 additions & 3 deletions posthog-react-native-session-replay.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ Pod::Spec.new do |s|

s.source_files = "ios/**/*.{swift,h,hpp,m,mm,c,cpp}"

# ~> Version 3.0 and the versions up to 4.0, not including 4.0 and higher
# Pinned to 3.18.0 until https://posthog.com/questions/pods-suddenly-not-able-to-be-installed is resolved
s.dependency 'PostHog', '3.18.0'
# ~> Version 3.19.0 up to, but not including, 3.20.0
s.dependency 'PostHog', '~> 3.19.0'
s.ios.deployment_target = '13.0'
s.swift_versions = "5.3"

Expand Down
Loading