sentry-cocoa / TestApps
AGENTS.md1.1k starsChanged 3 months agoMITView on GitHub
Scope: TestApps/**. Also follow root instructions. CRITICAL: ALWAYS use the Makefile to regenerate test app projects. Never run xcodegen directly. For each test app, you can: The following test apps have UI test suites:
Trending
Quiet this year.thin dataabout the whole repository
Who's talking about getsentry/sentry-cocoa
- getsentry/sentry-react-native“(ios only) codepush.restartApp triggers invalid OutOfMemory errors”GitHub · Oct 13, 2021 · 15 reactions
- expo/expo“[SDK 51] Xcode 16 compilation fails on pegged Sentry version”GitHub · Jul 2, 2024 · 14 reactions
- getsentry/sentry-java“JVM Profiling”GitHub · Apr 1, 2023 · 14 reactions
- getsentry/sentry-react-native“missing ucontext64_t type Xcode Version 16.0 (16A242d)”GitHub · Sep 18, 2024 · 8 reactions
- getsentry/sentry-dotnet“Feature: Session Replay support for .NET MAUI”GitHub · Jan 30, 2023 · 8 reactions
The biggest 5 of 13 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 13
Talked about on GitHub (13 times).
On GitHub · 13
- Oct 13, 2021(ios only) codepush.restartApp triggers invalid OutOfMemory errors — getsentry/sentry-react-native15 reactions · 77 comments
- Jul 2, 2024[SDK 51] Xcode 16 compilation fails on pegged Sentry version — expo/expo14 reactions · 12 comments
- Apr 1, 2023JVM Profiling — getsentry/sentry-java14 reactions · 18 comments
- Sep 18, 2024missing ucontext64_t type Xcode Version 16.0 (16A242d) — getsentry/sentry-react-native8 reactions · 2 comments
- Jan 30, 2023Feature: Session Replay support for .NET MAUI — getsentry/sentry-dotnet8 reactions · 9 comments
8 more on GitHub
- Apr 16, 2025RCN Fetch failure: cannot parse response — firebase/firebase-ios-sdk6 reactions · 22 comments
- Nov 4, 2020Version 2.0.0 not building with use_frameworks — getsentry/sentry-react-native6 reactions · 4 comments
- Mar 25, 2024Apple privacy manifest requirements (File timestamp, System boot time & Disk space) — getsentry/sentry-react-native5 reactions · 8 comments
- Mar 25, 2024feat(replay): Add Mobile Replay Alpha — getsentry/sentry-react-native4 reactions · 8 comments
- Oct 22, 2025Session Replay for iOS — getsentry/sentry-dotnet3 reactions · 2 comments
- Sep 24, 2024Public API for manual replay control — getsentry/sentry3 reactions · 10 comments
- Feb 1, 2024[Epic] Mobile Session Replay — getsentry/sentry3 reactions · 2 comments
- Nov 20, 2023Tracing: W3C Trace Context Support — getsentry/team-sdks3 reactions · 9 comments
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- develop-docs/AGENTS.mdAGENTS.md
- .github/AGENTS.mdAGENTS.md
- scripts/AGENTS.mdAGENTS.md
- Sources/AGENTS.mdAGENTS.md
- Tests/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- relay-conformance-auditSkill
The file
We split this AGENTS.md into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 7
Put source in Sources/, assets in Resources/, and Info.plist, entitlements, and xcconfig files in Configuration/
- Very specific: line 21
Run affected UI tests with make test-testapp-<name>-ui when behavior changes
- Very specific: line 22
Use make test-ui-critical for critical UI coverage
- Very specific: line 23
Follow assertion conventions in Tests/AGENTS.md
- Very specific: line 27
CRITICAL: ALWAYS use the Makefile to regenerate test app projects.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Test Apps
Scope:
TestApps/**. Also follow root instructions.
Layout
- Put source in
Sources/, assets inResources/, and Info.plist, entitlements, and xcconfig files inConfiguration/ - Preserve empty required directories with
.gitkeep
Project Generation
- Generate XcodeGen-based test app projects through Make targets, never by invoking
xcodegendirectly - Build one package-based test app with
swift build --package-path TestApps/<name> - Generate one XcodeGen project with
make xcode-ci-<name> - Generate all XcodeGen projects with
make xcode-ci - Generate and build one testapp with
make build-testapp-<name>
Validation
- Build affected test apps with
make build-testapp-<name> - Run affected UI tests with
make test-testapp-<name>-uiwhen behavior changes - Use
make test-ui-criticalfor critical UI coverage - Follow assertion conventions in
Tests/AGENTS.md
Generating TestApp Projects
CRITICAL: ALWAYS use the Makefile to regenerate test app projects. Never run xcodegen directly.
# Regenerate a specific project (without building)
make xcode-ci-iOS-Swift
# Regenerate all Xcode projects
make xcode-ci
# Regenerate AND build a specific test app
make build-testapp-iOS-SwiftTestApp Workflow
For each test app, you can:
- Generate — Create/update Xcode project from
.ymlspec - Build — Compile the test app
- Test — Run UI tests (for apps with UI test suites)
Commands
| Command | Description |
| Generate (Project Creation) | |
make xcode-ci | Regenerate all Xcode projects |
make xcode-ci-<name> | Regenerate specific project (e.g., xcode-ci-SPM) |
| Build | |
make build-testapps | Build all test apps |
make build-testapp-<name> | Build specific test app (e.g., build-testapp-iOS-Swift) |
make <target> FOR_AGENTS=true | Reduce output for supported SDK platform build/test targets. Inspect raw-*-output.log only when reduced output is inconclusive. |
| Test (UI Tests) | |
make test-testapps-ui | Run all test app UI tests |
make test-testapp-<name>-ui | Run specific test app UI tests (e.g., iOS-Swift-ui) |
make test-ui-critical | Run critical UI test suites for validation |
Test Apps with UI Tests
The following test apps have UI test suites:
iOS-Swift— Comprehensive UI tests for iOS Swift test appiOS-SwiftUI— SwiftUI-specific UI tests including feedbackiOS-Swift6— Swift 6 compatibility testsiOS-ObjectiveC— Objective-C UI testsmacOS-Swift— macOS app UI teststvOS-Swift— tvOS app UI tests
Each UI test target follows the naming pattern <TestAppName>-UITests and references a test plan at Plans/<TestAppName>_Base.xctestplan.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

