Fix provisioning profile value in Xcode project template
This commit is contained in:
@@ -134,6 +134,12 @@ class IOSPlatform extends PlatformTarget {
|
||||
context.OBJC_ARC = false;
|
||||
context.KEY_STORE_IDENTITY = project.config.getString ("ios.identity");
|
||||
|
||||
if (project.config.exists ("ios.provisioning-profile")) {
|
||||
|
||||
context.IOS_PROVISIONING_PROFILE = PathHelper.tryFullPath (project.config.getString ("ios.provisioning-profile"));
|
||||
|
||||
}
|
||||
|
||||
if (project.config.exists ("ios.team-id")) {
|
||||
|
||||
context.DEVELOPMENT_TEAM_ID = project.config.getString ("ios.team-id");
|
||||
|
||||
@@ -260,6 +260,7 @@
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
::end::
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "::config.ios.identity::";
|
||||
::if (IOS_PROVISIONING_PROFILE)::PROVISIONING_PROFILE = "::IOS_PROVISIONING_PROFILE::";::end::
|
||||
COPY_PHASE_STRIP = NO;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
GCC_DYNAMIC_NO_PIC = NO;
|
||||
@@ -291,6 +292,7 @@
|
||||
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
||||
::end::
|
||||
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "::config.ios.identity::";
|
||||
::if (IOS_PROVISIONING_PROFILE)::PROVISIONING_PROFILE = "::IOS_PROVISIONING_PROFILE::";::end::
|
||||
/* COMPRESS_PNG_FILES = NO; */
|
||||
COPY_PHASE_STRIP = YES;
|
||||
GCC_C_LANGUAGE_STANDARD = gnu99;
|
||||
|
||||
Reference in New Issue
Block a user