Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 3 additions & 1 deletion Sources/Configuration/SDK.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ DEFINES_MODULE = YES
DYLIB_COMPATIBILITY_VERSION = 1
DYLIB_CURRENT_VERSION = 1
DYLIB_INSTALL_NAME_BASE = @rpath
MACH_O_TYPE = mh_dylib
MACH_O_TYPE_YES = staticlib
MACH_O_TYPE_ = mh_dylib
MACH_O_TYPE = $(MACH_O_TYPE_$(USE_STATIC))
FRAMEWORK_VERSION = A

CURRENT_PROJECT_VERSION = 8.56.0
Expand Down
1 change: 1 addition & 0 deletions TestSamples/SwiftUICrashTest/test-crash-and-relaunch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ xcodebuild -workspace Sentry.xcworkspace \
-derivedDataPath DerivedData \
-configuration Debug \
CODE_SIGNING_REQUIRED=NO \
USE_STATIC=YES \
build 2>&1 | tee raw-build.log | xcbeautify

xcrun simctl runtime dyld_shared_cache update iOS18.4
Expand Down
8 changes: 5 additions & 3 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ platform :ios do
ios_swift_share_extension_infoplist_path = "./Samples/iOS-Swift/iOS-Swift-ShareExtension/Info.plist"

# Helper method to run tests with common configuration
def run_ui_tests(scheme:, result_bundle_name:, device: nil, address_sanitizer: false)
def run_ui_tests(scheme:, result_bundle_name:, device: nil, address_sanitizer: false, xcargs: nil)
configuration = if is_ci then 'TestCI' else 'Test' end
result_bundle_path = "test_results/#{result_bundle_name}.xcresult"
FileUtils.rm_r(result_bundle_path) if File.exist?(result_bundle_path)
Expand All @@ -23,7 +23,8 @@ platform :ios do
result_bundle: true,
result_bundle_path: "fastlane/#{result_bundle_path}",
device: device,
address_sanitizer: address_sanitizer
address_sanitizer: address_sanitizer,
xcargs: xcargs
)
end

Expand Down Expand Up @@ -222,7 +223,8 @@ platform :ios do
lane :ui_critical_tests_ios_swiftui_all do
run_ui_tests(
scheme: "SwiftUITestSampleAll",
result_bundle_name: "ui_critical_tests_ios_swiftui_all"
result_bundle_name: "ui_critical_tests_ios_swiftui_all",
xcargs: "USE_STATIC='YES'"
)
end

Expand Down
Loading