Skip to content

Commit 3ffd5bb

Browse files
ci: Fix SwiftUITestSample bridging header path (#6650)
Swift UI test lane failed to compile in CI because Xcode looked for the bridging header in a nested path that does not exist in a clean checkout. Updated the project and Tuist config to reference the header relative to the target so both local and CI builds succeed.
1 parent 20e2206 commit 3ffd5bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
#import "SentryDsn+Private.h"
1+
#import <Sentry/SentryDsn+Private.h>

TestSamples/SwiftUITestSample/SwiftUITestSample.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ targets:
2222
sources:
2323
- SwiftUITestSample
2424
settings:
25-
SWIFT_OBJC_BRIDGING_HEADER: TestSamples/SwiftUITestSample/SwiftUITestSample-Bridging-Header.h
25+
SWIFT_OBJC_BRIDGING_HEADER: SwiftUITestSample-Bridging-Header.h
2626
configFiles:
2727
Debug: SwiftUITestSample.xcconfig
2828
Release: SwiftUITestSample.xcconfig

0 commit comments

Comments
 (0)