From f2715399dbb86fcd3bf3546333d21bc00f2cd11b Mon Sep 17 00:00:00 2001 From: uhooi Date: Mon, 29 Jan 2024 20:03:06 +0900 Subject: [PATCH 1/3] Run SwiftLint in Xcode 15 --- App/Develop.xcodeproj/project.pbxproj | 1 + .../xcshareddata/xcschemes/Develop.xcscheme | 77 +++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 App/Develop.xcodeproj/xcshareddata/xcschemes/Develop.xcscheme diff --git a/App/Develop.xcodeproj/project.pbxproj b/App/Develop.xcodeproj/project.pbxproj index eb7463f..0cf56a2 100644 --- a/App/Develop.xcodeproj/project.pbxproj +++ b/App/Develop.xcodeproj/project.pbxproj @@ -319,6 +319,7 @@ DEVELOPMENT_ASSET_PATHS = "\"Loki/Develop/Resources/Preview Content\""; DEVELOPMENT_TEAM = 47E56DYP3N; ENABLE_PREVIEWS = YES; + ENABLE_USER_SCRIPT_SANDBOXING = NO; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_KEY_CFBundleDisplayName = "Dev-Loki"; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; diff --git a/App/Develop.xcodeproj/xcshareddata/xcschemes/Develop.xcscheme b/App/Develop.xcodeproj/xcshareddata/xcschemes/Develop.xcscheme new file mode 100644 index 0000000..ec6948f --- /dev/null +++ b/App/Develop.xcodeproj/xcshareddata/xcschemes/Develop.xcscheme @@ -0,0 +1,77 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From d0e5725bf3f11d09c0d0e49701edfb91b3d16804 Mon Sep 17 00:00:00 2001 From: uhooi Date: Mon, 29 Jan 2024 20:16:54 +0900 Subject: [PATCH 2/3] Add -allowProvisioningUpdates --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 79ad4f2..7eefb86 100644 --- a/Makefile +++ b/Makefile @@ -81,6 +81,7 @@ build-debug: -scheme '$(PROJECT_NAME)' \ -destination $(TEST_DESTINATION) \ -skipPackagePluginValidation \ +-allowProvisioningUpdates \ clean build \ | tee $(product_name)_$(PROJECT_NAME)_Build.log From 1a448308798590a95c5d5101f980343400d0778a Mon Sep 17 00:00:00 2001 From: uhooi Date: Mon, 29 Jan 2024 20:39:55 +0900 Subject: [PATCH 3/3] Update xcodebuild options --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7eefb86..1928b36 100644 --- a/Makefile +++ b/Makefile @@ -17,9 +17,7 @@ develop_log_name := $(product_name)_$(develop_project_name)_Build.log TEST_SDK := iphonesimulator TEST_CONFIGURATION := Debug TEST_PLATFORM := iOS Simulator -TEST_DEVICE ?= iPhone 14 Pro Max -TEST_OS ?= 17.0 -TEST_DESTINATION := 'platform=$(TEST_PLATFORM),name=$(TEST_DEVICE),OS=$(TEST_OS)' +TEST_DESTINATION := 'generic/platform=$(TEST_PLATFORM)' # Commands MINT := mint @@ -81,7 +79,6 @@ build-debug: -scheme '$(PROJECT_NAME)' \ -destination $(TEST_DESTINATION) \ -skipPackagePluginValidation \ --allowProvisioningUpdates \ clean build \ | tee $(product_name)_$(PROJECT_NAME)_Build.log