From ebee043d87d1ceae6ebe7cad8225c96470762c1e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 1 Nov 2018 20:45:54 +0300 Subject: Local and Production Debug configurations --- Juick/Supporting Files/Juick-Info.plist | 13 +++++++++++++ Juick/Supporting Files/Local.xcconfig | 12 ++++++++++++ Juick/Supporting Files/Production.xcconfig | 12 ++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 Juick/Supporting Files/Local.xcconfig create mode 100644 Juick/Supporting Files/Production.xcconfig (limited to 'Juick/Supporting Files') diff --git a/Juick/Supporting Files/Juick-Info.plist b/Juick/Supporting Files/Juick-Info.plist index 3b9b7ba..5812a2d 100644 --- a/Juick/Supporting Files/Juick-Info.plist +++ b/Juick/Supporting Files/Juick-Info.plist @@ -2,6 +2,19 @@ + NSAppTransportSecurity + + NSExceptionDomains + + localhost + + NSExceptionAllowsInsecureHTTPLoads + + + + + base_url + ${API_BASE_URL} CFBundleDevelopmentRegion en CFBundleDisplayName diff --git a/Juick/Supporting Files/Local.xcconfig b/Juick/Supporting Files/Local.xcconfig new file mode 100644 index 0000000..d3b0acc --- /dev/null +++ b/Juick/Supporting Files/Local.xcconfig @@ -0,0 +1,12 @@ +// +// localhost.xcconfig +// Juick +// +// Created by Vitaly Takmazov on 01/11/2018. +// Copyright © 2018 com.juick. All rights reserved. +// + +// Configuration settings file format documentation can be found at: +// https://help.apple.com/xcode/#/dev745c5c974 + +API_BASE_URL = http:/$()/localhost:8080/api diff --git a/Juick/Supporting Files/Production.xcconfig b/Juick/Supporting Files/Production.xcconfig new file mode 100644 index 0000000..a57b0ad --- /dev/null +++ b/Juick/Supporting Files/Production.xcconfig @@ -0,0 +1,12 @@ +// +// Production.xcconfig +// Juick +// +// Created by Vitaly Takmazov on 01/11/2018. +// Copyright © 2018 com.juick. All rights reserved. +// + +// Configuration settings file format documentation can be found at: +// https://help.apple.com/xcode/#/dev745c5c974 + +API_BASE_URL = https:/$()/api.juick.com -- cgit v1.2.3