From 75ef6a453a81fdd7ed50cc7ac1746333cb19bca4 Mon Sep 17 00:00:00 2001 From: Bart Louwers Date: Fri, 14 Jun 2024 02:17:47 +0200 Subject: [PATCH] Remove cruft (#2506) --- ...arkApp_iphoneos13.2-arm64e-debug.xctestrun | 68 -------------- ...kApp_iphoneos13.2-arm64e-release.xctestrun | 68 -------------- .../BenchmarkApp.app.xcent.template | 16 ---- .../BenchmarkAppTests.xctest.xcent.template | 16 ---- ...AutomationSupport.framework.xcent.template | 16 ---- .../XCTest.framework.xcent.template | 16 ---- benchmark/ios/codesigning/codesign_all.sh | 11 --- .../codesigning/generate-entitlements.swift | 39 -------- ...libXCTestSwiftSupport.dylib.xcent.template | 16 ---- benchmark/ios/fastlane/Appfile | 3 - benchmark/ios/fastlane/Matchfile | 5 - platform/darwin/ci.xcconfig | 1 - platform/darwin/darwin.xcconfig | 94 ------------------- .../iosapp-UITests/iosapp_TestPlan.xctestplan | 35 ------- ...stsApp_iphoneos13.2-arm64e-debug.xctestrun | 68 -------------- ...sApp_iphoneos13.2-arm64e-release.xctestrun | 68 -------------- .../UnitTestsApp.app.xcent.template | 16 ---- .../UnitTestsAppTests.xctest.xcent.template | 16 ---- ...AutomationSupport.framework.xcent.template | 16 ---- .../XCTest.framework.xcent.template | 16 ---- test/ios/codesigning/codesign_all.sh | 11 --- .../codesigning/generate-entitlements.swift | 39 -------- ...libXCTestSwiftSupport.dylib.xcent.template | 16 ---- test/ios/fastlane/Appfile | 3 - test/ios/fastlane/Matchfile | 5 - 25 files changed, 678 deletions(-) delete mode 100644 benchmark/ios/BenchmarkApp_iphoneos13.2-arm64e-debug.xctestrun delete mode 100644 benchmark/ios/BenchmarkApp_iphoneos13.2-arm64e-release.xctestrun delete mode 100644 benchmark/ios/codesigning/BenchmarkApp.app.xcent.template delete mode 100644 benchmark/ios/codesigning/BenchmarkAppTests.xctest.xcent.template delete mode 100644 benchmark/ios/codesigning/XCTAutomationSupport.framework.xcent.template delete mode 100644 benchmark/ios/codesigning/XCTest.framework.xcent.template delete mode 100755 benchmark/ios/codesigning/codesign_all.sh delete mode 100755 benchmark/ios/codesigning/generate-entitlements.swift delete mode 100644 benchmark/ios/codesigning/libXCTestSwiftSupport.dylib.xcent.template delete mode 100644 benchmark/ios/fastlane/Appfile delete mode 100644 benchmark/ios/fastlane/Matchfile delete mode 100644 platform/darwin/ci.xcconfig delete mode 100644 platform/darwin/darwin.xcconfig delete mode 100644 platform/ios/iosapp-UITests/iosapp_TestPlan.xctestplan delete mode 100644 test/ios/UnitTestsApp_iphoneos13.2-arm64e-debug.xctestrun delete mode 100644 test/ios/UnitTestsApp_iphoneos13.2-arm64e-release.xctestrun delete mode 100644 test/ios/codesigning/UnitTestsApp.app.xcent.template delete mode 100644 test/ios/codesigning/UnitTestsAppTests.xctest.xcent.template delete mode 100644 test/ios/codesigning/XCTAutomationSupport.framework.xcent.template delete mode 100644 test/ios/codesigning/XCTest.framework.xcent.template delete mode 100755 test/ios/codesigning/codesign_all.sh delete mode 100755 test/ios/codesigning/generate-entitlements.swift delete mode 100644 test/ios/codesigning/libXCTestSwiftSupport.dylib.xcent.template delete mode 100644 test/ios/fastlane/Appfile delete mode 100644 test/ios/fastlane/Matchfile diff --git a/benchmark/ios/BenchmarkApp_iphoneos13.2-arm64e-debug.xctestrun b/benchmark/ios/BenchmarkApp_iphoneos13.2-arm64e-debug.xctestrun deleted file mode 100644 index 4270610f0..000000000 --- a/benchmark/ios/BenchmarkApp_iphoneos13.2-arm64e-debug.xctestrun +++ /dev/null @@ -1,68 +0,0 @@ - - - - - BenchmarkAppTests - - BlueprintName - BenchmarkAppTests - BundleIdentifiersForCrashReportEmphasis - - com.mapbox.BenchmarkApp - com.mapbox.BenchmarkAppTests - - CommandLineArguments - - DependentProductPaths - - __TESTROOT__/Debug-iphoneos/BenchmarkApp.app - __TESTROOT__/Debug-iphoneos/BenchmarkApp.app/PlugIns/BenchmarkAppTests.xctest - - EnvironmentVariables - - OS_ACTIVITY_DT_MODE - YES - SQLITE_ENABLE_THREAD_ASSERTIONS - 1 - - IsAppHostedTestBundle - - ProductModuleName - BenchmarkAppTests - RunOrder - 0 - SystemAttachmentLifetime - deleteOnSuccess - TestBundlePath - __TESTHOST__/PlugIns/BenchmarkAppTests.xctest - TestHostBundleIdentifier - com.mapbox.BenchmarkApp - TestHostPath - __TESTROOT__/Debug-iphoneos/BenchmarkApp.app - TestLanguage - - TestRegion - - TestingEnvironmentVariables - - DYLD_FALLBACK_FRAMEWORK_PATH - - DYLD_INSERT_LIBRARIES - __PLATFORMS__/iPhoneOS.platform/Developer/usr/lib/libXCTestBundleInject.dylib - XCInjectBundleInto - unused - - ToolchainsSettingValue - - UITargetAppCommandLineArguments - - UserAttachmentLifetime - deleteOnSuccess - - __xctestrun_metadata__ - - FormatVersion - 1 - - - diff --git a/benchmark/ios/BenchmarkApp_iphoneos13.2-arm64e-release.xctestrun b/benchmark/ios/BenchmarkApp_iphoneos13.2-arm64e-release.xctestrun deleted file mode 100644 index 6c6d73f3b..000000000 --- a/benchmark/ios/BenchmarkApp_iphoneos13.2-arm64e-release.xctestrun +++ /dev/null @@ -1,68 +0,0 @@ - - - - - BenchmarkAppTests - - BlueprintName - BenchmarkAppTests - BundleIdentifiersForCrashReportEmphasis - - com.mapbox.BenchmarkApp - com.mapbox.BenchmarkAppTests - - CommandLineArguments - - DependentProductPaths - - __TESTROOT__/Release-iphoneos/BenchmarkApp.app - __TESTROOT__/Release-iphoneos/BenchmarkApp.app/PlugIns/BenchmarkAppTests.xctest - - EnvironmentVariables - - OS_ACTIVITY_DT_MODE - YES - SQLITE_ENABLE_THREAD_ASSERTIONS - 1 - - IsAppHostedTestBundle - - ProductModuleName - BenchmarkAppTests - RunOrder - 0 - SystemAttachmentLifetime - deleteOnSuccess - TestBundlePath - __TESTHOST__/PlugIns/BenchmarkAppTests.xctest - TestHostBundleIdentifier - com.mapbox.BenchmarkApp - TestHostPath - __TESTROOT__/Release-iphoneos/BenchmarkApp.app - TestLanguage - - TestRegion - - TestingEnvironmentVariables - - DYLD_FALLBACK_FRAMEWORK_PATH - - DYLD_INSERT_LIBRARIES - __PLATFORMS__/iPhoneOS.platform/Developer/usr/lib/libXCTestBundleInject.dylib - XCInjectBundleInto - unused - - ToolchainsSettingValue - - UITargetAppCommandLineArguments - - UserAttachmentLifetime - deleteOnSuccess - - __xctestrun_metadata__ - - FormatVersion - 1 - - - diff --git a/benchmark/ios/codesigning/BenchmarkApp.app.xcent.template b/benchmark/ios/codesigning/BenchmarkApp.app.xcent.template deleted file mode 100644 index 669e8cdc5..000000000 --- a/benchmark/ios/codesigning/BenchmarkApp.app.xcent.template +++ /dev/null @@ -1,16 +0,0 @@ - - - - - application-identifier - $TEAM_ID.com.mapbox.BenchmarkApp - com.apple.developer.team-identifier - $TEAM_ID - get-task-allow - - keychain-access-groups - - $TEAM_ID.com.mapbox.BenchmarkApp - - - \ No newline at end of file diff --git a/benchmark/ios/codesigning/BenchmarkAppTests.xctest.xcent.template b/benchmark/ios/codesigning/BenchmarkAppTests.xctest.xcent.template deleted file mode 100644 index 4070d8939..000000000 --- a/benchmark/ios/codesigning/BenchmarkAppTests.xctest.xcent.template +++ /dev/null @@ -1,16 +0,0 @@ - - - - - application-identifier - $TEAM_ID.com.mapbox.BenchmarkAppTests - com.apple.developer.team-identifier - $TEAM_ID - get-task-allow - - keychain-access-groups - - $TEAM_ID.com.mapbox.BenchmarkAppTests - - - \ No newline at end of file diff --git a/benchmark/ios/codesigning/XCTAutomationSupport.framework.xcent.template b/benchmark/ios/codesigning/XCTAutomationSupport.framework.xcent.template deleted file mode 100644 index 4070d8939..000000000 --- a/benchmark/ios/codesigning/XCTAutomationSupport.framework.xcent.template +++ /dev/null @@ -1,16 +0,0 @@ - - - - - application-identifier - $TEAM_ID.com.mapbox.BenchmarkAppTests - com.apple.developer.team-identifier - $TEAM_ID - get-task-allow - - keychain-access-groups - - $TEAM_ID.com.mapbox.BenchmarkAppTests - - - \ No newline at end of file diff --git a/benchmark/ios/codesigning/XCTest.framework.xcent.template b/benchmark/ios/codesigning/XCTest.framework.xcent.template deleted file mode 100644 index 4070d8939..000000000 --- a/benchmark/ios/codesigning/XCTest.framework.xcent.template +++ /dev/null @@ -1,16 +0,0 @@ - - - - - application-identifier - $TEAM_ID.com.mapbox.BenchmarkAppTests - com.apple.developer.team-identifier - $TEAM_ID - get-task-allow - - keychain-access-groups - - $TEAM_ID.com.mapbox.BenchmarkAppTests - - - \ No newline at end of file diff --git a/benchmark/ios/codesigning/codesign_all.sh b/benchmark/ios/codesigning/codesign_all.sh deleted file mode 100755 index 4c1558795..000000000 --- a/benchmark/ios/codesigning/codesign_all.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -identity=$(/usr/bin/env xcrun security find-identity -v -p codesigning) -var=${identity#*1)\ } -CODE_SIGN_IDENTITY=${var%\ \"Apple\ Development*} - -codesign --force --sign $CODE_SIGN_IDENTITY --entitlements codesigning/BenchmarkApp.app.xcent --timestamp=none ./Release-iphoneos/BenchmarkApp.app -codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/libXCTestSwiftSupport.dylib -codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/libXCTestBundleInject.dylib -codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/XCTAutomationSupport.framework -codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/BenchmarkApp.app/Frameworks/XCTest.framework -codesign --force --sign $CODE_SIGN_IDENTITY --deep --entitlements codesigning/BenchmarkAppTests.xctest.xcent --timestamp=none ./Release-iphoneos/BenchmarkApp.app/PlugIns/BenchmarkAppTests.xctest diff --git a/benchmark/ios/codesigning/generate-entitlements.swift b/benchmark/ios/codesigning/generate-entitlements.swift deleted file mode 100755 index 7d22b9a5e..000000000 --- a/benchmark/ios/codesigning/generate-entitlements.swift +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/swift - -import Foundation - -/// Generates Entitlement files .xcent for codesigning, containing the correct team id -import Swift - -let fileManager = FileManager.default - -let contentsOfCurrentWorkingDirectory = try FileManager.default.contentsOfDirectory(at: URL(fileURLWithPath: "./codesigning/"), includingPropertiesForKeys: nil, options: []) - -guard let rawTeamIdEnv = getenv("IOS_DEVELOPMENT_TEAM") else { - print("Please add a IOS_DEVELOPMENT_TEAM environment variable.") - exit(1) -} - -let teamId2 = String(utf8String: rawTeamIdEnv) - -for file in contentsOfCurrentWorkingDirectory { - if file.pathExtension == "template" { - var content = "" - do { - content = try String(contentsOf: file, encoding: .utf8) - } catch { - print("Error reading xcent file: \(error).") - } - - content = content.replacingOccurrences(of: "$TEAM_ID", with: teamId2!) - - var targetFile = file - targetFile.deletePathExtension() - do { - try content.write(to: targetFile, atomically: false, encoding: .utf8) - print("Entitlement " + targetFile.absoluteString + " generated.") - } catch { - print("Error writing xcent file: \(error).") - } - } -} diff --git a/benchmark/ios/codesigning/libXCTestSwiftSupport.dylib.xcent.template b/benchmark/ios/codesigning/libXCTestSwiftSupport.dylib.xcent.template deleted file mode 100644 index 4070d8939..000000000 --- a/benchmark/ios/codesigning/libXCTestSwiftSupport.dylib.xcent.template +++ /dev/null @@ -1,16 +0,0 @@ - - - - - application-identifier - $TEAM_ID.com.mapbox.BenchmarkAppTests - com.apple.developer.team-identifier - $TEAM_ID - get-task-allow - - keychain-access-groups - - $TEAM_ID.com.mapbox.BenchmarkAppTests - - - \ No newline at end of file diff --git a/benchmark/ios/fastlane/Appfile b/benchmark/ios/fastlane/Appfile deleted file mode 100644 index af5ebdffa..000000000 --- a/benchmark/ios/fastlane/Appfile +++ /dev/null @@ -1,3 +0,0 @@ -app_identifier("com.mapbox.BenchmarkApp") # The bundle identifier of your app -apple_id ENV['MAPBOX_APPLE_ID'] -team_id ENV['MAPBOX_APPLE_TEAM_ID'] # Developer Portal Team ID \ No newline at end of file diff --git a/benchmark/ios/fastlane/Matchfile b/benchmark/ios/fastlane/Matchfile deleted file mode 100644 index f8fe80463..000000000 --- a/benchmark/ios/fastlane/Matchfile +++ /dev/null @@ -1,5 +0,0 @@ -git_url("git@github.com:mapbox/apple-certificates.git") -type("development") # The default type, can be: appstore, adhoc, enterprise or development -app_identifier(["com.mapbox.BenchmarkApp", "com.mapbox.BenchmarkAppTests"]) -username ENV['MAPBOX_APPLE_ID'] -keychain_name("fastlane_keychain") \ No newline at end of file diff --git a/platform/darwin/ci.xcconfig b/platform/darwin/ci.xcconfig deleted file mode 100644 index 8928c867a..000000000 --- a/platform/darwin/ci.xcconfig +++ /dev/null @@ -1 +0,0 @@ -COMPILER_INDEX_STORE_ENABLE = NO diff --git a/platform/darwin/darwin.xcconfig b/platform/darwin/darwin.xcconfig deleted file mode 100644 index 97756226d..000000000 --- a/platform/darwin/darwin.xcconfig +++ /dev/null @@ -1,94 +0,0 @@ -ALWAYS_SEARCH_USER_PATHS = NO - -CLANG_ANALYZER_GCD_PERFORMANCE = YES -CLANG_ANALYZER_LOCALIZABILITY_EMPTY_CONTEXT = YES -CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES -CLANG_ANALYZER_NONNULL = YES -CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES -CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES -CLANG_CXX_LANGUAGE_STANDARD = c++17 -CLANG_CXX_LIBRARY = libc++ -CLANG_ENABLE_OBJC_ARC = YES -CLANG_WARN__DUPLICATE_METHOD_MATCH = YES -CLANG_WARN__DUPLICATE_METHOD_MATCH = YES -CLANG_WARN_ASSIGN_ENUM = 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_INTERFACE_IVARS = YES -CLANG_WARN_OBJC_LITERAL_CONVERSION = YES -CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR -CLANG_WARN_RANGE_LOOP_ANALYSIS = YES -CLANG_WARN_SEMICOLON_BEFORE_METHOD_BODY = YES -CLANG_WARN_STRICT_PROTOTYPES = YES -CLANG_WARN_SUSPICIOUS_MOVE = YES -CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE -CLANG_WARN_UNREACHABLE_CODE = YES - -ENABLE_STRICT_OBJC_MSGSEND = YES - -GCC_C_LANGUAGE_STANDARD = gnu99 -GCC_DYNAMIC_NO_PIC = NO -GCC_ENABLE_CPP_RTTI = NO -GCC_NO_COMMON_BLOCKS = YES -GCC_TREAT_WARNINGS_AS_ERRORS = YES -GCC_WARN_64_TO_32_BIT_CONVERSION = YES -GCC_WARN_ABOUT_MISSING_FIELD_INITIALIZERS = YES -GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR -GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = YES -GCC_WARN_NON_VIRTUAL_DESTRUCTOR = YES -GCC_WARN_SHADOW = YES -GCC_WARN_SIGN_COMPARE = YES -GCC_WARN_UNDECLARED_SELECTOR = YES -GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE -GCC_WARN_UNKNOWN_PRAGMAS = YES -GCC_WARN_UNUSED_FUNCTION = YES -GCC_WARN_UNUSED_LABEL = YES -GCC_WARN_UNUSED_VARIABLE = YES - -HEADER_SEARCH_PATHS = $(inherited) -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../platform/darwin/include" -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../../../include" -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../../default/include" -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../../darwin/include" -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../../../vendor/mapbox-base/include" -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../../../vendor/mapbox-base/deps/variant/include" -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../../../vendor/mapbox-base/deps/geometry.hpp/include" -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../../../vendor/mapbox-base/deps/geojson.hpp/include" -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../../../vendor/mapbox-base/deps/optional" -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../../../vendor/mapbox-base/extras/rapidjson/include" -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../../../vendor/mapbox-base/extras/expected-lite/include" -HEADER_SEARCH_PATHS = $(HEADER_SEARCH_PATHS) "$(PROJECT_DIR)/../../../../vendor/polylabel/include" - -LD_GENERATE_MAP_FILE = YES - -LIBRARY_SEARCH_PATHS = $(inherited) $(PROJECT_DIR) - -OTHER_CFLAGS = $(inherited) -fvisibility=hidden -OTHER_CPLUSPLUSFLAGS = $(inherited) -fvisibility=hidden -fcxx-modules -OTHER_SWIFT_FLAGS = -warnings-as-errors - -// User defined -BITCODE_GENERATION_MODE = bitcode -CURRENT_COMMIT_HASH = deadbeef -CURRENT_SEMANTIC_VERSION = 0.0.0 -CURRENT_SHORT_VERSION = 0.0 - -// TODO: -CLANG_USE_OPTIMIZATION_PROFILE = NO -CLANG_WARN_OBJC_REPEATED_USE_OF_WEAK = NO -CLANG_WARN_IMPLICIT_SIGN_CONVERSION = NO -CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO - -// Add developer config -#include? "developer.xcconfig" diff --git a/platform/ios/iosapp-UITests/iosapp_TestPlan.xctestplan b/platform/ios/iosapp-UITests/iosapp_TestPlan.xctestplan deleted file mode 100644 index 1d2083c40..000000000 --- a/platform/ios/iosapp-UITests/iosapp_TestPlan.xctestplan +++ /dev/null @@ -1,35 +0,0 @@ -{ - "configurations" : [ - { - "id" : "703F9AFF-A843-44C5-AB1D-E7A0406B2FAB", - "name" : "Configuration 1", - "options" : { - - } - } - ], - "defaultOptions" : { - "commandLineArgumentEntries" : [ - { - "argument" : "-DLOG_TO_DOCUMENTS_DIR" - } - ] - }, - "testTargets" : [ - { - "target" : { - "containerPath" : "container:ios.xcodeproj", - "identifier" : "D7E7CE8425F2EF6A00C175FC", - "name" : "bench UITests" - } - }, - { - "target" : { - "containerPath" : "container:ios.xcodeproj", - "identifier" : "D717FE7625F1955A0054E06E", - "name" : "iosapp UITests" - } - } - ], - "version" : 1 -} diff --git a/test/ios/UnitTestsApp_iphoneos13.2-arm64e-debug.xctestrun b/test/ios/UnitTestsApp_iphoneos13.2-arm64e-debug.xctestrun deleted file mode 100644 index b6b7a9d1b..000000000 --- a/test/ios/UnitTestsApp_iphoneos13.2-arm64e-debug.xctestrun +++ /dev/null @@ -1,68 +0,0 @@ - - - - - UnitTestsAppTests - - BlueprintName - UnitTestsAppTests - BundleIdentifiersForCrashReportEmphasis - - com.mapbox.UnitTestsApp - com.mapbox.UnitTestsAppTests - - CommandLineArguments - - DependentProductPaths - - __TESTROOT__/Debug-iphoneos/UnitTestsApp.app - __TESTROOT__/Debug-iphoneos/UnitTestsApp.app/PlugIns/UnitTestsAppTests.xctest - - EnvironmentVariables - - OS_ACTIVITY_DT_MODE - YES - SQLITE_ENABLE_THREAD_ASSERTIONS - 1 - - IsAppHostedTestBundle - - ProductModuleName - UnitTestsAppTests - RunOrder - 0 - SystemAttachmentLifetime - deleteOnSuccess - TestBundlePath - __TESTHOST__/PlugIns/UnitTestsAppTests.xctest - TestHostBundleIdentifier - com.mapbox.UnitTestsApp - TestHostPath - __TESTROOT__/Debug-iphoneos/UnitTestsApp.app - TestLanguage - - TestRegion - - TestingEnvironmentVariables - - DYLD_FALLBACK_FRAMEWORK_PATH - - DYLD_INSERT_LIBRARIES - __PLATFORMS__/iPhoneOS.platform/Developer/usr/lib/libXCTestBundleInject.dylib - XCInjectBundleInto - unused - - ToolchainsSettingValue - - UITargetAppCommandLineArguments - - UserAttachmentLifetime - deleteOnSuccess - - __xctestrun_metadata__ - - FormatVersion - 1 - - - diff --git a/test/ios/UnitTestsApp_iphoneos13.2-arm64e-release.xctestrun b/test/ios/UnitTestsApp_iphoneos13.2-arm64e-release.xctestrun deleted file mode 100644 index 02038a441..000000000 --- a/test/ios/UnitTestsApp_iphoneos13.2-arm64e-release.xctestrun +++ /dev/null @@ -1,68 +0,0 @@ - - - - - UnitTestsAppTests - - BlueprintName - UnitTestsAppTests - BundleIdentifiersForCrashReportEmphasis - - com.mapbox.UnitTestsApp - com.mapbox.UnitTestsAppTests - - CommandLineArguments - - DependentProductPaths - - __TESTROOT__/Release-iphoneos/UnitTestsApp.app - __TESTROOT__/Release-iphoneos/UnitTestsApp.app/PlugIns/UnitTestsAppTests.xctest - - EnvironmentVariables - - OS_ACTIVITY_DT_MODE - YES - SQLITE_ENABLE_THREAD_ASSERTIONS - 1 - - IsAppHostedTestBundle - - ProductModuleName - UnitTestsAppTests - RunOrder - 0 - SystemAttachmentLifetime - deleteOnSuccess - TestBundlePath - __TESTHOST__/PlugIns/UnitTestsAppTests.xctest - TestHostBundleIdentifier - com.mapbox.UnitTestsApp - TestHostPath - __TESTROOT__/Release-iphoneos/UnitTestsApp.app - TestLanguage - - TestRegion - - TestingEnvironmentVariables - - DYLD_FALLBACK_FRAMEWORK_PATH - - DYLD_INSERT_LIBRARIES - __PLATFORMS__/iPhoneOS.platform/Developer/usr/lib/libXCTestBundleInject.dylib - XCInjectBundleInto - unused - - ToolchainsSettingValue - - UITargetAppCommandLineArguments - - UserAttachmentLifetime - deleteOnSuccess - - __xctestrun_metadata__ - - FormatVersion - 1 - - - diff --git a/test/ios/codesigning/UnitTestsApp.app.xcent.template b/test/ios/codesigning/UnitTestsApp.app.xcent.template deleted file mode 100644 index a85154176..000000000 --- a/test/ios/codesigning/UnitTestsApp.app.xcent.template +++ /dev/null @@ -1,16 +0,0 @@ - - - - - application-identifier - $TEAM_ID.com.mapbox.UnitTestsApp - com.apple.developer.team-identifier - $TEAM_ID - get-task-allow - - keychain-access-groups - - $TEAM_ID.com.mapbox.UnitTestsApp - - - \ No newline at end of file diff --git a/test/ios/codesigning/UnitTestsAppTests.xctest.xcent.template b/test/ios/codesigning/UnitTestsAppTests.xctest.xcent.template deleted file mode 100644 index 72b2dbbb9..000000000 --- a/test/ios/codesigning/UnitTestsAppTests.xctest.xcent.template +++ /dev/null @@ -1,16 +0,0 @@ - - - - - application-identifier - $TEAM_ID.com.mapbox.UnitTestsAppTests - com.apple.developer.team-identifier - $TEAM_ID - get-task-allow - - keychain-access-groups - - $TEAM_ID.com.mapbox.UnitTestsAppTests - - - \ No newline at end of file diff --git a/test/ios/codesigning/XCTAutomationSupport.framework.xcent.template b/test/ios/codesigning/XCTAutomationSupport.framework.xcent.template deleted file mode 100644 index 72b2dbbb9..000000000 --- a/test/ios/codesigning/XCTAutomationSupport.framework.xcent.template +++ /dev/null @@ -1,16 +0,0 @@ - - - - - application-identifier - $TEAM_ID.com.mapbox.UnitTestsAppTests - com.apple.developer.team-identifier - $TEAM_ID - get-task-allow - - keychain-access-groups - - $TEAM_ID.com.mapbox.UnitTestsAppTests - - - \ No newline at end of file diff --git a/test/ios/codesigning/XCTest.framework.xcent.template b/test/ios/codesigning/XCTest.framework.xcent.template deleted file mode 100644 index 72b2dbbb9..000000000 --- a/test/ios/codesigning/XCTest.framework.xcent.template +++ /dev/null @@ -1,16 +0,0 @@ - - - - - application-identifier - $TEAM_ID.com.mapbox.UnitTestsAppTests - com.apple.developer.team-identifier - $TEAM_ID - get-task-allow - - keychain-access-groups - - $TEAM_ID.com.mapbox.UnitTestsAppTests - - - \ No newline at end of file diff --git a/test/ios/codesigning/codesign_all.sh b/test/ios/codesigning/codesign_all.sh deleted file mode 100755 index f5ac198d6..000000000 --- a/test/ios/codesigning/codesign_all.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/bash -identity=$(/usr/bin/env xcrun security find-identity -v -p codesigning) -var=${identity#*1)\ } -CODE_SIGN_IDENTITY=${var%\ \"Apple\ Development*} - -codesign --force --sign $CODE_SIGN_IDENTITY --entitlements codesigning/UnitTestsApp.app.xcent --timestamp=none ./Release-iphoneos/UnitTestsApp.app -codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/UnitTestsApp.app/Frameworks/libXCTestSwiftSupport.dylib -codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/UnitTestsApp.app/Frameworks/libXCTestBundleInject.dylib -codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/UnitTestsApp.app/Frameworks/XCTAutomationSupport.framework -codesign --force --sign $CODE_SIGN_IDENTITY --deep --preserve-metadata=identifier,entitlements,flags --timestamp=none ./Release-iphoneos/UnitTestsApp.app/Frameworks/XCTest.framework -codesign --force --sign $CODE_SIGN_IDENTITY --deep --entitlements codesigning/UnitTestsAppTests.xctest.xcent --timestamp=none ./Release-iphoneos/UnitTestsApp.app/PlugIns/UnitTestsAppTests.xctest diff --git a/test/ios/codesigning/generate-entitlements.swift b/test/ios/codesigning/generate-entitlements.swift deleted file mode 100755 index 7d22b9a5e..000000000 --- a/test/ios/codesigning/generate-entitlements.swift +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/swift - -import Foundation - -/// Generates Entitlement files .xcent for codesigning, containing the correct team id -import Swift - -let fileManager = FileManager.default - -let contentsOfCurrentWorkingDirectory = try FileManager.default.contentsOfDirectory(at: URL(fileURLWithPath: "./codesigning/"), includingPropertiesForKeys: nil, options: []) - -guard let rawTeamIdEnv = getenv("IOS_DEVELOPMENT_TEAM") else { - print("Please add a IOS_DEVELOPMENT_TEAM environment variable.") - exit(1) -} - -let teamId2 = String(utf8String: rawTeamIdEnv) - -for file in contentsOfCurrentWorkingDirectory { - if file.pathExtension == "template" { - var content = "" - do { - content = try String(contentsOf: file, encoding: .utf8) - } catch { - print("Error reading xcent file: \(error).") - } - - content = content.replacingOccurrences(of: "$TEAM_ID", with: teamId2!) - - var targetFile = file - targetFile.deletePathExtension() - do { - try content.write(to: targetFile, atomically: false, encoding: .utf8) - print("Entitlement " + targetFile.absoluteString + " generated.") - } catch { - print("Error writing xcent file: \(error).") - } - } -} diff --git a/test/ios/codesigning/libXCTestSwiftSupport.dylib.xcent.template b/test/ios/codesigning/libXCTestSwiftSupport.dylib.xcent.template deleted file mode 100644 index 72b2dbbb9..000000000 --- a/test/ios/codesigning/libXCTestSwiftSupport.dylib.xcent.template +++ /dev/null @@ -1,16 +0,0 @@ - - - - - application-identifier - $TEAM_ID.com.mapbox.UnitTestsAppTests - com.apple.developer.team-identifier - $TEAM_ID - get-task-allow - - keychain-access-groups - - $TEAM_ID.com.mapbox.UnitTestsAppTests - - - \ No newline at end of file diff --git a/test/ios/fastlane/Appfile b/test/ios/fastlane/Appfile deleted file mode 100644 index f9e7e1e7c..000000000 --- a/test/ios/fastlane/Appfile +++ /dev/null @@ -1,3 +0,0 @@ -app_identifier("com.mapbox.UnitTestsApp") # The bundle identifier of your app -apple_id ENV['MAPBOX_APPLE_ID'] -team_id ENV['MAPBOX_APPLE_TEAM_ID'] # Developer Portal Team ID \ No newline at end of file diff --git a/test/ios/fastlane/Matchfile b/test/ios/fastlane/Matchfile deleted file mode 100644 index 2a815bfc8..000000000 --- a/test/ios/fastlane/Matchfile +++ /dev/null @@ -1,5 +0,0 @@ -git_url("git@github.com:mapbox/apple-certificates.git") -type("development") # The default type, can be: appstore, adhoc, enterprise or development -app_identifier(["com.mapbox.UnitTestsApp", "com.mapbox.UnitTestsAppTests"]) -username ENV['MAPBOX_APPLE_ID'] -keychain_name("fastlane_keychain") \ No newline at end of file