diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI.xcodeproj/project.pbxproj b/Samples/iOS15-SwiftUI/iOS15-SwiftUI.xcodeproj/project.pbxproj new file mode 100644 index 00000000000..fc1242297ff --- /dev/null +++ b/Samples/iOS15-SwiftUI/iOS15-SwiftUI.xcodeproj/project.pbxproj @@ -0,0 +1,610 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 55; + objects = { + +/* Begin PBXBuildFile section */ + 7B51664C2758C6F000C0A720 /* App.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B51664B2758C6F000C0A720 /* App.swift */; }; + 7B51664E2758C6F000C0A720 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B51664D2758C6F000C0A720 /* ContentView.swift */; }; + 7B5166502758C6F400C0A720 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B51664F2758C6F400C0A720 /* Assets.xcassets */; }; + 7B5166532758C6F400C0A720 /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7B5166522758C6F400C0A720 /* Preview Assets.xcassets */; }; + 7B5166772758C72600C0A720 /* Sentry.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7B5166762758C72600C0A720 /* Sentry.framework */; }; + 7B5166782758C72600C0A720 /* Sentry.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 7B5166762758C72600C0A720 /* Sentry.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 7B5166592758C6F400C0A720 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 7B5166402758C6F000C0A720 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7B5166472758C6F000C0A720; + remoteInfo = "iOS15-SwiftUI"; + }; + 7B5166632758C6F400C0A720 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 7B5166402758C6F000C0A720 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 7B5166472758C6F000C0A720; + remoteInfo = "iOS15-SwiftUI"; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXCopyFilesBuildPhase section */ + 7B5166792758C72600C0A720 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 7B5166782758C72600C0A720 /* Sentry.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + +/* Begin PBXFileReference section */ + 7B5166482758C6F000C0A720 /* iOS15-SwiftUI.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iOS15-SwiftUI.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 7B51664B2758C6F000C0A720 /* App.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = App.swift; sourceTree = ""; }; + 7B51664D2758C6F000C0A720 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; + 7B51664F2758C6F400C0A720 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; + 7B5166522758C6F400C0A720 /* Preview Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = "Preview Assets.xcassets"; sourceTree = ""; }; + 7B5166582758C6F400C0A720 /* iOS15-SwiftUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOS15-SwiftUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 7B5166622758C6F400C0A720 /* iOS15-SwiftUIUITests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "iOS15-SwiftUIUITests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 7B5166762758C72600C0A720 /* Sentry.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = Sentry.framework; sourceTree = BUILT_PRODUCTS_DIR; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 7B5166452758C6F000C0A720 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7B5166772758C72600C0A720 /* Sentry.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B5166552758C6F400C0A720 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B51665F2758C6F400C0A720 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 7B51663F2758C6F000C0A720 = { + isa = PBXGroup; + children = ( + 7B51664A2758C6F000C0A720 /* iOS15-SwiftUI */, + 7B5166492758C6F000C0A720 /* Products */, + 7B5166752758C72600C0A720 /* Frameworks */, + ); + sourceTree = ""; + }; + 7B5166492758C6F000C0A720 /* Products */ = { + isa = PBXGroup; + children = ( + 7B5166482758C6F000C0A720 /* iOS15-SwiftUI.app */, + 7B5166582758C6F400C0A720 /* iOS15-SwiftUITests.xctest */, + 7B5166622758C6F400C0A720 /* iOS15-SwiftUIUITests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + 7B51664A2758C6F000C0A720 /* iOS15-SwiftUI */ = { + isa = PBXGroup; + children = ( + 7B51664B2758C6F000C0A720 /* App.swift */, + 7B51664D2758C6F000C0A720 /* ContentView.swift */, + 7B51664F2758C6F400C0A720 /* Assets.xcassets */, + 7B5166512758C6F400C0A720 /* Preview Content */, + ); + path = "iOS15-SwiftUI"; + sourceTree = ""; + }; + 7B5166512758C6F400C0A720 /* Preview Content */ = { + isa = PBXGroup; + children = ( + 7B5166522758C6F400C0A720 /* Preview Assets.xcassets */, + ); + path = "Preview Content"; + sourceTree = ""; + }; + 7B5166752758C72600C0A720 /* Frameworks */ = { + isa = PBXGroup; + children = ( + 7B5166762758C72600C0A720 /* Sentry.framework */, + ); + name = Frameworks; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 7B5166472758C6F000C0A720 /* iOS15-SwiftUI */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7B51666C2758C6F400C0A720 /* Build configuration list for PBXNativeTarget "iOS15-SwiftUI" */; + buildPhases = ( + 7B5166442758C6F000C0A720 /* Sources */, + 7B5166452758C6F000C0A720 /* Frameworks */, + 7B5166462758C6F000C0A720 /* Resources */, + 7B5166792758C72600C0A720 /* Embed Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "iOS15-SwiftUI"; + productName = "iOS15-SwiftUI"; + productReference = 7B5166482758C6F000C0A720 /* iOS15-SwiftUI.app */; + productType = "com.apple.product-type.application"; + }; + 7B5166572758C6F400C0A720 /* iOS15-SwiftUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7B51666F2758C6F400C0A720 /* Build configuration list for PBXNativeTarget "iOS15-SwiftUITests" */; + buildPhases = ( + 7B5166542758C6F400C0A720 /* Sources */, + 7B5166552758C6F400C0A720 /* Frameworks */, + 7B5166562758C6F400C0A720 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 7B51665A2758C6F400C0A720 /* PBXTargetDependency */, + ); + name = "iOS15-SwiftUITests"; + productName = "iOS15-SwiftUITests"; + productReference = 7B5166582758C6F400C0A720 /* iOS15-SwiftUITests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 7B5166612758C6F400C0A720 /* iOS15-SwiftUIUITests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 7B5166722758C6F400C0A720 /* Build configuration list for PBXNativeTarget "iOS15-SwiftUIUITests" */; + buildPhases = ( + 7B51665E2758C6F400C0A720 /* Sources */, + 7B51665F2758C6F400C0A720 /* Frameworks */, + 7B5166602758C6F400C0A720 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + 7B5166642758C6F400C0A720 /* PBXTargetDependency */, + ); + name = "iOS15-SwiftUIUITests"; + productName = "iOS15-SwiftUIUITests"; + productReference = 7B5166622758C6F400C0A720 /* iOS15-SwiftUIUITests.xctest */; + productType = "com.apple.product-type.bundle.ui-testing"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 7B5166402758C6F000C0A720 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = 1; + LastSwiftUpdateCheck = 1310; + LastUpgradeCheck = 1310; + TargetAttributes = { + 7B5166472758C6F000C0A720 = { + CreatedOnToolsVersion = 13.1; + }; + 7B5166572758C6F400C0A720 = { + CreatedOnToolsVersion = 13.1; + TestTargetID = 7B5166472758C6F000C0A720; + }; + 7B5166612758C6F400C0A720 = { + CreatedOnToolsVersion = 13.1; + TestTargetID = 7B5166472758C6F000C0A720; + }; + }; + }; + buildConfigurationList = 7B5166432758C6F000C0A720 /* Build configuration list for PBXProject "iOS15-SwiftUI" */; + compatibilityVersion = "Xcode 13.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 7B51663F2758C6F000C0A720; + productRefGroup = 7B5166492758C6F000C0A720 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 7B5166472758C6F000C0A720 /* iOS15-SwiftUI */, + 7B5166572758C6F400C0A720 /* iOS15-SwiftUITests */, + 7B5166612758C6F400C0A720 /* iOS15-SwiftUIUITests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 7B5166462758C6F000C0A720 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7B5166532758C6F400C0A720 /* Preview Assets.xcassets in Resources */, + 7B5166502758C6F400C0A720 /* Assets.xcassets in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B5166562758C6F400C0A720 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B5166602758C6F400C0A720 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 7B5166442758C6F000C0A720 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 7B51664E2758C6F000C0A720 /* ContentView.swift in Sources */, + 7B51664C2758C6F000C0A720 /* App.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B5166542758C6F400C0A720 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 7B51665E2758C6F400C0A720 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 7B51665A2758C6F400C0A720 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 7B5166472758C6F000C0A720 /* iOS15-SwiftUI */; + targetProxy = 7B5166592758C6F400C0A720 /* PBXContainerItemProxy */; + }; + 7B5166642758C6F400C0A720 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 7B5166472758C6F000C0A720 /* iOS15-SwiftUI */; + targetProxy = 7B5166632758C6F400C0A720 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 7B51666A2758C6F400C0A720 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + }; + name = Debug; + }; + 7B51666B2758C6F400C0A720 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++17"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + SDKROOT = iphoneos; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 7B51666D2758C6F400C0A720 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"iOS15-SwiftUI/Preview Content\""; + DEVELOPMENT_TEAM = 97JCY7859U; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.iOS15-SwiftUI"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Debug; + }; + 7B51666E2758C6F400C0A720 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_ASSET_PATHS = "\"iOS15-SwiftUI/Preview Content\""; + DEVELOPMENT_TEAM = 97JCY7859U; + ENABLE_PREVIEWS = YES; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; + INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; + INFOPLIST_KEY_UILaunchScreen_Generation = YES; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.iOS15-SwiftUI"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = Release; + }; + 7B5166702758C6F400C0A720 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 97JCY7859U; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.iOS15-SwiftUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOS15-SwiftUI.app/iOS15-SwiftUI"; + }; + name = Debug; + }; + 7B5166712758C6F400C0A720 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 97JCY7859U; + GENERATE_INFOPLIST_FILE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.iOS15-SwiftUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/iOS15-SwiftUI.app/iOS15-SwiftUI"; + }; + name = Release; + }; + 7B5166732758C6F400C0A720 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 97JCY7859U; + GENERATE_INFOPLIST_FILE = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.iOS15-SwiftUIUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = "iOS15-SwiftUI"; + }; + name = Debug; + }; + 7B5166742758C6F400C0A720 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 97JCY7859U; + GENERATE_INFOPLIST_FILE = YES; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MARKETING_VERSION = 1.0; + PRODUCT_BUNDLE_IDENTIFIER = "io.sentry.iOS15-SwiftUIUITests"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_EMIT_LOC_STRINGS = NO; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = "iOS15-SwiftUI"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 7B5166432758C6F000C0A720 /* Build configuration list for PBXProject "iOS15-SwiftUI" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7B51666A2758C6F400C0A720 /* Debug */, + 7B51666B2758C6F400C0A720 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7B51666C2758C6F400C0A720 /* Build configuration list for PBXNativeTarget "iOS15-SwiftUI" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7B51666D2758C6F400C0A720 /* Debug */, + 7B51666E2758C6F400C0A720 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7B51666F2758C6F400C0A720 /* Build configuration list for PBXNativeTarget "iOS15-SwiftUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7B5166702758C6F400C0A720 /* Debug */, + 7B5166712758C6F400C0A720 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 7B5166722758C6F400C0A720 /* Build configuration list for PBXNativeTarget "iOS15-SwiftUIUITests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 7B5166732758C6F400C0A720 /* Debug */, + 7B5166742758C6F400C0A720 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 7B5166402758C6F000C0A720 /* Project object */; +} diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/App.swift b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/App.swift new file mode 100644 index 00000000000..02a20c347f0 --- /dev/null +++ b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/App.swift @@ -0,0 +1,21 @@ +import Sentry +import SwiftUI + +@main +struct SwiftUIApp: App { + init() { + SentrySDK.start { options in + options.dsn = "https://a92d50327ac74b8b9aa4ea80eccfb267@o447951.ingest.sentry.io/5428557" + options.debug = true + options.sessionTrackingIntervalMillis = 5_000 + // Sampling 100% - In Production you probably want to adjust this + options.tracesSampleRate = 1.0 + } + } + + var body: some Scene { + WindowGroup { + ContentView() + } + } +} diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json new file mode 100644 index 00000000000..eb878970081 --- /dev/null +++ b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AccentColor.colorset/Contents.json @@ -0,0 +1,11 @@ +{ + "colors" : [ + { + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/100.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/100.png new file mode 100644 index 00000000000..a0f56ef0988 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/100.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/1024.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/1024.png new file mode 100644 index 00000000000..f8ec579f520 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/1024.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/114.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/114.png new file mode 100644 index 00000000000..aa0ecf3e8be Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/114.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/120.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/120.png new file mode 100644 index 00000000000..0528bffcb39 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/120.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/128.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/128.png new file mode 100644 index 00000000000..fbd4ea41b6d Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/128.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/144.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/144.png new file mode 100644 index 00000000000..e0ad9d8dea4 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/144.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/152.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/152.png new file mode 100644 index 00000000000..646e1d8ae12 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/152.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/16.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/16.png new file mode 100644 index 00000000000..a8a8a1d91fb Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/16.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/167.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/167.png new file mode 100644 index 00000000000..57c769cc151 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/167.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/180.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/180.png new file mode 100644 index 00000000000..88026fdcb1c Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/180.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/20.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/20.png new file mode 100644 index 00000000000..ce759e31089 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/20.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/256.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/256.png new file mode 100644 index 00000000000..389357dc05f Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/256.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/29.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/29.png new file mode 100644 index 00000000000..740e807d6da Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/29.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/32.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/32.png new file mode 100644 index 00000000000..02893dc42b9 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/32.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/40.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/40.png new file mode 100644 index 00000000000..e3ec4cdb8b3 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/40.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/50.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/50.png new file mode 100644 index 00000000000..fc053e94835 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/50.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/512.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/512.png new file mode 100644 index 00000000000..e89fb1f29a3 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/512.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/57.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/57.png new file mode 100644 index 00000000000..af147e08ee5 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/57.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/58.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/58.png new file mode 100644 index 00000000000..6bac6975a62 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/58.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/60.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/60.png new file mode 100644 index 00000000000..fabc2179d85 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/60.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/64.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/64.png new file mode 100644 index 00000000000..3380f4f1539 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/64.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/72.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/72.png new file mode 100644 index 00000000000..aa040b9cca1 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/72.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/76.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/76.png new file mode 100644 index 00000000000..6b322e35e85 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/76.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/80.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/80.png new file mode 100644 index 00000000000..39aa9562485 Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/80.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/87.png b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/87.png new file mode 100644 index 00000000000..9806fc0eacf Binary files /dev/null and b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/87.png differ diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 00000000000..bbf91d18f87 --- /dev/null +++ b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,218 @@ +{ + "images" : [ + { + "filename" : "40.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "20x20" + }, + { + "filename" : "60.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "20x20" + }, + { + "filename" : "29.png", + "idiom" : "iphone", + "scale" : "1x", + "size" : "29x29" + }, + { + "filename" : "58.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "29x29" + }, + { + "filename" : "87.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "29x29" + }, + { + "filename" : "80.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "40x40" + }, + { + "filename" : "120.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "40x40" + }, + { + "filename" : "57.png", + "idiom" : "iphone", + "scale" : "1x", + "size" : "57x57" + }, + { + "filename" : "114.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "57x57" + }, + { + "filename" : "120.png", + "idiom" : "iphone", + "scale" : "2x", + "size" : "60x60" + }, + { + "filename" : "180.png", + "idiom" : "iphone", + "scale" : "3x", + "size" : "60x60" + }, + { + "filename" : "20.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "20x20" + }, + { + "filename" : "40.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "20x20" + }, + { + "filename" : "29.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "29x29" + }, + { + "filename" : "58.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "29x29" + }, + { + "filename" : "40.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "40x40" + }, + { + "filename" : "80.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "40x40" + }, + { + "filename" : "50.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "50x50" + }, + { + "filename" : "100.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "50x50" + }, + { + "filename" : "72.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "72x72" + }, + { + "filename" : "144.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "72x72" + }, + { + "filename" : "76.png", + "idiom" : "ipad", + "scale" : "1x", + "size" : "76x76" + }, + { + "filename" : "152.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "76x76" + }, + { + "filename" : "167.png", + "idiom" : "ipad", + "scale" : "2x", + "size" : "83.5x83.5" + }, + { + "filename" : "1024.png", + "idiom" : "ios-marketing", + "scale" : "1x", + "size" : "1024x1024" + }, + { + "filename" : "16.png", + "idiom" : "mac", + "scale" : "1x", + "size" : "16x16" + }, + { + "filename" : "32.png", + "idiom" : "mac", + "scale" : "2x", + "size" : "16x16" + }, + { + "filename" : "32.png", + "idiom" : "mac", + "scale" : "1x", + "size" : "32x32" + }, + { + "filename" : "64.png", + "idiom" : "mac", + "scale" : "2x", + "size" : "32x32" + }, + { + "filename" : "128.png", + "idiom" : "mac", + "scale" : "1x", + "size" : "128x128" + }, + { + "filename" : "256.png", + "idiom" : "mac", + "scale" : "2x", + "size" : "128x128" + }, + { + "filename" : "256.png", + "idiom" : "mac", + "scale" : "1x", + "size" : "256x256" + }, + { + "filename" : "512.png", + "idiom" : "mac", + "scale" : "2x", + "size" : "256x256" + }, + { + "filename" : "512.png", + "idiom" : "mac", + "scale" : "1x", + "size" : "512x512" + }, + { + "filename" : "1024.png", + "idiom" : "mac", + "scale" : "2x", + "size" : "512x512" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/Contents.json b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/Contents.json new file mode 100644 index 00000000000..73c00596a7f --- /dev/null +++ b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/ContentView.swift b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/ContentView.swift new file mode 100644 index 00000000000..e20ec05a8a5 --- /dev/null +++ b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/ContentView.swift @@ -0,0 +1,30 @@ +import Sentry +import SwiftUI + +struct ContentView: View { + + private func captureError() { + Task { + await captureErrorAsync() + } + } + + func captureErrorAsync() async { + let error = NSError(domain: "SampleErrorDomain", code: 1, userInfo: [NSLocalizedDescriptionKey: "Object does not exist"]) + SentrySDK.capture(error: error) + } + + var body: some View { + VStack(alignment: HorizontalAlignment.center, spacing: 16) { + Button(action: captureError) { + Text("Capture Error") + } + } + } +} + +struct ContentView_Previews: PreviewProvider { + static var previews: some View { + ContentView() + } +} diff --git a/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Preview Content/Preview Assets.xcassets/Contents.json b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Preview Content/Preview Assets.xcassets/Contents.json new file mode 100644 index 00000000000..73c00596a7f --- /dev/null +++ b/Samples/iOS15-SwiftUI/iOS15-SwiftUI/Preview Content/Preview Assets.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Sentry.xcworkspace/contents.xcworkspacedata b/Sentry.xcworkspace/contents.xcworkspacedata index 489ce629368..1a611a9aa65 100644 --- a/Sentry.xcworkspace/contents.xcworkspacedata +++ b/Sentry.xcworkspace/contents.xcworkspacedata @@ -1,6 +1,9 @@ + +