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