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

Ensure iOS trim tests run in CI #3852

Open
jamescrosswell opened this issue Dec 18, 2024 · 2 comments
Open

Ensure iOS trim tests run in CI #3852

jamescrosswell opened this issue Dec 18, 2024 · 2 comments

Comments

@jamescrosswell
Copy link
Collaborator

We have trim tests for Android and iOS but currently we're not running the iOS ones in CI. To turn these on we'd need to install provisioning profiles etc. on the CI runner.

# We can't publish iOS applications on CI yet. We'd need a valid bundle identifier and to install the relevant
# certificates/profiles on CI (presumably certs associated with the Sentry org).
# See https://youtrack.jetbrains.com/issue/RIDER-17115/Could-not-find-any-available-provisioning-profiles-for-iOS
# - name: Publish Test app (iOS)
# run: dotnet publish test/Sentry.MauiTrimTest/Sentry.MauiTrimTest.csproj -c Release -f net9.0-ios18.0 -r ios-arm64

Maybe chat to the Cocoa SDK team to see if they have an Apple Developer account for the Sentry org with a provisioning profile that we can use for this.

@jamescrosswell
Copy link
Collaborator Author

@philipphofmann or @armcknight are either of you able to help here? Do we already do anything like this for the Cocoa SDK (integration tests maybe)?

@philipphofmann
Copy link
Member

@jamescrosswell, yes we use fastlane for this. A good starting point is https://github.com/getsentry/sentry-cocoa/blob/main/.github/workflows/testflight.yml and https://github.com/getsentry/sentry-cocoa/tree/main/fastlane. We keep the signing keys in a private GH repo https://github.com/getsentry/codesigning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants