Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions .github/actions/publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ runs:
- name: Push LaunchDarklyObservability to CocoaPods
if: ${{ inputs.dry_run == 'false' }}
shell: bash
run: pod trunk push LaunchDarklyObservability.podspec --allow-warnings --synchronous --verbose
run: pod trunk push LaunchDarklyObservability.podspec --allow-warnings --synchronous

- name: Push LaunchDarklySessionReplay to CocoaPods
if: ${{ inputs.dry_run == 'false' }}
shell: bash
run: pod trunk push LaunchDarklySessionReplay.podspec --allow-warnings --synchronous --verbose
run: pod trunk push LaunchDarklySessionReplay.podspec --allow-warnings --synchronous
19 changes: 19 additions & 0 deletions .github/workflows/test-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,22 @@ jobs:
- uses: ./.github/actions/test-swiftpm
with:
ios-sim: 'platform=iOS Simulator,name=iPhone 16,OS=latest'

lint-pods:
name: Validate Podspecs
runs-on: macos-15
steps:
- uses: actions/checkout@v6

# Lint against the local sources (pod lib lint) rather than the remote
# tag (pod spec lint), since a PR's version tag isn't published yet.
- name: Lint LaunchDarklyObservability podspec
run: pod lib lint LaunchDarklyObservability.podspec --allow-warnings

# SessionReplay depends on LaunchDarklyObservability, which isn't
# published at this version, so include the local podspec for resolution.
- name: Lint LaunchDarklySessionReplay podspec
run: |
pod lib lint LaunchDarklySessionReplay.podspec \
--allow-warnings \
--include-podspecs=LaunchDarklyObservability.podspec
5 changes: 5 additions & 0 deletions TestApp/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,10 @@
<string>$(otlpEndpoint)</string>
<key>backendUrl</key>
<string>$(backendUrl)</string>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsLocalNetworking</key>
<true/>
</dict>
</dict>
</plist>
Loading