Skip to content

Commit 7f78b6e

Browse files
ioannisjYiannis Josephides
and
Yiannis Josephides
authored
chore: pin iOS SDK to 3.19.x (#22)
* chore: pin iOS SDK to 3.19.x * ci: add iOS build flavors * fix: pod version --------- Co-authored-by: Yiannis Josephides <[email protected]>
1 parent 1824f10 commit 7f78b6e

File tree

3 files changed

+49
-4
lines changed

3 files changed

+49
-4
lines changed

.github/workflows/ci.yml

+45-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,51 @@ jobs:
106106
run: |
107107
yarn turbo run build:android --cache-dir="${{ env.TURBO_CACHE_DIR }}"
108108
109-
build-ios:
109+
build-ios-dynamic-framework:
110+
runs-on: macos-14
111+
steps:
112+
- name: Checkout
113+
uses: actions/checkout@v4
114+
115+
- name: Setup
116+
uses: ./.github/actions/setup
117+
118+
- name: Install cocoapods
119+
run: |
120+
cd example/ios
121+
pod install
122+
env:
123+
USE_FRAMEWORKS: dynamic
124+
NO_FLIPPER: 1
125+
126+
- name: Build example for iOS
127+
run: |
128+
cd example/ios
129+
xcrun xcodebuild -workspace PosthogReactNativeSessionReplayExample.xcworkspace -configuration Debug -scheme posthog-react-native-session-replay -destination generic/platform=ios
130+
131+
build-ios-static-framework:
132+
runs-on: macos-14
133+
steps:
134+
- name: Checkout
135+
uses: actions/checkout@v4
136+
137+
- name: Setup
138+
uses: ./.github/actions/setup
139+
140+
- name: Install cocoapods
141+
run: |
142+
cd example/ios
143+
pod install
144+
env:
145+
USE_FRAMEWORKS: static
146+
NO_FLIPPER: 1
147+
148+
- name: Build example for iOS
149+
run: |
150+
cd example/ios
151+
xcrun xcodebuild -workspace PosthogReactNativeSessionReplayExample.xcworkspace -configuration Debug -scheme posthog-react-native-session-replay -destination generic/platform=ios
152+
153+
build-ios-static-lib:
110154
runs-on: macos-14
111155
steps:
112156
- name: Checkout

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
## Next
22

3+
- chore: pin the iOS SDK to 3.19.x
4+
35
## 1.0.0 - 2025-02-07
46

57
- chore: Session Replay - GA

posthog-react-native-session-replay.podspec

+2-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,8 @@ Pod::Spec.new do |s|
1616

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

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

0 commit comments

Comments
 (0)