Jonas Björkert 2 лет назад
Родитель
Сommit
069bb084f2
3 измененных файлов с 24 добавлено и 18 удалено
  1. 1 18
      Config.xcconfig
  2. 4 0
      LoopFollow.xcodeproj/project.pbxproj
  3. 19 0
      LoopFollowInstanceConfig.xcconfig

+ 1 - 18
Config.xcconfig

@@ -1,25 +1,8 @@
 #include? "LoopFollowConfigOverride.xcconfig"
 #include? "LoopFollowConfigOverride.xcconfig"
 #include? "../../LoopFollowConfigOverride.xcconfig"
 #include? "../../LoopFollowConfigOverride.xcconfig"
+#include? "LoopFollowInstanceConfig.xcconfig"
 
 
-//
-//  Config.xcconfig
-//  nsapple
-//
-//  Created by Kenneth Stack on 4/12/18.
-//  Copyright © 2018 Perceptus.org. All rights reserved.
-//
 unique_id = ${DEVELOPMENT_TEAM}
 unique_id = ${DEVELOPMENT_TEAM}
 
 
 //Version (DEFAULT)
 //Version (DEFAULT)
 LOOP_FOLLOW_MARKETING_VERSION = 2.0.02
 LOOP_FOLLOW_MARKETING_VERSION = 2.0.02
-
-// Custom Display Name for Your LoopFollow App
-// ---------------------------------------------
-// The 'display_name' field allows you to personalize the name of this LoopFollow app instance.
-// This name appears on your device and helps to distinguish between different LoopFollow instances.
-//
-// How to Set:
-// 1. Replace 'LoopFollow' with the desired name of your app. 
-// 2. Save the file and build the app for the changes to take effect.
-//
-display_name = LoopFollow

+ 4 - 0
LoopFollow.xcodeproj/project.pbxproj

@@ -33,6 +33,7 @@
 		DDCF979A24C14DB4002C9752 /* WatchSettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDCF979924C14DB4002C9752 /* WatchSettingsViewController.swift */; };
 		DDCF979A24C14DB4002C9752 /* WatchSettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDCF979924C14DB4002C9752 /* WatchSettingsViewController.swift */; };
 		DDCF979C24C14EFB002C9752 /* AdvancedSettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDCF979B24C14EFB002C9752 /* AdvancedSettingsViewController.swift */; };
 		DDCF979C24C14EFB002C9752 /* AdvancedSettingsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDCF979B24C14EFB002C9752 /* AdvancedSettingsViewController.swift */; };
 		DDCF979E24C2382A002C9752 /* AppStateController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDCF979D24C2382A002C9752 /* AppStateController.swift */; };
 		DDCF979E24C2382A002C9752 /* AppStateController.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDCF979D24C2382A002C9752 /* AppStateController.swift */; };
+		DDCFCAF22B17273200BE5751 /* LoopFollowInstanceConfig.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = DDCFCAF12B17273200BE5751 /* LoopFollowInstanceConfig.xcconfig */; };
 		DDF9676E2AD08C6E00C5EB95 /* SiteChange.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDF9676D2AD08C6E00C5EB95 /* SiteChange.swift */; };
 		DDF9676E2AD08C6E00C5EB95 /* SiteChange.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDF9676D2AD08C6E00C5EB95 /* SiteChange.swift */; };
 		FC16A97A24996673003D6245 /* NightScout.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC16A97924996673003D6245 /* NightScout.swift */; };
 		FC16A97A24996673003D6245 /* NightScout.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC16A97924996673003D6245 /* NightScout.swift */; };
 		FC16A97B249966A3003D6245 /* AlarmSound.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC7CE589248ABEA3001F83B8 /* AlarmSound.swift */; };
 		FC16A97B249966A3003D6245 /* AlarmSound.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC7CE589248ABEA3001F83B8 /* AlarmSound.swift */; };
