diff --git a/Passepartout-iOS/Global/AppConstants+App.swift b/Passepartout-iOS/Global/AppConstants+App.swift index 21f3af30..37fbf2b9 100644 --- a/Passepartout-iOS/Global/AppConstants+App.swift +++ b/Passepartout-iOS/Global/AppConstants+App.swift @@ -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 diff --git a/Passepartout.xcodeproj/xcshareddata/xcschemes/Passepartout-iOS.xcscheme b/Passepartout.xcodeproj/xcshareddata/xcschemes/Passepartout-iOS.xcscheme index 35334b0d..92a99058 100644 --- a/Passepartout.xcodeproj/xcshareddata/xcschemes/Passepartout-iOS.xcscheme +++ b/Passepartout.xcodeproj/xcshareddata/xcschemes/Passepartout-iOS.xcscheme @@ -73,12 +73,13 @@ ReferencedContainer = "container:Passepartout.xcodeproj"> - - + - - + +