Use correct bundle ID for extensions in beta app
This commit is contained in:
parent
6044098278
commit
8459af4196
2 changed files with 9 additions and 1 deletions
|
|
@ -1885,6 +1885,7 @@
|
||||||
);
|
);
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
|
IPHONEOS_DEPLOYMENT_TARGET = 10.2;
|
||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
MTL_ENABLE_DEBUG_INFO = NO;
|
||||||
|
OTHER_SWIFT_FLAGS = "-D BETA";
|
||||||
PRODUCT_BUNDLE_IDENTIFIER = me.mssun.passforiosbeta;
|
PRODUCT_BUNDLE_IDENTIFIER = me.mssun.passforiosbeta;
|
||||||
PRODUCT_NAME = "Pass Beta";
|
PRODUCT_NAME = "Pass Beta";
|
||||||
SDKROOT = iphoneos;
|
SDKROOT = iphoneos;
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,14 @@ import Foundation
|
||||||
import UIKit
|
import UIKit
|
||||||
|
|
||||||
public final class Globals {
|
public final class Globals {
|
||||||
public static let bundleIdentifier = Bundle.main.bundleIdentifier ?? "me.mssun.passforios"
|
public static let bundleIdentifier: String = {
|
||||||
|
#if BETA
|
||||||
|
return "me.mssun.passforiosbeta"
|
||||||
|
#else
|
||||||
|
return "me.mssun.passforios"
|
||||||
|
#endif
|
||||||
|
}()
|
||||||
|
|
||||||
public static let groupIdentifier = "group." + bundleIdentifier
|
public static let groupIdentifier = "group." + bundleIdentifier
|
||||||
public static let passKitBundleIdentifier = bundleIdentifier + ".passKit"
|
public static let passKitBundleIdentifier = bundleIdentifier + ".passKit"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue