Skip to content

Commit 68d2a65

Browse files
committed
Update template to match site
1 parent 3398091 commit 68d2a65

3 files changed

Lines changed: 12 additions & 5 deletions

File tree

Darwin/HelloSkip.xcconfig

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ GENERATE_INFOPLIST_FILE = YES
1717
// The user-visible name of the app (localizable)
1818
//INFOPLIST_KEY_CFBundleDisplayName = App Name
1919
//INFOPLIST_KEY_LSApplicationCategoryType = public.app-category.utilities
20-
//INFOPLIST_KEY_NSLocationWhenInUseUsageDescription = "This app uses your location to …"
2120

2221
// iOS-specific Info.plist property keys
2322
INFOPLIST_KEY_UIApplicationSceneManifest_Generation[sdk=iphone*] = YES
@@ -30,23 +29,21 @@ IPHONEOS_DEPLOYMENT_TARGET = 17.0
3029
MACOSX_DEPLOYMENT_TARGET = 14.0
3130
SUPPORTS_MACCATALYST = NO
3231

32+
SUPPORTED_PLATFORMS = iphoneos iphonesimulator macosx
33+
3334
// iPhone + iPad
3435
TARGETED_DEVICE_FAMILY = 1,2
3536

3637
// iPhone only
3738
// TARGETED_DEVICE_FAMILY = 1
3839

39-
SWIFT_EMIT_LOC_STRINGS = YES
40-
4140
// the name of the product module; this can be anything, but cannot conflict with any Swift module names
4241
PRODUCT_MODULE_NAME = $(PRODUCT_NAME:c99extidentifier)App
4342

4443
// On-device testing may need to override the bundle ID
4544
// PRODUCT_BUNDLE_IDENTIFIER[config=Debug][sdk=iphoneos*] = cool.beans.BundleIdentifer
4645

4746
SDKROOT = auto
48-
SUPPORTED_PLATFORMS = iphoneos iphonesimulator macosx
49-
SWIFT_EMIT_LOC_STRINGS = YES
5047

5148
SWIFT_VERSION = 6
5249

Darwin/HelloSkip.xcodeproj/project.pbxproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
496EB72F2A6AE4DE00C1253A /* Skip.env */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Skip.env; path = ../Skip.env; sourceTree = "<group>"; };
3737
496EB72F2A6AE4DE00C1253B /* HelloSkip.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = HelloSkip.xcconfig; sourceTree = "<group>"; };
3838
496EB72F2A6AE4DE00C1253C /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
39+
4971EFA92FA4FEA50002D3F7 /* InfoPlist.xcstrings */ = {isa = PBXFileReference; lastKnownFileType = text.json.xcstrings; path = InfoPlist.xcstrings; sourceTree = "<group>"; };
3940
499AB9082B0581F4005E8330 /* plugins */ = {isa = PBXFileReference; lastKnownFileType = folder; name = plugins; path = ../../Intermediates.noindex/BuildToolPluginIntermediates; sourceTree = BUILT_PRODUCTS_DIR; };
4041
49F90C2B2A52156200F06D93 /* Main.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; name = Main.swift; path = Sources/Main.swift; sourceTree = SOURCE_ROOT; };
4142
49F90C2F2A52156300F06D93 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
@@ -91,6 +92,7 @@
9192
49F90C2F2A52156300F06D93 /* Assets.xcassets */,
9293
49F90C312A52156300F06D93 /* Entitlements.plist */,
9394
4900101C2BACEA710000DE33 /* Info.plist */,
95+
4971EFA92FA4FEA50002D3F7 /* InfoPlist.xcstrings */,
9496
);
9597
name = App;
9698
sourceTree = "<group>";
@@ -158,6 +160,7 @@
158160
isa = PBXResourcesBuildPhase;
159161
buildActionMask = 2147483647;
160162
files = (
163+
4971EFAA2FA4FEA50002D3F7 /* InfoPlist.xcstrings in Resources */,
161164
499CD4402AC5B799001AE8D8 /* Assets.xcassets in Resources */,
162165
496BDBEE2B8A7E9C00C09264 /* Localizable.xcstrings in Resources */,
163166
);
@@ -234,6 +237,7 @@
234237
MTL_FAST_MATH = YES;
235238
ONLY_ACTIVE_ARCH = YES;
236239
SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG $(inherited)";
240+
SWIFT_EMIT_LOC_STRINGS = YES;
237241
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
238242
};
239243
name = Debug;
@@ -252,6 +256,7 @@
252256
MTL_ENABLE_DEBUG_INFO = NO;
253257
MTL_FAST_MATH = YES;
254258
SWIFT_COMPILATION_MODE = wholemodule;
259+
SWIFT_EMIT_LOC_STRINGS = YES;
255260
};
256261
name = Release;
257262
};

Darwin/InfoPlist.xcstrings

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"sourceLanguage" : "en",
3+
"strings" : { },
4+
"version" : "1.0"
5+
}

0 commit comments

Comments
 (0)