Skip to content

Commit

Permalink
Merge pull request #7755 from FokkeZB/TIMOB-19455-hotfix-5_2_X
Browse files Browse the repository at this point in the history
[TIMOB-19455] Fix WatchOS apps with non alphanum names
  • Loading branch information
cheekiatng committed Feb 19, 2016
2 parents 8e28ccf + d6da5c0 commit fd837d1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@
"DEBUG=1",
"$(inherited)",
);
IBSC_MODULE = <%= watchkitExtName.replace(/ /g, '_') %>;
IBSC_MODULE = <%= watchkitExtName.replace(/[^a-z0-9]+/gi, '_') %>;
INFOPLIST_FILE = "<%= watchkitAppName %>/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.2;
PRODUCT_BUNDLE_IDENTIFIER = <%= watchkitExtId %>;
Expand All @@ -341,7 +341,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
IBSC_MODULE = <%= watchkitExtName.replace(/ /g, '_') %>;
IBSC_MODULE = <%= watchkitExtName.replace(/[^a-z0-9]+/gi, '_') %>;
INFOPLIST_FILE = "<%= watchkitAppName %>/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 8.2;
PRODUCT_BUNDLE_IDENTIFIER = <%= watchkitExtId %>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "iPhone Developer";
IBSC_MODULE = <%= watchkitExtName.replace(/ /g, '_') %>;
IBSC_MODULE = <%= watchkitExtName.replace(/[^a-z0-9]+/gi, '_') %>;
INFOPLIST_FILE = "<%= watchkitAppName %>/Info.plist";
PRODUCT_BUNDLE_IDENTIFIER = <%= watchkitAppId %>;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -379,7 +379,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "iPhone Developer";
IBSC_MODULE = <%= watchkitExtName.replace(/ /g, '_') %>;
IBSC_MODULE = <%= watchkitExtName.replace(/[^a-z0-9]+/gi, '_') %>;
INFOPLIST_FILE = "<%= watchkitAppName %>/Info.plist";
PRODUCT_BUNDLE_IDENTIFIER = <%= watchkitAppId %>;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES;
IBSC_MODULE = <%= watchkitExtName.replace(/ /g, '_') %>;
IBSC_MODULE = <%= watchkitExtName.replace(/[^a-z0-9]+/gi, '_') %>;
INFOPLIST_FILE = "<%= watchkitAppName %>/Info.plist";
PRODUCT_BUNDLE_IDENTIFIER = <%= watchkitAppId %>;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -373,7 +373,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
EMBEDDED_CONTENT_CONTAINS_SWIFT = YES;
IBSC_MODULE = <%= watchkitExtName.replace(/ /g, '_') %>;
IBSC_MODULE = <%= watchkitExtName.replace(/[^a-z0-9]+/gi, '_') %>;
INFOPLIST_FILE = "<%= watchkitAppName %>/Info.plist";
PRODUCT_BUNDLE_IDENTIFIER = <%= watchkitAppId %>;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "iPhone Developer";
IBSC_MODULE = <%= watchkitExtName.replace(/ /g, '_') %>;
IBSC_MODULE = <%= watchkitExtName.replace(/[^a-z0-9]+/gi, '_') %>;
INFOPLIST_FILE = "<%= watchkitAppName %>/Info.plist";
PRODUCT_BUNDLE_IDENTIFIER = <%= watchkitAppId %>;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -379,7 +379,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
"CODE_SIGN_IDENTITY[sdk=watchos*]" = "iPhone Developer";
IBSC_MODULE = <%= watchkitExtName.replace(/ /g, '_') %>;
IBSC_MODULE = <%= watchkitExtName.replace(/[^a-z0-9]+/gi, '_') %>;
INFOPLIST_FILE = "<%= watchkitAppName %>/Info.plist";
PRODUCT_BUNDLE_IDENTIFIER = <%= watchkitAppId %>;
PRODUCT_NAME = "$(TARGET_NAME)";
Expand Down

0 comments on commit fd837d1

Please sign in to comment.