Skip to content

Commit 9e109bc

Browse files
committed
Merge remote-tracking branch 'origin/main' into armcknight/fix/launch-profile-rerun
2 parents dcb3a4f + 76950aa commit 9e109bc

File tree

50 files changed

+551
-137
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+551
-137
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
- Fix building with Xcode 26 (#5386)
1212
- Fix usage of `@available` to be `iOS` instead of `iOSApplicationExtension` (#5361)
1313
- Improve launch profile configuration management (#5318)
14+
- Robustness against corrupt launch profile configuration files (#5447)
1415

1516
### Improvements
1617

@@ -19,6 +20,10 @@
1920
- Move SentryExperimentalOptions to a property defined in Swift (#5329)
2021
- Add redaction in session replay for `SFSafariView` used by `SFSafariViewController` and `ASWebAuthenticationSession` (#5408)
2122

23+
### Fixes
24+
25+
- Manually add `dyld` image to image cache to fix dyld symbols appearing as `unknown` (#5418)
26+
2227
## 8.52.1
2328

2429
### Fixes

Samples/SentrySampleShared/SentrySampleShared.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,13 @@ targets:
2727
Release: SentrySampleShared.xcconfig
2828
Test: SentrySampleShared.xcconfig
2929
TestCI: SentrySampleShared.xcconfig
30+
SentrySampleUITestShared:
31+
type: framework
32+
platform: auto
33+
sources:
34+
- SentrySampleUITestShared
35+
configFiles:
36+
Debug: SentrySampleUITestShared.xcconfig
37+
Release: SentrySampleUITestShared.xcconfig
38+
Test: SentrySampleUITestShared.xcconfig
39+
TestCI: SentrySampleUITestShared.xcconfig
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#include "../Shared/Config/Architectures.xcconfig"
2+
#include "../Shared/Config/BuildOptions.xcconfig"
3+
#include "../Shared/Config/Deployment.xcconfig"
4+
#include "../Shared/Config/Linking.xcconfig"
5+
#include "../Shared/Config/Localization.xcconfig"
6+
#include "../Shared/Config/Packaging.xcconfig"
7+
#include "../Shared/Config/SearchPaths.xcconfig"
8+
#include "../Shared/Config/Signing.xcconfig"
9+
#include "../Shared/Config/Versioning.xcconfig"
10+
#include "../Shared/Config/CodeGeneration.xcconfig"
11+
#include "../Shared/Config/ClangLanguage.xcconfig"
12+
#include "../Shared/Config/ClangCppLanguage.xcconfig"
13+
#include "../Shared/Config/ClangModules.xcconfig"
14+
#include "../Shared/Config/ClangObjCLanguage.xcconfig"
15+
#include "../Shared/Config/ClangPreprocessing.xcconfig"
16+
#include "../Shared/Config/ClangWarnings.xcconfig"
17+
#include "../Shared/Config/ClangWarningsCpp.xcconfig"
18+
#include "../Shared/Config/ClangWarningsObjC.xcconfig"
19+
#include "../Shared/Config/AssetCatalog.xcconfig"
20+
#include "../Shared/Config/ClangAnalyzer.xcconfig"
21+
#include "../Shared/Config/Swift.xcconfig"
22+
#include "../Shared/Config/Metal.xcconfig"
23+
24+
PRODUCT_BUNDLE_IDENTIFIER = io.sentry.SentrySampleUITestShared
25+
INFOPLIST_FILE = SentrySampleUITestShared/Info.plist
26+
SUPPORTED_PLATFORMS = xrsimulator xros watchsimulator watchos macosx iphonesimulator iphoneos driverkit appletvsimulator appletvos
27+
28+
CODE_SIGN_STYLE = Manual
29+
CODE_SIGN_IDENTITY =
30+
CODE_SIGN_IDENTITY[sdk=macosx*] =
31+
PROVISIONING_PROFILE_SPECIFIER =
32+
DEVELOPMENT_TEAM =
33+
34+
TARGETED_DEVICE_FAMILY = 1,2,3,4,7
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>CFBundleDevelopmentRegion</key>
6+
<string>$(DEVELOPMENT_LANGUAGE)</string>
7+
<key>CFBundleExecutable</key>
8+
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
15+
<key>CFBundlePackageType</key>
16+
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>$(MARKETING_VERSION)</string>
19+
<key>CFBundleVersion</key>
20+
<string>$(CURRENT_PROJECT_VERSION)</string>
21+
<key>NSHumanReadableCopyright</key>
22+
<string></string>
23+
</dict>
24+
</plist>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#import <Foundation/Foundation.h>
2+
3+
//! Project version number for SentrySampleUITestShared.
4+
FOUNDATION_EXPORT double SentrySampleUITestSharedVersionNumber;
5+
6+
//! Project version string for SentrySampleUITestShared.
7+
FOUNDATION_EXPORT const unsigned char SentrySampleUITestSharedVersionString[];
8+
9+
#import <SentrySampleUITestShared/SentryProcessInfo.h>

Samples/iOS-Swift/iOS-Benchmarking/SentrySDKPerformanceBenchmarkTests.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#import "SentryProcessInfo.h"
1+
@import SentrySampleUITestShared;
22
#import <XCTest/XCTest.h>
33
#import <objc/runtime.h>
44

Samples/iOS-Swift/iOS-Swift-UITests/BaseUITest.swift

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import SentrySampleUITestShared
12
import XCTest
23

34
class BaseUITest: XCTestCase {
@@ -37,10 +38,17 @@ extension BaseUITest {
3738
for (k, v) in env {
3839
app.launchEnvironment[k] = v
3940
}
41+
4042
// App prewarming can sometimes cause simulators to get stuck in UI tests, activating them
4143
// before launching clears any prewarming state.
4244
app.activate()
43-
app.launch()
45+
46+
// Calling activate() and then launch() effectively launches the app twice, interfering with
47+
// local debugging. Check for attached debuggers first.
48+
if !isDebugging() {
49+
app.launch()
50+
}
51+
4452
waitForExistenceOfMainScreen()
4553
}
4654

Samples/iOS-Swift/iOS-Swift.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ targets:
7171
platform: auto
7272
sources:
7373
- iOS-Swift-UITests
74+
dependencies:
75+
- target: SentrySampleShared/SentrySampleUITestShared
7476
configFiles:
7577
Debug: iOS-Swift-UITests.xcconfig
7678
Release: iOS-Swift-UITests.xcconfig
@@ -82,6 +84,8 @@ targets:
8284
sources:
8385
- iOS-Benchmarking
8486
- ../Shared/SampleAssets.xcassets
87+
dependencies:
88+
- target: SentrySampleShared/SentrySampleUITestShared
8589
configFiles:
8690
Debug: iOS-Benchmarking.xcconfig
8791
Release: iOS-Benchmarking.xcconfig

0 commit comments

Comments
 (0)