@@ -217,6 +218,7 @@
 		DDCF979924C14DB4002C9752 /* WatchSettingsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WatchSettingsViewController.swift; sourceTree = "<group>"; };
 		DDCF979924C14DB4002C9752 /* WatchSettingsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WatchSettingsViewController.swift; sourceTree = "<group>"; };
 		DDCF979B24C14EFB002C9752 /* AdvancedSettingsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AdvancedSettingsViewController.swift; sourceTree = "<group>"; };
 		DDCF979B24C14EFB002C9752 /* AdvancedSettingsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AdvancedSettingsViewController.swift; sourceTree = "<group>"; };
 		DDCF979D24C2382A002C9752 /* AppStateController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppStateController.swift; sourceTree = "<group>"; };
 		DDCF979D24C2382A002C9752 /* AppStateController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppStateController.swift; sourceTree = "<group>"; };
+		DDCFCAF12B17273200BE5751 /* LoopFollowInstanceConfig.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = LoopFollowInstanceConfig.xcconfig; sourceTree = "<group>"; };
 		DDF9676D2AD08C6E00C5EB95 /* SiteChange.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SiteChange.swift; sourceTree = "<group>"; };
 		DDF9676D2AD08C6E00C5EB95 /* SiteChange.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SiteChange.swift; sourceTree = "<group>"; };
 		ECA3EFB4037410B4973BB632 /* Pods-LoopFollow.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LoopFollow.debug.xcconfig"; path = "Target Support Files/Pods-LoopFollow/Pods-LoopFollow.debug.xcconfig"; sourceTree = "<group>"; };
 		ECA3EFB4037410B4973BB632 /* Pods-LoopFollow.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-LoopFollow.debug.xcconfig"; path = "Target Support Files/Pods-LoopFollow/Pods-LoopFollow.debug.xcconfig"; sourceTree = "<group>"; };
 		FC16A97924996673003D6245 /* NightScout.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NightScout.swift; sourceTree = "<group>"; };
 		FC16A97924996673003D6245 /* NightScout.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NightScout.swift; sourceTree = "<group>"; };
@@ -630,6 +632,7 @@
 		FC97880B2485969B00A7906C = {
 		FC97880B2485969B00A7906C = {
 			isa = PBXGroup;
 			isa = PBXGroup;
 			children = (
 			children = (
+				DDCFCAF12B17273200BE5751 /* LoopFollowInstanceConfig.xcconfig */,
 				FC3AE7B3249E8E0E00AAE1E0 /* LoopFollow.xcdatamodeld */,
 				FC3AE7B3249E8E0E00AAE1E0 /* LoopFollow.xcdatamodeld */,
 				FC5A5C3C2497B229009C550E /* Config.xcconfig */,
 				FC5A5C3C2497B229009C550E /* Config.xcconfig */,
 				FC8DEEE32485D1680075863F /* LoopFollow */,
 				FC8DEEE32485D1680075863F /* LoopFollow */,
@@ -833,6 +836,7 @@
 				FC7CE518248ABE37001F83B8 /* Siri_Alert_Calibration_Needed.caf in Resources */,
 				FC7CE518248ABE37001F83B8 /* Siri_Alert_Calibration_Needed.caf in Resources */,
 				FC5A5C3D2497B229009C550E /* Config.xcconfig in Resources */,
 				FC5A5C3D2497B229009C550E /* Config.xcconfig in Resources */,
 				FC7CE550248ABE37001F83B8 /* Siri_Alert_High_Glucose.caf in Resources */,
 				FC7CE550248ABE37001F83B8 /* Siri_Alert_High_Glucose.caf in Resources */,
+				DDCFCAF22B17273200BE5751 /* LoopFollowInstanceConfig.xcconfig in Resources */,
 				FC7CE525248ABE37001F83B8 /* Sci-Fi_Warning.caf in Resources */,
 				FC7CE525248ABE37001F83B8 /* Sci-Fi_Warning.caf in Resources */,
 				FC7CE556248ABE37001F83B8 /* Sci-Fi_Console_Alarm.caf in Resources */,
 				FC7CE556248ABE37001F83B8 /* Sci-Fi_Console_Alarm.caf in Resources */,
 				FC7CE55C248ABE37001F83B8 /* Big_Clock_Ticking.caf in Resources */,
 				FC7CE55C248ABE37001F83B8 /* Big_Clock_Ticking.caf in Resources */,

+ 19 - 0
LoopFollowInstanceConfig.xcconfig

@@ -0,0 +1,19 @@
+//
+//  LoopFollowInstanceConfig.xcconfig
+//
+//  Use this file to configure instance-specific settings for LoopFollow.
+//
+
+// App Suffix: Used to differentiate AppGroupIdentifier between different app instances.
+app_suffix = 
+
+// Custom Display Name for Your LoopFollow App
+// ---------------------------------------------
+// The 'display_name' field allows you to personalize the name of this LoopFollow app instance.
+// This name appears on your device and helps to distinguish between different LoopFollow instances.
+//
+// How to Set:
+// 1. Replace 'LoopFollow' with the desired name of your app. 
+// 2. Save the file and build the app for the changes to take effect.
+//
+display_name = LoopFollow