diff --git a/experimental/templates/multiplatform-template/cleanup.sh b/experimental/templates/multiplatform-template/cleanup.sh deleted file mode 100755 index 693ca57ad0..0000000000 --- a/experimental/templates/multiplatform-template/cleanup.sh +++ /dev/null @@ -1,9 +0,0 @@ -#!/bin/sh -rm -rf .idea -./gradlew clean -rm -rf build -rm -rf */build -rm -rf iosApp/iosApp.xcworkspace -rm -rf iosApp/Pods -rm -rf iosApp/iosApp.xcodeproj/project.xcworkspace -rm -rf iosApp/iosApp.xcodeproj/xcuserdata diff --git a/experimental/templates/multiplatform-template/gradle/wrapper/gradle-wrapper.jar b/experimental/templates/multiplatform-template/gradle/wrapper/gradle-wrapper.jar index 249e5832f0..62d4c05355 100644 Binary files a/experimental/templates/multiplatform-template/gradle/wrapper/gradle-wrapper.jar and b/experimental/templates/multiplatform-template/gradle/wrapper/gradle-wrapper.jar differ diff --git a/experimental/templates/multiplatform-template/iosApp/Configuration/Config.xcconfig b/experimental/templates/multiplatform-template/iosApp/Configuration/Config.xcconfig deleted file mode 100644 index f391597827..0000000000 --- a/experimental/templates/multiplatform-template/iosApp/Configuration/Config.xcconfig +++ /dev/null @@ -1,3 +0,0 @@ -TEAM_ID= -BUNDLE_ID=com.myapplication.MyApplication -APP_NAME=My application diff --git a/experimental/templates/multiplatform-template/iosApp/Configuration/TeamId.xcconfig b/experimental/templates/multiplatform-template/iosApp/Configuration/TeamId.xcconfig new file mode 100644 index 0000000000..bf06eb27e9 --- /dev/null +++ b/experimental/templates/multiplatform-template/iosApp/Configuration/TeamId.xcconfig @@ -0,0 +1 @@ +TEAM_ID= diff --git a/experimental/templates/multiplatform-template/iosApp/iosApp.xcodeproj/project.pbxproj b/experimental/templates/multiplatform-template/iosApp/iosApp.xcodeproj/project.pbxproj index ba431831fe..d036d32452 100644 --- a/experimental/templates/multiplatform-template/iosApp/iosApp.xcodeproj/project.pbxproj +++ b/experimental/templates/multiplatform-template/iosApp/iosApp.xcodeproj/project.pbxproj @@ -20,10 +20,10 @@ 2152FB032600AC8F00CF470E /* iOSApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = iOSApp.swift; sourceTree = ""; }; 4FF3202A603A284706412EDC /* Pods-iosApp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iosApp.debug.xcconfig"; path = "Target Support Files/Pods-iosApp/Pods-iosApp.debug.xcconfig"; sourceTree = ""; }; 6B1049432C0C2B312090ABF6 /* Pods_iosApp.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_iosApp.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 7555FF7B242A565900829871 /* iosApp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = iosApp.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 7555FF7B242A565900829871 /* MyApplication.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = MyApplication.app; sourceTree = BUILT_PRODUCTS_DIR; }; 7555FF82242A565900829871 /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = ""; }; 7555FF8C242A565B00829871 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - AB3632DC29227652001CCB65 /* Config.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = ""; }; + AB3632DC29227652001CCB65 /* TeamId.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = TeamId.xcconfig; sourceTree = ""; }; FF8CA3F5360CEAB49D74065F /* Pods-iosApp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iosApp.release.xcconfig"; path = "Target Support Files/Pods-iosApp/Pods-iosApp.release.xcconfig"; sourceTree = ""; }; /* End PBXFileReference section */ @@ -69,7 +69,7 @@ 7555FF7C242A565900829871 /* Products */ = { isa = PBXGroup; children = ( - 7555FF7B242A565900829871 /* iosApp.app */, + 7555FF7B242A565900829871 /* MyApplication.app */, ); name = Products; sourceTree = ""; @@ -89,7 +89,7 @@ AB1DB47929225F7C00F7AF9C /* Configuration */ = { isa = PBXGroup; children = ( - AB3632DC29227652001CCB65 /* Config.xcconfig */, + AB3632DC29227652001CCB65 /* TeamId.xcconfig */, ); path = Configuration; sourceTree = ""; @@ -121,7 +121,7 @@ ); name = iosApp; productName = iosApp; - productReference = 7555FF7B242A565900829871 /* iosApp.app */; + productReference = 7555FF7B242A565900829871 /* MyApplication.app */; productType = "com.apple.product-type.application"; }; /* End PBXNativeTarget section */ @@ -207,7 +207,7 @@ /* Begin XCBuildConfiguration section */ 7555FFA3242A565B00829871 /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = AB3632DC29227652001CCB65 /* Config.xcconfig */; + baseConfigurationReference = AB3632DC29227652001CCB65 /* TeamId.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; @@ -269,7 +269,7 @@ }; 7555FFA4242A565B00829871 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = AB3632DC29227652001CCB65 /* Config.xcconfig */; + baseConfigurationReference = AB3632DC29227652001CCB65 /* TeamId.xcconfig */; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; CLANG_ANALYZER_NONNULL = YES; @@ -339,8 +339,8 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_ID}${TEAM_ID}"; - PRODUCT_NAME = "${APP_NAME}"; + PRODUCT_BUNDLE_IDENTIFIER = "com.myapplication.MyApplication${TEAM_ID}"; + PRODUCT_NAME = MyApplication; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -363,8 +363,8 @@ "$(inherited)", "@executable_path/Frameworks", ); - PRODUCT_BUNDLE_IDENTIFIER = "${BUNDLE_ID}${TEAM_ID}"; - PRODUCT_NAME = "${APP_NAME}"; + PRODUCT_BUNDLE_IDENTIFIER = "com.myapplication.MyApplication${TEAM_ID}"; + PRODUCT_NAME = MyApplication; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2";