Skip to content

test: sample app build tooling #5200

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

Draft
wants to merge 414 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
414 commits
Select commit Hold shift + click to select a range
297e221
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight Apr 25, 2025
ffca3af
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight Apr 25, 2025
94bb3c8
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight Apr 26, 2025
561314c
fix include paths
armcknight Apr 26, 2025
c552288
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight Apr 26, 2025
4ad8a29
fix paths to versioning config
armcknight Apr 26, 2025
a77efd7
fix iOS-Swift6 ui test container
armcknight Apr 26, 2025
e3c1113
Merge branch 'armcknight/ci/ios-swift-xcodegen' into armcknight/ci/io…
armcknight Apr 26, 2025
2619252
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight Apr 26, 2025
5aac50e
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight Apr 26, 2025
e61760c
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight Apr 26, 2025
18644ec
make xcode before benchmark run
armcknight Apr 26, 2025
1707309
Merge branch 'armcknight/ci/ios-swift-xcodegen' into armcknight/ci/io…
armcknight Apr 26, 2025
0cc9ac3
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight Apr 26, 2025
b0e86e0
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight Apr 26, 2025
37b6f13
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight Apr 26, 2025
6468e23
try adding destination/sdk
armcknight Apr 26, 2025
857101a
try build_ios_app
armcknight Apr 26, 2025
61af250
tweak params
armcknight Apr 26, 2025
1f9d6f3
use testci config
armcknight Apr 26, 2025
8fdbe35
set missing profile settings
armcknight Apr 26, 2025
84c45de
fix schemes to match old project, put back fastfile changes
armcknight Apr 26, 2025
793e592
Merge branch 'main' into armcknight/ci/camera-sample-with-xcodegen
armcknight Apr 30, 2025
ccff1ba
Merge branch 'armcknight/ci/camera-sample-with-xcodegen' into armckni…
armcknight Apr 30, 2025
cc0089d
Merge branch 'armcknight/ci/ios-swift-xcodegen' into armcknight/ci/io…
armcknight Apr 30, 2025
806e644
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight Apr 30, 2025
84d92b1
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight Apr 30, 2025
46b6443
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight Apr 30, 2025
fb9498c
move lorem ipsum file to shared location
armcknight Apr 30, 2025
6816489
convert iOS-SwiftUI to xcodegen
armcknight Apr 30, 2025
e5f4d1b
convert iOS15-SwiftUI to xcodegen
armcknight Apr 30, 2025
be778da
convert visionOS-Swift to xcodegen
armcknight Apr 30, 2025
e526173
dont specify an automatic profile specifier with automatic signing
armcknight Apr 30, 2025
ed74758
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight Apr 30, 2025
0bf8489
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight Apr 30, 2025
752feb4
convert macOS-SwiftUI to xcodegen
armcknight Apr 30, 2025
dbd5791
add mac app icons
armcknight Apr 30, 2025
01ce536
get macOS-Swft working including tests
armcknight May 1, 2025
799cd89
ios-objc under xcodegen
armcknight May 1, 2025
deb35f4
get macOS-Swft working including tests
armcknight May 1, 2025
65f1ade
fix some issues with the configs
armcknight May 1, 2025
c335388
add some missing settings to config file
armcknight May 1, 2025
a5cebf0
test
armcknight May 2, 2025
1103f53
Merge branch 'armcknight/ci/camera-sample-with-xcodegen' into armckni…
armcknight May 2, 2025
4ce1960
Merge branch 'armcknight/ci/ios-swift-xcodegen' into armcknight/ci/io…
armcknight May 2, 2025
dc0a0e2
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight May 2, 2025
c36b984
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight May 2, 2025
172e140
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight May 2, 2025
b445241
Merge branch 'armcknight/meta/correct-version-setting' into armcknigh…
armcknight May 2, 2025
5203f20
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 2, 2025
0215732
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 2, 2025
4c6220d
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 2, 2025
c0d2ce2
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 2, 2025
4d1cc0d
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 2, 2025
568d4ae
fix plist file
armcknight May 2, 2025
5b7afaf
Merge branch 'armcknight/ci/camera-sample-with-xcodegen' into armckni…
armcknight May 2, 2025
2217b33
Merge branch 'armcknight/ci/ios-swift-xcodegen' into armcknight/ci/io…
armcknight May 2, 2025
05a7e52
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight May 2, 2025
894f4b6
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight May 2, 2025
c5f4707
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight May 2, 2025
13a1796
Merge branch 'armcknight/meta/correct-version-setting' into armcknigh…
armcknight May 2, 2025
21cdad8
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 2, 2025
2efe4d1
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 2, 2025
8a5922a
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 2, 2025
1749f11
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 2, 2025
4c0de6d
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 2, 2025
7ef3e3e
remove trash file
armcknight May 2, 2025
51c1e79
add note to devdocs
armcknight May 2, 2025
18ec7a7
open the workspace after generating the projects
armcknight May 2, 2025
b2d4581
Merge branch 'armcknight/ci/camera-sample-with-xcodegen' into armckni…
armcknight May 2, 2025
9380be2
Merge branch 'armcknight/ci/ios-swift-xcodegen' into armcknight/ci/io…
armcknight May 2, 2025
1d9b4a9
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight May 3, 2025
6cdaddd
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight May 3, 2025
cb9f131
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight May 3, 2025
0a5e544
Merge branch 'armcknight/meta/correct-version-setting' into armcknigh…
armcknight May 3, 2025
a79970e
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 3, 2025
204e128
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 3, 2025
89059cf
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 3, 2025
b2ead06
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 3, 2025
48e5e7c
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 3, 2025
f2e4b41
add missing link
armcknight May 3, 2025
c4ec203
Merge branch 'armcknight/ci/camera-sample-with-xcodegen' into armckni…
armcknight May 3, 2025
80f203d
Merge branch 'armcknight/ci/ios-swift-xcodegen' into armcknight/ci/io…
armcknight May 3, 2025
821b7b7
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight May 3, 2025
ca2c71b
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight May 3, 2025
9608af4
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight May 3, 2025
50e5ffc
Merge branch 'armcknight/meta/correct-version-setting' into armcknigh…
armcknight May 3, 2025
402d037
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 3, 2025
797577b
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 3, 2025
3d67f40
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 3, 2025
8c4b2cd
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 3, 2025
0335b1e
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 3, 2025
406cd7d
trying again to exactly match the signing settings for performance be…
armcknight May 5, 2025
76163da
use debug config for test builds of performance benchmark target/scheme
armcknight May 5, 2025
ffea2a8
fix camera app config
armcknight May 5, 2025
78c6cde
Merge branch 'armcknight/ci/ios-swift-xcodegen' into armcknight/ci/io…
armcknight May 5, 2025
6908d3b
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight May 5, 2025
27a24ba
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight May 5, 2025
77985ea
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight May 5, 2025
db113cd
Merge branch 'armcknight/meta/correct-version-setting' into armcknigh…
armcknight May 5, 2025
b9ab1c5
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 5, 2025
303c0a6
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 5, 2025
3c8a137
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 5, 2025
4a452ac
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 5, 2025
b49f0ee
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 5, 2025
1e0e690
remove redundant path spec
armcknight May 5, 2025
ebe4140
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight May 5, 2025
390966e
Merge branch 'armcknight/meta/correct-version-setting' into armcknigh…
armcknight May 5, 2025
e69d02f
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 5, 2025
ec249b9
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 5, 2025
4b3445b
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 5, 2025
a08d993
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 5, 2025
344578c
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 5, 2025
9652859
fix script and simplify
armcknight May 5, 2025
703284f
Merge branch 'armcknight/meta/correct-version-setting' into armcknigh…
armcknight May 5, 2025
23dd492
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 5, 2025
c2bc43a
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 5, 2025
4675eaa
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 5, 2025
6eb45d6
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 5, 2025
00042ed
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 5, 2025
6186400
put back functional changes
armcknight May 5, 2025
765b95b
fixup! put back functional changes
armcknight May 6, 2025
07394c4
comment stating reason for other app targets
armcknight May 6, 2025
8321b95
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 6, 2025
15c77b2
WIP: tvOS project under xcodegen
armcknight May 6, 2025
5148574
modify to correct values
armcknight May 6, 2025
c16b7f9
works with ui tests for both app targets
armcknight May 6, 2025
b8ae6e7
fix ui test workflow
armcknight May 6, 2025
fbbea56
Merge branch 'armcknight/ci/ios-objectivec-xcodegen' into armcknight/…
armcknight May 6, 2025
b1590ca
fix ci invocation of make task
armcknight May 6, 2025
7706bf6
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight May 6, 2025
c8cd64a
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight May 6, 2025
6abb1cc
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight May 6, 2025
a59db75
Merge branch 'armcknight/meta/correct-version-setting' into armcknigh…
armcknight May 6, 2025
5e9e222
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 6, 2025
03aa3ea
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 6, 2025
e45a553
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 6, 2025
e27f342
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 6, 2025
875da14
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 6, 2025
f77fe32
Merge branch 'armcknight/ci/ios-objectivec-xcodegen' into armcknight/…
armcknight May 6, 2025
0862e78
fix camera test config
armcknight May 6, 2025
0e2fd89
Merge branch 'armcknight/meta/correct-version-setting' into armcknigh…
armcknight May 6, 2025
7f70cdc
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 6, 2025
a60fd40
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 6, 2025
6c145e5
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 6, 2025
d2b06ad
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 6, 2025
62b2711
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 6, 2025
9ab253d
Merge branch 'armcknight/ci/ios-objectivec-xcodegen' into armcknight/…
armcknight May 6, 2025
5dcdd78
wip
armcknight May 6, 2025
ae35e63
fixup! wip
armcknight May 6, 2025
32b5ff9
more wip
armcknight May 6, 2025
8b2f3dd
add back dev asset path
armcknight May 6, 2025
fc52fc0
wip building the new shared lib project with xcodegen and using from …
armcknight May 6, 2025
de81596
get working in iOS-Swift
armcknight May 6, 2025
dbc59e6
get building in macOS-Swift; inherit deployment targets from SDK config
armcknight May 6, 2025
03af5e7
remove plan from sentry project so it lives only in sample
armcknight May 6, 2025
2473223
remove plan from sentry project so it lives only in sample
armcknight May 6, 2025
667895e
remove plan from sentry project so it lives only in sample
armcknight May 6, 2025
02dcb0a
remove plan from sentry project so it lives only in sample
armcknight May 6, 2025
38eb0eb
remove plan from sentry project so it lives only in sample
armcknight May 6, 2025
4cefe54
remove plan from sentry project so it lives only in sample
armcknight May 6, 2025
7aa06e1
remove plan from sentry project so it lives only in sample
armcknight May 6, 2025
94022ec
remove plan from sentry project so it lives only in sample
armcknight May 6, 2025
c293253
remove plan from sentry project so it lives only in sample
armcknight May 6, 2025
7c1c351
remove plan from sentry project so it lives only in sample
armcknight May 6, 2025
3a491f3
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight May 6, 2025
b5f1e07
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight May 6, 2025
8ab0937
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight May 6, 2025
ba47ba0
Merge branch 'armcknight/meta/correct-version-setting' into armcknigh…
armcknight May 6, 2025
d3d2de0
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 6, 2025
d28fa45
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 6, 2025
299ac1c
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 6, 2025
4e0ed1c
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 6, 2025
dd34cd8
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 6, 2025
80697e8
Merge branch 'armcknight/ci/ios-objectivec-xcodegen' into armcknight/…
armcknight May 6, 2025
e3194dd
Merge branch 'armcknight/ci/tvos-swift-xcodegen' into armcknight/ci/w…
armcknight May 6, 2025
7309c67
Merge branch 'armcknight/ci/watchos-swift-xcodegen' into armcknight/t…
armcknight May 6, 2025
192a1b5
getting closer to building and running
armcknight May 6, 2025
ae5d25f
get working
armcknight May 6, 2025
e8980b8
Merge branch 'armcknight/ci/watchos-swift-xcodegen' into armcknight/t…
armcknight May 6, 2025
39619ce
fix swiftui ui tests
armcknight May 6, 2025
fc2de34
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 6, 2025
833e01a
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 6, 2025
818350f
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 6, 2025
b01d2b8
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 6, 2025
9e5a0b4
Merge branch 'armcknight/ci/ios-objectivec-xcodegen' into armcknight/…
armcknight May 6, 2025
49fe4b5
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 6, 2025
9c7bedb
Merge branch 'armcknight/ci/tvos-swift-xcodegen' into armcknight/ci/w…
armcknight May 6, 2025
d6d377d
Merge branch 'armcknight/ci/watchos-swift-xcodegen' into armcknight/t…
armcknight May 6, 2025
a7b7e37
Format code
getsentry-bot May 6, 2025
5dcfcc9
update tv and watch app project specs
armcknight May 6, 2025
646ebf7
remove unused asset catalogs
armcknight May 6, 2025
2661001
remove unused asset catalog
armcknight May 6, 2025
4437457
fix ui tests
armcknight May 6, 2025
58a5894
Merge branch 'armcknight/ci/ios-swift6-xcodegen' into armcknight/ci/i…
armcknight May 6, 2025
446fd9d
Merge branch 'armcknight/ci/ios13-swift-xcodegen' into armcknight/ci/…
armcknight May 6, 2025
2431dcf
Merge branch 'armcknight/ci/ios-swift-cleanup' into armcknight/meta/c…
armcknight May 6, 2025
641ac4e
Merge branch 'armcknight/meta/correct-version-setting' into armcknigh…
armcknight May 6, 2025
551f738
Merge branch 'armcknight/ci/ios-swftui-xcodegen' into armcknight/ci/i…
armcknight May 6, 2025
08b90d7
Merge branch 'armcknight/ci/ios15-swiftui-xcodegen' into armcknight/c…
armcknight May 6, 2025
7a8f2d4
Merge branch 'armcknight/ci/visionos-swift-xcodegen' into armcknight/…
armcknight May 6, 2025
f57864b
Merge branch 'armcknight/ci/macos-swiftui-xcodegen' into armcknight/c…
armcknight May 6, 2025
24cdd55
Merge branch 'armcknight/ci/macos-swift-xcodegen' into armcknight/ci/…
armcknight May 6, 2025
45a5928
Merge branch 'armcknight/ci/ios-objectivec-xcodegen' into armcknight/…
armcknight May 6, 2025
a0c3c92
Merge branch 'armcknight/ci/tvos-swift-xcodegen' into armcknight/ci/w…
armcknight May 6, 2025
32e13c8
Merge branch 'armcknight/ci/watchos-swift-xcodegen' into armcknight/t…
armcknight May 6, 2025
228a5a4
integrate into tv/watch apps; keep app icon asset catalog drectly shared
armcknight May 6, 2025
80ab833
use shared lorem ipsum text file and screenshot; fix objc app
armcknight May 6, 2025
a5b9f6d
Merge branch 'main' into armcknight/test/shared-sdk-lib
armcknight May 7, 2025
bc6652f
updates and fixes after merge
armcknight May 7, 2025
95a973d
wip with scripts to build all sample apps in one command
armcknight May 7, 2025
d7d1d2f
clean up configs
armcknight May 7, 2025
5afb045
Merge branch 'armcknight/test/clean-up-xcconfigs' into armcknight/tes…
armcknight May 7, 2025
4ec7b89
Merge branch 'armcknight/test/shared-sdk-lib' into armkcnight/test/sa…
armcknight May 7, 2025
7069046
trying to use correct destinations for all schemes; stuck on watchOS
armcknight May 7, 2025
7479d75
dont need to manually sign iOS-SwiftUI-UITests
armcknight May 7, 2025
0e1d144
move SentrySDKOverrides and SentrySDKWrapper to shared lib
armcknight May 7, 2025
f9b5c6b
replace all sdk starts with SentrySDKWrapper.shared.startSentry()
armcknight May 7, 2025
3e9c9ad
share the launch args and environment vars to every sample app
armcknight May 7, 2025
1d7af60
move FeaturesViewController to shared lib
armcknight May 7, 2025
48e3392
move feature flags area from tab bar item to pushed view from extras …
armcknight May 7, 2025
e41a467
Merge branch 'armcknight/test/share-sdk-overrides' into armkcnight/te…
armcknight May 7, 2025
88916ac
only compile in iOS
armcknight May 7, 2025
6577b74
Merge branch 'armcknight/test/share-sdk-overrides' into armkcnight/te…
armcknight May 7, 2025
44e7636
remaining swift-based apps
armcknight May 7, 2025
bca401d
Merge branch 'armcknight/test/share-sdk-wrapper-xcodegen' into armckn…
armcknight May 7, 2025
1a23a29
move more session replay config options behind feature flags
armcknight May 7, 2025
1aee450
move logic to restart SDK from camera sample app to shared sdk overrides
armcknight May 7, 2025
3e952b6
Merge branch 'main' into armcknight/test/clean-up-xcconfigs
armcknight May 7, 2025
b8efdaf
Merge branch 'armcknight/test/clean-up-xcconfigs' into armcknight/tes…
armcknight May 7, 2025
927ce03
Merge branch 'armcknight/test/shared-sdk-lib' into armcknight/test/sh…
armcknight May 7, 2025
426ff9c
Merge branch 'armcknight/test/share-sdk-wrapper-xcodegen' into armckn…
armcknight May 7, 2025
258f50a
Merge branch 'armcknight/test/share-sdk-overrides' into armcknight/te…
armcknight May 7, 2025
091c49d
Merge branch 'armcknight/test/restart-sdk-on-reconfig' into armcknigh…
armcknight May 7, 2025
e0c3477
Merge branch 'armcknight/test/more-override-config' into armkcnight/t…
armcknight May 7, 2025
0d5ff59
remove noisy repetitive logging
armcknight May 7, 2025
760f8ac
Merge branch 'armcknight/test/restart-sdk-on-reconfig' into armcknigh…
armcknight May 7, 2025
bce6528
Merge branch 'armcknight/test/more-override-config' into armkcnight/t…
armcknight May 7, 2025
fec62f8
fix visionOS build
armcknight May 7, 2025
55f71a4
Merge branch 'armcknight/test/share-sdk-overrides' into armcknight/te…
armcknight May 7, 2025
b0301ef
Merge branch 'armcknight/test/share-sdk-wrapper-xcodegen' into armckn…
armcknight May 7, 2025
02587a2
Merge branch 'armcknight/test/restart-sdk-on-reconfig' into armcknigh…
armcknight May 7, 2025
8e30b1c
Merge branch 'armcknight/test/more-override-config' into armkcnight/t…
armcknight May 7, 2025
346bb42
fix camera app crash
armcknight May 8, 2025
8f640a7
Merge branch 'armcknight/test/clean-up-xcconfigs' into armcknight/tes…
armcknight May 9, 2025
e66b9de
Merge branch 'armcknight/test/shared-sdk-lib' into armcknight/test/sh…
armcknight May 9, 2025
7dd7755
Merge branch 'armcknight/test/share-sdk-wrapper-xcodegen' into armckn…
armcknight May 9, 2025
79549f6
Merge branch 'armcknight/test/share-sdk-overrides' into armcknight/te…
armcknight May 9, 2025
f5cf392
Merge branch 'armcknight/test/restart-sdk-on-reconfig' into armcknigh…
armcknight May 9, 2025
50a9d2e
Merge branch 'armcknight/test/more-override-config' into armkcnight/t…
armcknight May 9, 2025
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
25 changes: 25 additions & 0 deletions .build-sample-apps.tmuxinator.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: build-sample-apps

