Skip to content

Commit d179ec9

Browse files
Use pre-built version of sentry-cocoa SDK (#3727)
* chore: update modules/sentry-cocoa to 8.39.0 * Download sentry-cocoa SDK instead of rebuilding this * Update CHANGELOG.md * Remove github actions to build the cocoa sdk * Fixed regular expression for extracting the CocoaVersion --------- Co-authored-by: GitHub <[email protected]>
1 parent 40e5793 commit d179ec9

File tree

14 files changed

+133
-68
lines changed

14 files changed

+133
-68
lines changed

.github/actions/buildcocoasdk/action.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/build.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,6 @@ jobs:
130130
- name: Build Native Dependencies
131131
uses: ./.github/actions/buildnative
132132

133-
- name: Build Cocoa SDK
134-
if: runner.os == 'macOS'
135-
uses: ./.github/actions/buildcocoasdk
136-
137133
- name: Restore .NET Dependencies
138134
run: dotnet restore Sentry-CI-Build-${{ runner.os }}.slnf --nologo
139135

.github/workflows/device-tests-ios.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ jobs:
2828
with:
2929
submodules: recursive
3030

31-
- name: Build Cocoa SDK
32-
uses: ./.github/actions/buildcocoasdk
33-
3431
- name: Setup Environment
3532
uses: ./.github/actions/environment
3633

.github/workflows/update-deps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
matrix:
1616
include:
1717
- name: Cocoa SDK
18-
path: modules/sentry-cocoa
18+
path: modules/sentry-cocoa.properties
1919
- name: Java SDK
2020
path: scripts/update-java.ps1
2121
- name: Native SDK

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,6 @@ test/**/*.apk
2727
/tools/
2828
*.log
2929
.sentry-native
30+
31+
# Download cache for Cocoa SDK
32+
modules/sentry-cocoa

.gitmodules

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
[submodule "modules/Ben.Demystifier"]
22
path = modules/Ben.Demystifier
33
url = https://github.com/getsentry/Ben.Demystifier
4-
[submodule "modules/sentry-cocoa"]
5-
path = modules/sentry-cocoa
6-
url = https://github.com/getsentry/sentry-cocoa.git
74
[submodule "modules/perfview"]
85
path = modules/perfview
96
url = https://github.com/getsentry/perfview.git

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
### Dependencies
2222

23+
- Bump Cocoa SDK from v8.36.0 to v8.39.0 ([#3727](https://github.com/getsentry/sentry-dotnet/pull/3727))
24+
- [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8390)
25+
- [diff](https://github.com/getsentry/sentry-cocoa/compare/8.36.0...8.39.0)
2326
- Bump CLI from v2.38.1 to v2.38.2 ([#3728](https://github.com/getsentry/sentry-dotnet/pull/3728))
2427
- [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2382)
2528
- [diff](https://github.com/getsentry/sentry-cli/compare/2.38.1...2.38.2)

Sentry.sln

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ EndProject
148148
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SingleFileTestApp", "test\SingleFileTestApp\SingleFileTestApp.csproj", "{162A1CAE-ACEE-45CA-A6D0-7702ADE4D3DE}"
149149
EndProject
150150
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "modules", "modules", "{A3CCA27E-4DF8-479D-833C-CAA0950715AA}"
151+
ProjectSection(SolutionItems) = preProject
152+
modules\sentry-cocoa.properties = modules\sentry-cocoa.properties
153+
EndProjectSection
151154
EndProject
152155
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TraceEvent", "modules\perfview\src\TraceEvent\TraceEvent.csproj", "{67269916-C417-4CEE-BD7D-CA66C3830AEE}"
153156
EndProject

modules/sentry-cocoa

Lines changed: 0 additions & 1 deletion
This file was deleted.

modules/sentry-cocoa.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
version = 8.39.0
2+
repo = https://github.com/getsentry/sentry-cocoa

0 commit comments

Comments
 (0)