Use environment for testing full version
This commit is contained in:
parent
1213212332
commit
ed0b12cd24
|
@ -33,10 +33,7 @@ extension AppConstants {
|
||||||
|
|
||||||
struct InApp {
|
struct InApp {
|
||||||
static var isBetaFullVersion: Bool {
|
static var isBetaFullVersion: Bool {
|
||||||
guard !ProcessInfo.processInfo.arguments.contains("FULL_VERSION") else {
|
return ProcessInfo.processInfo.environment["FULL_VERSION"] != nil
|
||||||
return true
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static let lastFullVersionBuild = 2016
|
static let lastFullVersionBuild = 2016
|
||||||
|
|
|
@ -73,12 +73,13 @@
|
||||||
ReferencedContainer = "container:Passepartout.xcodeproj">
|
ReferencedContainer = "container:Passepartout.xcodeproj">
|
||||||
</BuildableReference>
|
</BuildableReference>
|
||||||
</BuildableProductRunnable>
|
</BuildableProductRunnable>
|
||||||
<CommandLineArguments>
|
<EnvironmentVariables>
|
||||||
<CommandLineArgument
|
<EnvironmentVariable
|
||||||
argument = "FULL_VERSION"
|
key = "FULL_VERSION"
|
||||||
|
value = ""
|
||||||
isEnabled = "YES">
|
isEnabled = "YES">
|
||||||
</CommandLineArgument>
|
</EnvironmentVariable>
|
||||||
</CommandLineArguments>
|
</EnvironmentVariables>
|
||||||
</LaunchAction>
|
</LaunchAction>
|
||||||
<ProfileAction
|
<ProfileAction
|
||||||
buildConfiguration = "Release"
|
buildConfiguration = "Release"
|
||||||
|
|
Loading…
Reference in New Issue