windows:
- build:
layout: tiled
panes:
- bash -c 'cd ./Samples/iOS13-Swift && xcodebuild build -scheme iOS13-Swift | xcbeautify; echo $? > /tmp/iOS13-Swift.exit'
- bash -c 'cd ./Samples/iOS-SwiftUI && xcodebuild build -scheme iOS-SwiftUI | xcbeautify; echo $? > /tmp/iOS-SwiftUI.exit'
- bash -c 'cd ./Samples/iOS-Swift6 && xcodebuild build -scheme iOS-Swift6 | xcbeautify; echo $? > /tmp/iOS-Swift6.exit'
- bash -c 'cd ./Samples/iOS-Swift && xcodebuild build -scheme iOS-Swift | xcbeautify; echo $? > /tmp/iOS-Swift.exit'
- bash -c 'cd ./Samples/watchOS-Swift && xcodebuild build -scheme "watchOS-Swift WatchKit App" | xcbeautify; echo $? > /tmp/watchOS-Swift.exit'
- bash -c 'cd ./Samples/visionOS-Swift && xcodebuild build -scheme visionOS-Swift | xcbeautify; echo $? > /tmp/visionOS-Swift.exit'
- bash -c 'cd ./Samples/tvOS-Swift && xcodebuild build -scheme tvOS-Swift | xcbeautify; echo $? > /tmp/tvOS-Swift.exit'
- bash -c 'cd ./Samples/macOS-SwiftUI && xcodebuild build -scheme macOS-SwiftUI | xcbeautify; echo $? > /tmp/macOS-SwiftUI.exit'
- bash -c 'cd ./Samples/macOS-Swift && xcodebuild build -scheme macOS-Swift | xcbeautify; echo $? > /tmp/macOS-Swift.exit'
- bash -c 'cd ./Samples/iOS15-SwiftUI && xcodebuild build -scheme iOS15-SwiftUI | xcbeautify; echo $? > /tmp/iOS15-SwiftUI.exit'
- bash -c 'cd ./Samples/iOS-ObjectiveC && xcodebuild build -scheme iOS-ObjectiveC | xcbeautify; echo $? > /tmp/iOS-ObjectiveC.exit'
- |
while [ ! -f /tmp/iOS13-Swift.exit ] || [ ! -f /tmp/iOS-SwiftUI.exit ] || [ ! -f /tmp/iOS-Swift6.exit ] || [ ! -f /tmp/iOS-Swift.exit ] || [ ! -f /tmp/watchOS-Swift.exit ] || [ ! -f /tmp/visionOS-Swift.exit ] || [ ! -f /tmp/tvOS-Swift.exit ] || [ ! -f /tmp/macOS-SwiftUI.exit ] || [ ! -f /tmp/macOS-Swift.exit ] || [ ! -f /tmp/iOS15-SwiftUI.exit ] || [ ! -f /tmp/iOS-ObjectiveC.exit ]; do
sleep 1
done
for file in /tmp/*.exit; do
echo "$file: $(cat $file)"
done
rm /tmp/*.exit
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -237,3 +237,4 @@ Samples/macOS-SwiftUI/macOS-SwiftUI.xcodeproj
Samples/tvOS-Swift/tvOS-Swift.xcodeproj
Samples/visionOS-Swift/visionOS-Swift.xcodeproj
Samples/watchOS-Swift/watchOS-Swift.xcodeproj
Samples/SentrySampleShared/SentrySampleShared.xcodeproj
2 changes: 2 additions & 0 deletions Brewfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ brew 'pre-commit'
brew 'python3'
brew 'xcbeautify'
brew 'rbenv'
brew 'tmux'
brew 'tmuxinator'
brew 'xcodegen'
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ release-pod:
pod trunk push SentrySwiftUI.podspec

xcode:
xcodegen --spec Samples/SentrySampleShared/SentrySampleShared.yml
xcodegen --spec Samples/SessionReplay-CameraTest/SessionReplay-CameraTest.yml
xcodegen --spec Samples/iOS-ObjectiveC/iOS-ObjectiveC.yml
xcodegen --spec Samples/iOS-Swift/iOS-Swift.yml
Expand All @@ -158,3 +159,8 @@ xcode:
xcodegen --spec Samples/visionOS-Swift/visionOS-Swift.yml
xcodegen --spec Samples/watchOS-Swift/watchOS-Swift.yml
open Sentry.xcworkspace

.PHONY: build-sample-apps

build-sample-apps:
tmuxinator start -p .build-sample-apps.tmuxinator.yml
32 changes: 32 additions & 0 deletions Samples/SentrySampleShared/SentrySampleShared.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#include "../Shared/Config/Architectures.xcconfig"
#include "../Shared/Config/BuildOptions.xcconfig"
#include "../Shared/Config/Deployment.xcconfig"
#include "../Shared/Config/Linking.xcconfig"
#include "../Shared/Config/Localization.xcconfig"
#include "../Shared/Config/Packaging.xcconfig"
#include "../Shared/Config/SearchPaths.xcconfig"
#include "../Shared/Config/Signing.xcconfig"
#include "../Shared/Config/Versioning.xcconfig"
#include "../Shared/Config/CodeGeneration.xcconfig"
#include "../Shared/Config/ClangLanguage.xcconfig"
#include "../Shared/Config/ClangCppLanguage.xcconfig"
#include "../Shared/Config/ClangModules.xcconfig"
#include "../Shared/Config/ClangObjCLanguage.xcconfig"
#include "../Shared/Config/ClangPreprocessing.xcconfig"
#include "../Shared/Config/ClangWarnings.xcconfig"
#include "../Shared/Config/ClangWarningsCpp.xcconfig"
#include "../Shared/Config/ClangWarningsObjC.xcconfig"
#include "../Shared/Config/AssetCatalog.xcconfig"
#include "../Shared/Config/ClangAnalyzer.xcconfig"
#include "../Shared/Config/Swift.xcconfig"
#include "../Shared/Config/Metal.xcconfig"

PRODUCT_BUNDLE_IDENTIFIER = io.sentry.SentrySampleShared
INFOPLIST_FILE = SentrySampleShared/Info.plist
SUPPORTED_PLATFORMS = xrsimulator xros watchsimulator watchos macosx iphonesimulator iphoneos driverkit appletvsimulator appletvos

CODE_SIGN_STYLE = Manual
CODE_SIGN_IDENTITY =
CODE_SIGN_IDENTITY[sdk=macosx*] =
PROVISIONING_PROFILE_SPECIFIER =
DEVELOPMENT_TEAM =
29 changes: 29 additions & 0 deletions Samples/SentrySampleShared/SentrySampleShared.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: SentrySampleShared
createIntermediateGroups: true
generateEmptyDirectories: true
configs:
Debug: debug
Test: debug
TestCI: debug
Release: release
projectReferences:
Sentry:
path: ../../Sentry.xcodeproj
fileGroups:
- ../Shared/Config
- SentrySampleShared.yml
options:
bundleIdPrefix: io.sentry
targets:
SentrySampleShared:
type: framework
platform: auto
sources:
- SentrySampleShared
dependencies:
- target: Sentry/Sentry
configFiles:
Debug: SentrySampleShared.xcconfig
Release: SentrySampleShared.xcconfig
Test: SentrySampleShared.xcconfig
TestCI: SentrySampleShared.xcconfig
94 changes: 94 additions & 0 deletions Samples/SentrySampleShared/SentrySampleShared/AssertView.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
#if !os(macOS) && !os(watchOS)

import Foundation
import Sentry
import UIKit

public class AssertView: UIView {
var span: Span?
public var autoHide = true

private var assertLabel: UILabel!
private var errorLabel: UILabel!

var message: String? {
get {
return assertLabel.text
}
set {
assertLabel.text = newValue
setNeedsLayout()
}
}

var errorMessage: String? {
get {
return errorLabel.text
}
set {
errorLabel.text = newValue
setNeedsLayout()
}
}

convenience init() {
self.init(frame: CGRect(x: 0, y: 0, width: 100, height: 100))
}

override init(frame: CGRect) {
super.init(frame: frame)
initialize()
}

required init?(coder: NSCoder) {
super.init(coder: coder)
initialize()
}

private func initialize() {
backgroundColor = UIColor(white: 0.3, alpha: 1)

assertLabel = UILabel().forAutoLayout()
assertLabel.textColor = UIColor(white: 1, alpha: 1)
assertLabel.accessibilityIdentifier = "ASSERT_MESSAGE"
addSubview(assertLabel)

errorLabel = UILabel().forAutoLayout()
errorLabel.textColor = UIColor(white: 1, alpha: 1)
errorLabel.accessibilityIdentifier = "ASSERT_ERROR"
errorLabel.numberOfLines = 0
addSubview(errorLabel)

let guide = self.safeAreaLayoutGuide

let constraints = [
assertLabel.topAnchor.constraint(equalTo: guide.topAnchor, constant: 16),
assertLabel.leftAnchor.constraint(equalTo: guide.leftAnchor, constant: 16),
assertLabel.rightAnchor.constraint(equalTo: guide.rightAnchor, constant: -16),

errorLabel.topAnchor.constraint(equalTo: assertLabel.bottomAnchor, constant: 16),
errorLabel.leftAnchor.constraint(equalTo: guide.leftAnchor, constant: 16),
errorLabel.rightAnchor.constraint(equalTo: guide.rightAnchor, constant: -16),
errorLabel.bottomAnchor.constraint(equalTo: guide.bottomAnchor, constant: 0)
]
NSLayoutConstraint.activate(constraints)
}

public override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
//If a tap occurs outside the view, it disappears
let result = super.hitTest(point, with: event)
if result == nil {
close()
}
return result
}

private func close() {
UIAssert.shared.reset()
if autoHide {
removeFromSuperview()
}
}
}

#endif // !os(macOS) && !os(watchOS)
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,33 @@ import Sentry
/**
* Stores the DSN to a file in the cache directory.
*/
class DSNStorage {

static let shared = DSNStorage()

public class DSNStorage {
public static let shared = DSNStorage()
private let dsnFile: URL

private init() {
// swiftlint:disable force_unwrapping
let cachesDirectory = FileManager.default.urls(for: .cachesDirectory, in: .userDomainMask).first!
// swiftlint:enable force_unwrapping
dsnFile = cachesDirectory.appendingPathComponent("dsn")
}
func saveDSN(dsn: String) throws {

public func saveDSN(dsn: String) throws {
try deleteDSN()
try dsn.write(to: dsnFile, atomically: true, encoding: .utf8)
}
func getDSN() throws -> String? {

public func getDSN() throws -> String? {
let fileManager = FileManager.default

guard fileManager.fileExists(atPath: dsnFile.path) else {
return nil
}

return try String(contentsOfFile: dsnFile.path)
}
func deleteDSN() throws {

public func deleteDSN() throws {
let fileManager = FileManager.default
if fileManager.fileExists(atPath: dsnFile.path) {
try fileManager.removeItem(at: dsnFile)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if !os(macOS) && !os(tvOS) && !os(watchOS)
import UIKit

class EnvironmentVariableTableViewCell: UITableViewCell, UITextFieldDelegate {
Expand Down Expand Up @@ -49,5 +50,7 @@ class EnvironmentVariableTableViewCell: UITableViewCell, UITextFieldDelegate {
} else {
override?.stringValue = textField.text
}
SentrySDKWrapper.shared.startSentry()
}
}
#endif // !os(macOS) && !os(tvOS) && !os(watchOS)
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#if !os(macOS) && !os(tvOS) && !os(watchOS)
import UIKit

class FeaturesViewController: UITableViewController {
override func viewDidLoad() {
public class FeaturesViewController: UITableViewController {
public override func viewDidLoad() {
super.viewDidLoad()
tableView.register(LaunchArgumentTableViewCell.self, forCellReuseIdentifier: "launchArgumentCell")
tableView.register(EnvironmentVariableTableViewCell.self, forCellReuseIdentifier: "environmentVariableCell")
Expand Down Expand Up @@ -34,11 +35,11 @@ class FeaturesViewController: UITableViewController {
tableView.reloadData()
}

override func numberOfSections(in tableView: UITableView) -> Int {
public override func numberOfSections(in tableView: UITableView) -> Int {
6
}

override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
public override func tableView(_ tableView: UITableView, titleForHeaderInSection section: Int) -> String? {
if section == 0 {
return "Special"
} else if section == 1 {
Expand All @@ -55,7 +56,7 @@ class FeaturesViewController: UITableViewController {
return nil
}

override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
public override func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
if section == 0 {
return SentrySDKOverrides.Special.allCases.count
} else if section == 1 {
Expand All @@ -72,7 +73,7 @@ class FeaturesViewController: UITableViewController {
return 0
}

override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
public override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if indexPath.section == 2 {
if SentrySDKOverrides.Tracing.boolValues.contains(SentrySDKOverrides.Tracing.allCases[indexPath.row]) {
let cell = tableView.dequeueReusableCell(withIdentifier: "launchArgumentCell", for: indexPath) as! LaunchArgumentTableViewCell
Expand Down Expand Up @@ -116,3 +117,4 @@ class FeaturesViewController: UITableViewController {
return cell
}
}
#endif // !os(macOS) && !os(tvOS) && !os(watchOS)
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import Foundation
import Sentry

extension Bundle {
var gitCommitHash: String? {
infoDictionary?["GIT_COMMIT_HASH"] as? String
}
var gitBranchName: String? {
infoDictionary?["GIT_BRANCH"] as? String
}
var gitStatusClean: Bool {
(infoDictionary?["GIT_STATUS_CLEAN"] as? String) == "1"
}
}

public func injectGitInformation(scope: Scope) {
if let commitHash = Bundle.main.gitCommitHash {
scope.setTag(value: "\(commitHash)\(Bundle.main.gitStatusClean ? "" : "-dirty")", key: "git-commit-hash")
}
if let branchName = Bundle.main.gitBranchName {
scope.setTag(value: branchName, key: "git-branch-name")
}
}

public class GitInjector: NSObject {
@objc public static func objc_injectGitInformation(into scope: Scope) {
injectGitInformation(scope: scope)
}
}
24 changes: 24 additions & 0 deletions Samples/SentrySampleShared/SentrySampleShared/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSHumanReadableCopyright</key>
<string></string>
</dict>
</plist>
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#if !os(macOS) && !os(tvOS) && !os(watchOS)
import Sentry
import UIKit

class LaunchArgumentTableViewCell: UITableViewCell {
Expand All @@ -11,6 +13,7 @@ class LaunchArgumentTableViewCell: UITableViewCell {

@objc func toggleFlag() {
override?.boolValue = flagSwitch.isOn
SentrySDKWrapper.shared.startSentry()
}

override init(style: UITableViewCell.CellStyle, reuseIdentifier: String?) {
Expand All @@ -31,3 +34,4 @@ class LaunchArgumentTableViewCell: UITableViewCell {
self.override = override
}
}
#endif // !os(macOS) && !os(tvOS) && !os(watchOS)
Loading