diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 70c42a103a..2253334016 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -79,6 +79,7 @@ jobs: run: | set -o pipefail && xcodebuild test \ -scheme "DuckDuckGo" \ + -configuration "CI" \ -destination "platform=iOS Simulator,name=iPhone 15,OS=17.0" \ -derivedDataPath "DerivedData" \ DDG_SLOW_COMPILE_CHECK_THRESHOLD=250 \ diff --git a/Configuration/Configuration.xcconfig b/Configuration/Configuration.xcconfig index a5e04769d8..e76954ba0c 100644 --- a/Configuration/Configuration.xcconfig +++ b/Configuration/Configuration.xcconfig @@ -19,3 +19,9 @@ DDG_SLOW_COMPILE_CHECK_THRESHOLD = 100 OTHER_SWIFT_FLAGS[config=Debug][arch=*][sdk=*] = $(inherited) -Xfrontend -warn-long-expression-type-checking=$(DDG_SLOW_COMPILE_CHECK_THRESHOLD) -Xfrontend -warn-long-function-bodies=$(DDG_SLOW_COMPILE_CHECK_THRESHOLD) + +CODE_SIGN_ENTITLEMENTS[config=CI][arch=*][sdk=iphoneos*] = DuckDuckGo/DuckDuckGoCI.entitlements +CODE_SIGN_IDENTITY[config=CI][sdk=iphoneos*] = +CODE_SIGN_STYLE[config=CI][sdk=iphoneos*] = Automatic + +PROVISIONING_PROFILE_SPECIFIER[config=CI][sdk=iphoneos*] = diff --git a/DuckDuckGo.xcodeproj/project.pbxproj b/DuckDuckGo.xcodeproj/project.pbxproj index 816c518a8f..1527bdce5c 100644 --- a/DuckDuckGo.xcodeproj/project.pbxproj +++ b/DuckDuckGo.xcodeproj/project.pbxproj @@ -1260,6 +1260,7 @@ 31DD208327395A5A008FB313 /* VoiceSearchHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = VoiceSearchHelper.swift; sourceTree = ""; }; 31EF52E0281B3BDC0034796E /* AutofillLoginListItemViewModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AutofillLoginListItemViewModel.swift; sourceTree = ""; }; 37445F962A155F7C0029F789 /* SyncDataProviders.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SyncDataProviders.swift; sourceTree = ""; }; + 3776AB6C2AF967BB009A1DF3 /* DuckDuckGoCI.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DuckDuckGoCI.entitlements; sourceTree = ""; }; 379E877329E97C8D001C8BB0 /* BookmarksCleanupErrorHandling.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BookmarksCleanupErrorHandling.swift; sourceTree = ""; }; 37CBCA9D2A8A659C0050218F /* SyncSettingsAdapter.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SyncSettingsAdapter.swift; sourceTree = ""; }; 37CEFCAB2A673B90001EF741 /* CredentialsCleanupErrorHandling.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CredentialsCleanupErrorHandling.swift; sourceTree = ""; }; @@ -3612,6 +3613,7 @@ B652DF02287C01EE00C12A9C /* ContentBlocking */, 310D09192799EF5C00DC0060 /* Downloads */, F143C2C51E4A08F300CFDE3A /* DuckDuckGo.entitlements */, + 3776AB6C2AF967BB009A1DF3 /* DuckDuckGoCI.entitlements */, C159DF052A430B36007834BB /* EmailProtection */, 839F119520DBC489007CD8C2 /* Feedback */, 85F2FFFE2215C163006BB258 /* FindInPage */, @@ -7836,6 +7838,408 @@ }; name = Release; }; + 3776AB5F2AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = 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_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = dwarf; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + 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 = 14.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + OTHER_LDFLAGS = "-ld_classic"; + SDKROOT = iphoneos; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG APP_TRACKING_PROTECTION NETWORK_PROTECTION"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + TARGETED_DEVICE_FAMILY = "1,2"; + VALID_ARCHS = "$(ARCHS_STANDARD_64_BIT)"; + }; + name = CI; + }; + 3776AB602AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CURRENT_PROJECT_VERSION = 0; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEVELOPMENT_ASSET_PATHS = ""; + "DEVELOPMENT_TEAM[sdk=iphoneos*]" = HKE973VLUW; + INFOPLIST_FILE = DuckDuckGo/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID)"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + }; + name = CI; + }; + 3776AB612AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 0; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = ShareExtension/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@executable_path/../../Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID).ShareExtension"; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SKIP_INSTALL = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = CI; + }; + 3776AB622AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = ActionIcons; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 0; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = OpenAction/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@executable_path/../../Frameworks", + ); + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID).OpenAction2"; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SKIP_INSTALL = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = CI; + }; + 3776AB632AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; + ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_ENTITLEMENTS = Widgets/WidgetsExtension.entitlements; + CODE_SIGN_IDENTITY = "iPhone Developer"; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 0; + DEAD_CODE_STRIPPING = NO; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = Widgets/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@executable_path/../../Frameworks", + ); + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = "$(APP_ID).Widgets"; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SKIP_INSTALL = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = CI; + }; + 3776AB642AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_ENTITLEMENTS = PacketTunnelProvider/PacketTunnelProvider.entitlements; + CODE_SIGN_IDENTITY = "Apple Development"; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 0; + DEVELOPMENT_TEAM = HKE973VLUW; + GCC_C_LANGUAGE_STANDARD = gnu11; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_FILE = PacketTunnelProvider/Info.plist; + INFOPLIST_KEY_CFBundleDisplayName = PacketTunnelProvider; + INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 DuckDuckGo. All rights reserved."; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@executable_path/../../Frameworks", + ); + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + OTHER_CFLAGS = ""; + OTHER_SWIFT_FLAGS = "-D NETWORK_EXTENSION"; + PRODUCT_BUNDLE_IDENTIFIER = com.duckduckgo.mobile.ios.NetworkExtension; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SKIP_INSTALL = YES; + SWIFT_EMIT_LOC_STRINGS = YES; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + }; + name = CI; + }; + 3776AB652AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; + CLANG_ENABLE_MODULES = YES; + CODE_SIGN_IDENTITY = ""; + CODE_SIGN_STYLE = Automatic; + CURRENT_PROJECT_VERSION = 0; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 0; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + INFOPLIST_FILE = Core/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.duckduckgo.mobile.ios.Core; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SKIP_INSTALL = YES; + SUPPORTS_MACCATALYST = NO; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = CI; + }; + 3776AB662AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CODE_SIGN_STYLE = Automatic; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Instruments/Packages"; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SDKROOT = macosx; + VERSIONING_SYSTEM = ""; + }; + name = CI; + }; + 3776AB672AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_IDENTITY = "iPhone Developer"; + CODE_SIGN_STYLE = Automatic; + FRAMEWORK_SEARCH_PATHS = "$(inherited)"; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = IntegrationTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.duckduckgo.IntegrationTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = DuckDuckGo; + }; + name = CI; + }; + 3776AB682AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = DuckDuckGoTests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.duckduckgo.mobile.ios.Tests; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_VERSION = 5.0; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DuckDuckGo.app/DuckDuckGo"; + }; + name = CI; + }; + 3776AB692AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = FingerprintingUITests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.duckduckgo.FingerprintingUITests; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_TARGET_NAME = DuckDuckGo; + }; + name = CI; + }; + 3776AB6A2AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = IntegrationTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 14.4; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.duckduckgo.mobile.ios.IntegrationTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DuckDuckGo.app/DuckDuckGo"; + }; + name = CI; + }; + 3776AB6B2AF9658B009A1DF3 /* CI */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 6FB030C7234331B400A10DB9 /* Configuration.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CODE_SIGN_STYLE = Automatic; + GCC_C_LANGUAGE_STANDARD = gnu11; + INFOPLIST_FILE = "IntegrationTests copy-Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 14.4; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = com.duckduckgo.mobile.ios.IntegrationTests; + PRODUCT_NAME = "$(TARGET_NAME)"; + PROVISIONING_PROFILE_SPECIFIER = ""; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DuckDuckGo.app/DuckDuckGo"; + }; + name = CI; + }; 8390447820BDCE10006461CD /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -8903,6 +9307,7 @@ isa = XCConfigurationList; buildConfigurations = ( 0202566D298818B200E694E7 /* Debug */, + 3776AB642AF9658B009A1DF3 /* CI */, EE5A7C4B2A82BBB700387C84 /* Alpha */, 0202566E298818B200E694E7 /* Release */, ); @@ -8913,6 +9318,7 @@ isa = XCConfigurationList; buildConfigurations = ( 025CCFE92582601C001CD5BB /* Debug */, + 3776AB692AF9658B009A1DF3 /* CI */, EE5A7C502A82BBB700387C84 /* Alpha */, 025CCFEA2582601C001CD5BB /* Release */, ); @@ -8923,6 +9329,7 @@ isa = XCConfigurationList; buildConfigurations = ( 8390447820BDCE10006461CD /* Debug */, + 3776AB612AF9658B009A1DF3 /* CI */, EE5A7C482A82BBB700387C84 /* Alpha */, 8390447920BDCE10006461CD /* Release */, ); @@ -8933,6 +9340,7 @@ isa = XCConfigurationList; buildConfigurations = ( 84E341B81E2F7EFC00BDBA6F /* Debug */, + 3776AB5F2AF9658B009A1DF3 /* CI */, EE5A7C462A82BBB700387C84 /* Alpha */, 84E341B91E2F7EFC00BDBA6F /* Release */, ); @@ -8943,6 +9351,7 @@ isa = XCConfigurationList; buildConfigurations = ( 84E341BB1E2F7EFC00BDBA6F /* Debug */, + 3776AB602AF9658B009A1DF3 /* CI */, EE5A7C472A82BBB700387C84 /* Alpha */, 84E341BC1E2F7EFC00BDBA6F /* Release */, ); @@ -8953,6 +9362,7 @@ isa = XCConfigurationList; buildConfigurations = ( 84E341BE1E2F7EFC00BDBA6F /* Debug */, + 3776AB682AF9658B009A1DF3 /* CI */, EE5A7C4F2A82BBB700387C84 /* Alpha */, 84E341BF1E2F7EFC00BDBA6F /* Release */, ); @@ -8963,6 +9373,7 @@ isa = XCConfigurationList; buildConfigurations = ( 8512EA5E24ED30D30073EE19 /* Debug */, + 3776AB632AF9658B009A1DF3 /* CI */, EE5A7C4A2A82BBB700387C84 /* Alpha */, 8512EA5F24ED30D30073EE19 /* Release */, ); @@ -8973,6 +9384,7 @@ isa = XCConfigurationList; buildConfigurations = ( 85482D952462DCD100EDEDD1 /* Debug */, + 3776AB622AF9658B009A1DF3 /* CI */, EE5A7C492A82BBB700387C84 /* Alpha */, 85482D962462DCD100EDEDD1 /* Release */, ); @@ -8983,6 +9395,7 @@ isa = XCConfigurationList; buildConfigurations = ( 85D33FD325C97B6E002B91A6 /* Debug */, + 3776AB6A2AF9658B009A1DF3 /* CI */, EE5A7C512A82BBB700387C84 /* Alpha */, 85D33FD425C97B6E002B91A6 /* Release */, ); @@ -8993,6 +9406,7 @@ isa = XCConfigurationList; buildConfigurations = ( 85F21DB4210F5E32002631A6 /* Debug */, + 3776AB672AF9658B009A1DF3 /* CI */, EE5A7C4E2A82BBB700387C84 /* Alpha */, 85F21DB5210F5E32002631A6 /* Release */, ); @@ -9003,6 +9417,7 @@ isa = XCConfigurationList; buildConfigurations = ( 9825F9D5293F2DE900F220F2 /* Debug */, + 3776AB6B2AF9658B009A1DF3 /* CI */, EE5A7C522A82BBB700387C84 /* Alpha */, 9825F9D6293F2DE900F220F2 /* Release */, ); @@ -9013,6 +9428,7 @@ isa = XCConfigurationList; buildConfigurations = ( 98A54A8622AFCB2D00E541F4 /* Debug */, + 3776AB662AF9658B009A1DF3 /* CI */, EE5A7C4D2A82BBB700387C84 /* Alpha */, 98A54A8722AFCB2D00E541F4 /* Release */, ); @@ -9023,6 +9439,7 @@ isa = XCConfigurationList; buildConfigurations = ( F143C2EE1E4A4CD400CFDE3A /* Debug */, + 3776AB652AF9658B009A1DF3 /* CI */, EE5A7C4C2A82BBB700387C84 /* Alpha */, F143C2EF1E4A4CD400CFDE3A /* Release */, ); diff --git a/DuckDuckGo/DuckDuckGoCI.entitlements b/DuckDuckGo/DuckDuckGoCI.entitlements new file mode 100644 index 0000000000..0c67376eba --- /dev/null +++ b/DuckDuckGo/DuckDuckGoCI.entitlements @@ -0,0 +1,5 @@ + + + + +