100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps
Java asset-managementbuildingdashboarddataplatformdevice-managementedge-computingenergyenergy-managementenergy-monitorfleet-managementfleet-telematicsiotiot-applicationiot-platformmodbusmqttmqtt-brokerota-updaterules-enginesmartcity
iOS shell : rename or-shell app to console
William Balcaencb80249d0b24
diff --git a/or-shell/iOS/or-shell.xcodeproj/project.pbxproj b/or-shell/iOS/console.xcodeproj/project.pbxprojsimilarity index 56%rename from or-shell/iOS/or-shell.xcodeproj/project.pbxprojrename to or-shell/iOS/console.xcodeproj/project.pbxprojindex c98aac2d9..7f606c386 100644--- a/or-shell/iOS/or-shell.xcodeproj/project.pbxproj+++ b/or-shell/iOS/console.xcodeproj/project.pbxproj@@ -7,132 +7,131 @@objects = {/* Begin PBXBuildFile section */- 497390E4B5659E437540575F /* Pods_or_shell.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7E5EA4FB672A102F010F3926 /* Pods_or_shell.framework */; };- 9138737D1E32262400CE92FE /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9138737C1E32262400CE92FE /* AppDelegate.swift */; };- 9138737F1E32262400CE92FE /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9138737E1E32262400CE92FE /* ViewController.swift */; };- 913873821E32262400CE92FE /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 913873801E32262400CE92FE /* Main.storyboard */; };- 913873841E32262400CE92FE /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 913873831E32262400CE92FE /* Assets.xcassets */; };- 913873871E32262400CE92FE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 913873851E32262400CE92FE /* LaunchScreen.storyboard */; };- FA7551961E432EF5004A1C90 /* ORViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA7551951E432EF5004A1C90 /* ORViewController.swift */; };+ 87A2313B4335644906A6C5DB /* Pods_console.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D4964874264350BC5EAC8F84 /* Pods_console.framework */; };+ FA1D73E21E53374E00F6240A /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA1D73E11E53374E00F6240A /* AppDelegate.swift */; };+ FA1D73E41E53374E00F6240A /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA1D73E31E53374E00F6240A /* ViewController.swift */; };+ FA1D73E71E53374E00F6240A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FA1D73E51E53374E00F6240A /* Main.storyboard */; };+ FA1D73E91E53374E00F6240A /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = FA1D73E81E53374E00F6240A /* Assets.xcassets */; };+ FA1D73EC1E53374E00F6240A /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = FA1D73EA1E53374E00F6240A /* LaunchScreen.storyboard */; };+ FA1D73F61E53392F00F6240A /* ORViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FA1D73F51E53392F00F6240A /* ORViewController.swift */; };/* End PBXBuildFile section *//* Begin PBXFileReference section */- 7E5EA4FB672A102F010F3926 /* Pods_or_shell.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_or_shell.framework; sourceTree = BUILT_PRODUCTS_DIR; };- 913873791E32262400CE92FE /* or-shell.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "or-shell.app"; sourceTree = BUILT_PRODUCTS_DIR; };- 9138737C1E32262400CE92FE /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };- 9138737E1E32262400CE92FE /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };- 913873811E32262400CE92FE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };- 913873831E32262400CE92FE /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };- 913873861E32262400CE92FE /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };- 913873881E32262400CE92FE /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };- 979189EBB4126A1BC3087E0E /* Pods-or-shell.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-or-shell.debug.xcconfig"; path = "Pods/Target Support Files/Pods-or-shell/Pods-or-shell.debug.xcconfig"; sourceTree = "<group>"; };- CA5BD9579BAC5807FB562451 /* Pods-or-shell.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-or-shell.release.xcconfig"; path = "Pods/Target Support Files/Pods-or-shell/Pods-or-shell.release.xcconfig"; sourceTree = "<group>"; };- FA7551951E432EF5004A1C90 /* ORViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ORViewController.swift; sourceTree = "<group>"; };+ 146098EE6A2181297FD32B8D /* Pods-console.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-console.debug.xcconfig"; path = "Pods/Target Support Files/Pods-console/Pods-console.debug.xcconfig"; sourceTree = "<group>"; };+ 6A25CEFE37281B00C9BA7EB5 /* Pods-console.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-console.release.xcconfig"; path = "Pods/Target Support Files/Pods-console/Pods-console.release.xcconfig"; sourceTree = "<group>"; };+ D4964874264350BC5EAC8F84 /* Pods_console.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_console.framework; sourceTree = BUILT_PRODUCTS_DIR; };+ FA1D73DE1E53374E00F6240A /* console.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = console.app; sourceTree = BUILT_PRODUCTS_DIR; };+ FA1D73E11E53374E00F6240A /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };+ FA1D73E31E53374E00F6240A /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };+ FA1D73E61E53374E00F6240A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };+ FA1D73E81E53374E00F6240A /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };+ FA1D73EB1E53374E00F6240A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };+ FA1D73ED1E53374E00F6240A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };+ FA1D73F51E53392F00F6240A /* ORViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ORViewController.swift; sourceTree = "<group>"; };/* End PBXFileReference section *//* Begin PBXFrameworksBuildPhase section */- 913873761E32262400CE92FE /* Frameworks */ = {+ FA1D73DB1E53374E00F6240A /* Frameworks */ = {isa = PBXFrameworksBuildPhase;buildActionMask = 2147483647;files = (- 497390E4B5659E437540575F /* Pods_or_shell.framework in Frameworks */,+ 87A2313B4335644906A6C5DB /* Pods_console.framework in Frameworks */,);runOnlyForDeploymentPostprocessing = 0;};/* End PBXFrameworksBuildPhase section *//* Begin PBXGroup section */- 144E366AC5ACA30FC384B59E /* Pods */ = {+ B5A9A3A4436D6649979AAD5D /* Pods */ = {isa = PBXGroup;children = (- 979189EBB4126A1BC3087E0E /* Pods-or-shell.debug.xcconfig */,- CA5BD9579BAC5807FB562451 /* Pods-or-shell.release.xcconfig */,+ 146098EE6A2181297FD32B8D /* Pods-console.debug.xcconfig */,+ 6A25CEFE37281B00C9BA7EB5 /* Pods-console.release.xcconfig */,);name = Pods;sourceTree = "<group>";};- 913873701E32262400CE92FE = {+ D99D42C10629DD05EE566F2F /* Frameworks */ = {isa = PBXGroup;children = (- 9138737B1E32262400CE92FE /* or-shell */,- 9138737A1E32262400CE92FE /* Products */,- 144E366AC5ACA30FC384B59E /* Pods */,- DD91A74FCC7654573F723FB2 /* Frameworks */,+ D4964874264350BC5EAC8F84 /* Pods_console.framework */,);+ name = Frameworks;sourceTree = "<group>";};- 9138737A1E32262400CE92FE /* Products */ = {+ FA1D73D51E53374E00F6240A = {isa = PBXGroup;children = (- 913873791E32262400CE92FE /* or-shell.app */,+ FA1D73E01E53374E00F6240A /* console */,+ FA1D73DF1E53374E00F6240A /* Products */,+ B5A9A3A4436D6649979AAD5D /* Pods */,+ D99D42C10629DD05EE566F2F /* Frameworks */,);- name = Products;sourceTree = "<group>";};- 9138737B1E32262400CE92FE /* or-shell */ = {+ FA1D73DF1E53374E00F6240A /* Products */ = {isa = PBXGroup;children = (- 9138737C1E32262400CE92FE /* AppDelegate.swift */,- 9138737E1E32262400CE92FE /* ViewController.swift */,- FA7551951E432EF5004A1C90 /* ORViewController.swift */,- 913873801E32262400CE92FE /* Main.storyboard */,- 913873831E32262400CE92FE /* Assets.xcassets */,- 913873851E32262400CE92FE /* LaunchScreen.storyboard */,- 913873881E32262400CE92FE /* Info.plist */,+ FA1D73DE1E53374E00F6240A /* console.app */,);- path = "or-shell";+ name = Products;sourceTree = "<group>";};- DD91A74FCC7654573F723FB2 /* Frameworks */ = {+ FA1D73E01E53374E00F6240A /* console */ = {isa = PBXGroup;children = (- 7E5EA4FB672A102F010F3926 /* Pods_or_shell.framework */,+ FA1D73E11E53374E00F6240A /* AppDelegate.swift */,+ FA1D73E31E53374E00F6240A /* ViewController.swift */,+ FA1D73F51E53392F00F6240A /* ORViewController.swift */,+ FA1D73E51E53374E00F6240A /* Main.storyboard */,+ FA1D73E81E53374E00F6240A /* Assets.xcassets */,+ FA1D73EA1E53374E00F6240A /* LaunchScreen.storyboard */,+ FA1D73ED1E53374E00F6240A /* Info.plist */,);- name = Frameworks;+ path = console;sourceTree = "<group>";};/* End PBXGroup section *//* Begin PBXNativeTarget section */- 913873781E32262400CE92FE /* or-shell */ = {+ FA1D73DD1E53374E00F6240A /* console */ = {isa = PBXNativeTarget;- buildConfigurationList = 9138738B1E32262400CE92FE /* Build configuration list for PBXNativeTarget "or-shell" */;+ buildConfigurationList = FA1D73F01E53374E00F6240A /* Build configuration list for PBXNativeTarget "console" */;buildPhases = (- BD92EF3A4F2C567F630C672E /* [CP] Check Pods Manifest.lock */,- 913873751E32262400CE92FE /* Sources */,- 913873761E32262400CE92FE /* Frameworks */,- 913873771E32262400CE92FE /* Resources */,- 6A03A88B190F5CB605FC1578 /* [CP] Embed Pods Frameworks */,- 2AB69BBD119E21E1C3C57829 /* [CP] Copy Pods Resources */,+ 81ECFB768977B845BC1CB19F /* [CP] Check Pods Manifest.lock */,+ FA1D73DA1E53374E00F6240A /* Sources */,+ FA1D73DB1E53374E00F6240A /* Frameworks */,+ FA1D73DC1E53374E00F6240A /* Resources */,+ 2E1F88AEF407A152C63657FF /* [CP] Embed Pods Frameworks */,+ EE81FADDE7C1DBD70C93FA57 /* [CP] Copy Pods Resources */,);buildRules = ();dependencies = ();- name = "or-shell";- productName = "or-shell";- productReference = 913873791E32262400CE92FE /* or-shell.app */;+ name = console;+ productName = console;+ productReference = FA1D73DE1E53374E00F6240A /* console.app */;productType = "com.apple.product-type.application";};/* End PBXNativeTarget section *//* Begin PBXProject section */- 913873711E32262400CE92FE /* Project object */ = {+ FA1D73D61E53374E00F6240A /* Project object */ = {isa = PBXProject;attributes = {LastSwiftUpdateCheck = 0820;LastUpgradeCheck = 0820;- ORGANIZATIONNAME = OpenRemote;+ ORGANIZATIONNAME = TInSys;TargetAttributes = {- 913873781E32262400CE92FE = {- CreatedOnToolsVersion = 8.2;- DevelopmentTeam = SXCT8WTLBR;+ FA1D73DD1E53374E00F6240A = {+ CreatedOnToolsVersion = 8.2.1;LastSwiftMigration = 0820;ProvisioningStyle = Automatic;};};};- buildConfigurationList = 913873741E32262400CE92FE /* Build configuration list for PBXProject "or-shell" */;+ buildConfigurationList = FA1D73D91E53374E00F6240A /* Build configuration list for PBXProject "console" */;compatibilityVersion = "Xcode 3.2";developmentRegion = English;hasScannedForEncodings = 0;@@ -140,103 +139,103 @@en,Base,);- mainGroup = 913873701E32262400CE92FE;- productRefGroup = 9138737A1E32262400CE92FE /* Products */;+ mainGroup = FA1D73D51E53374E00F6240A;+ productRefGroup = FA1D73DF1E53374E00F6240A /* Products */;projectDirPath = "";projectRoot = "";targets = (- 913873781E32262400CE92FE /* or-shell */,+ FA1D73DD1E53374E00F6240A /* console */,);};/* End PBXProject section *//* Begin PBXResourcesBuildPhase section */- 913873771E32262400CE92FE /* Resources */ = {+ FA1D73DC1E53374E00F6240A /* Resources */ = {isa = PBXResourcesBuildPhase;buildActionMask = 2147483647;files = (- 913873871E32262400CE92FE /* LaunchScreen.storyboard in Resources */,- 913873841E32262400CE92FE /* Assets.xcassets in Resources */,- 913873821E32262400CE92FE /* Main.storyboard in Resources */,+ FA1D73EC1E53374E00F6240A /* LaunchScreen.storyboard in Resources */,+ FA1D73E91E53374E00F6240A /* Assets.xcassets in Resources */,+ FA1D73E71E53374E00F6240A /* Main.storyboard in Resources */,);runOnlyForDeploymentPostprocessing = 0;};/* End PBXResourcesBuildPhase section *//* Begin PBXShellScriptBuildPhase section */- 2AB69BBD119E21E1C3C57829 /* [CP] Copy Pods Resources */ = {+ 2E1F88AEF407A152C63657FF /* [CP] Embed Pods Frameworks */ = {isa = PBXShellScriptBuildPhase;buildActionMask = 2147483647;files = ();inputPaths = ();- name = "[CP] Copy Pods Resources";+ name = "[CP] Embed Pods Frameworks";outputPaths = ();runOnlyForDeploymentPostprocessing = 0;shellPath = /bin/sh;- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-or-shell/Pods-or-shell-resources.sh\"\n";+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-console/Pods-console-frameworks.sh\"\n";showEnvVarsInLog = 0;};- 6A03A88B190F5CB605FC1578 /* [CP] Embed Pods Frameworks */ = {+ 81ECFB768977B845BC1CB19F /* [CP] Check Pods Manifest.lock */ = {isa = PBXShellScriptBuildPhase;buildActionMask = 2147483647;files = ();inputPaths = ();- name = "[CP] Embed Pods Frameworks";+ name = "[CP] Check Pods Manifest.lock";outputPaths = ();runOnlyForDeploymentPostprocessing = 0;shellPath = /bin/sh;- shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-or-shell/Pods-or-shell-frameworks.sh\"\n";+ shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";showEnvVarsInLog = 0;};- BD92EF3A4F2C567F630C672E /* [CP] Check Pods Manifest.lock */ = {+ EE81FADDE7C1DBD70C93FA57 /* [CP] Copy Pods Resources */ = {isa = PBXShellScriptBuildPhase;buildActionMask = 2147483647;files = ();inputPaths = ();- name = "[CP] Check Pods Manifest.lock";+ name = "[CP] Copy Pods Resources";outputPaths = ();runOnlyForDeploymentPostprocessing = 0;shellPath = /bin/sh;- shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";+ shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-console/Pods-console-resources.sh\"\n";showEnvVarsInLog = 0;};/* End PBXShellScriptBuildPhase section *//* Begin PBXSourcesBuildPhase section */- 913873751E32262400CE92FE /* Sources */ = {+ FA1D73DA1E53374E00F6240A /* Sources */ = {isa = PBXSourcesBuildPhase;buildActionMask = 2147483647;files = (- 9138737F1E32262400CE92FE /* ViewController.swift in Sources */,- FA7551961E432EF5004A1C90 /* ORViewController.swift in Sources */,- 9138737D1E32262400CE92FE /* AppDelegate.swift in Sources */,+ FA1D73E41E53374E00F6240A /* ViewController.swift in Sources */,+ FA1D73F61E53392F00F6240A /* ORViewController.swift in Sources */,+ FA1D73E21E53374E00F6240A /* AppDelegate.swift in Sources */,);runOnlyForDeploymentPostprocessing = 0;};/* End PBXSourcesBuildPhase section *//* Begin PBXVariantGroup section */- 913873801E32262400CE92FE /* Main.storyboard */ = {+ FA1D73E51E53374E00F6240A /* Main.storyboard */ = {isa = PBXVariantGroup;children = (- 913873811E32262400CE92FE /* Base */,+ FA1D73E61E53374E00F6240A /* Base */,);name = Main.storyboard;sourceTree = "<group>";};- 913873851E32262400CE92FE /* LaunchScreen.storyboard */ = {+ FA1D73EA1E53374E00F6240A /* LaunchScreen.storyboard */ = {isa = PBXVariantGroup;children = (- 913873861E32262400CE92FE /* Base */,+ FA1D73EB1E53374E00F6240A /* Base */,);name = LaunchScreen.storyboard;sourceTree = "<group>";@@ -244,7 +243,7 @@/* End PBXVariantGroup section *//* Begin XCBuildConfiguration section */- 913873891E32262400CE92FE /* Debug */ = {+ FA1D73EE1E53374E00F6240A /* Debug */ = {isa = XCBuildConfiguration;buildSettings = {ALWAYS_SEARCH_USER_PATHS = NO;@@ -294,7 +293,7 @@};name = Debug;};- 9138738A1E32262400CE92FE /* Release */ = {+ FA1D73EF1E53374E00F6240A /* Release */ = {isa = XCBuildConfiguration;buildSettings = {ALWAYS_SEARCH_USER_PATHS = NO;@@ -337,29 +336,29 @@};name = Release;};- 9138738C1E32262400CE92FE /* Debug */ = {+ FA1D73F11E53374E00F6240A /* Debug */ = {isa = XCBuildConfiguration;- baseConfigurationReference = 979189EBB4126A1BC3087E0E /* Pods-or-shell.debug.xcconfig */;+ baseConfigurationReference = 146098EE6A2181297FD32B8D /* Pods-console.debug.xcconfig */;buildSettings = {+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;- DEVELOPMENT_TEAM = SXCT8WTLBR;- INFOPLIST_FILE = "or-shell/Info.plist";+ INFOPLIST_FILE = console/Info.plist;LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";- PRODUCT_BUNDLE_IDENTIFIER = "org.openremote.or-shell";+ PRODUCT_BUNDLE_IDENTIFIER = org.openremote.console;PRODUCT_NAME = "$(TARGET_NAME)";SWIFT_VERSION = 3.0;};name = Debug;};- 9138738D1E32262400CE92FE /* Release */ = {+ FA1D73F21E53374E00F6240A /* Release */ = {isa = XCBuildConfiguration;- baseConfigurationReference = CA5BD9579BAC5807FB562451 /* Pods-or-shell.release.xcconfig */;+ baseConfigurationReference = 6A25CEFE37281B00C9BA7EB5 /* Pods-console.release.xcconfig */;buildSettings = {+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;- DEVELOPMENT_TEAM = SXCT8WTLBR;- INFOPLIST_FILE = "or-shell/Info.plist";+ INFOPLIST_FILE = console/Info.plist;LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";- PRODUCT_BUNDLE_IDENTIFIER = "org.openremote.or-shell";+ PRODUCT_BUNDLE_IDENTIFIER = org.openremote.console;PRODUCT_NAME = "$(TARGET_NAME)";SWIFT_VERSION = 3.0;};@@ -368,25 +367,25 @@/* End XCBuildConfiguration section *//* Begin XCConfigurationList section */- 913873741E32262400CE92FE /* Build configuration list for PBXProject "or-shell" */ = {+ FA1D73D91E53374E00F6240A /* Build configuration list for PBXProject "console" */ = {isa = XCConfigurationList;buildConfigurations = (- 913873891E32262400CE92FE /* Debug */,- 9138738A1E32262400CE92FE /* Release */,+ FA1D73EE1E53374E00F6240A /* Debug */,+ FA1D73EF1E53374E00F6240A /* Release */,);defaultConfigurationIsVisible = 0;defaultConfigurationName = Release;};- 9138738B1E32262400CE92FE /* Build configuration list for PBXNativeTarget "or-shell" */ = {+ FA1D73F01E53374E00F6240A /* Build configuration list for PBXNativeTarget "console" */ = {isa = XCConfigurationList;buildConfigurations = (- 9138738C1E32262400CE92FE /* Debug */,- 9138738D1E32262400CE92FE /* Release */,+ FA1D73F11E53374E00F6240A /* Debug */,+ FA1D73F21E53374E00F6240A /* Release */,);defaultConfigurationIsVisible = 0;defaultConfigurationName = Release;};/* End XCConfigurationList section */};- rootObject = 913873711E32262400CE92FE /* Project object */;+ rootObject = FA1D73D61E53374E00F6240A /* Project object */;}diff --git a/or-shell/iOS/or-shell/AppDelegate.swift b/or-shell/iOS/console/AppDelegate.swiftsimilarity index 95%rename from or-shell/iOS/or-shell/AppDelegate.swiftrename to or-shell/iOS/console/AppDelegate.swiftindex d4035e255..2baabc473 100644--- a/or-shell/iOS/or-shell/AppDelegate.swift+++ b/or-shell/iOS/console/AppDelegate.swift@@ -1,9 +1,9 @@//// AppDelegate.swift-// or-shell+// console//-// Created by Eric Bariaux on 20/01/17.-// Copyright © 2017 OpenRemote. All rights reserved.+// Created by William Balcaen on 14/02/17.+// Copyright © 2017 TInSys. All rights reserved.//import UIKit@@ -47,5 +47,6 @@ class AppDelegate: UIResponder, UIApplicationDelegate {NotificationCenter.default.post(notification)return true}+}diff --git a/or-shell/iOS/or-shell/Assets.xcassets/AppIcon.appiconset/Contents.json b/or-shell/iOS/console/Assets.xcassets/AppIcon.appiconset/Contents.jsonsimilarity index 100%rename from or-shell/iOS/or-shell/Assets.xcassets/AppIcon.appiconset/Contents.jsonrename to or-shell/iOS/console/Assets.xcassets/AppIcon.appiconset/Contents.jsondiff --git a/or-shell/iOS/or-shell/Base.lproj/LaunchScreen.storyboard b/or-shell/iOS/console/Base.lproj/LaunchScreen.storyboardsimilarity index 100%rename from or-shell/iOS/or-shell/Base.lproj/LaunchScreen.storyboardrename to or-shell/iOS/console/Base.lproj/LaunchScreen.storyboarddiff --git a/or-shell/iOS/or-shell/Base.lproj/Main.storyboard b/or-shell/iOS/console/Base.lproj/Main.storyboardsimilarity index 59%rename from or-shell/iOS/or-shell/Base.lproj/Main.storyboardrename to or-shell/iOS/console/Base.lproj/Main.storyboardindex bfbe61b1b..724cbb4a0 100644--- a/or-shell/iOS/or-shell/Base.lproj/Main.storyboard+++ b/or-shell/iOS/console/Base.lproj/Main.storyboard@@ -1,5 +1,5 @@<?xml version="1.0" encoding="UTF-8" standalone="no"?>-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1212" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="bdm-sN-YfF">+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="11762" systemVersion="15G1212" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="6Y8-7o-wPy"><device id="retina4_7" orientation="portrait"><adaptation id="fullscreen"/></device>@@ -12,7 +12,7 @@<!--View Controller--><scene sceneID="tne-QT-ifu"><objects>- <viewController id="BYZ-38-t0r" customClass="ViewController" customModule="or_shell" customModuleProvider="target" sceneMemberID="viewController">+ <viewController id="BYZ-38-t0r" customClass="ViewController" customModule="console" customModuleProvider="target" sceneMemberID="viewController"><layoutGuides><viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/><viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>@@ -21,72 +21,64 @@<rect key="frame" x="0.0" y="0.0" width="375" height="667"/><autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/><subviews>- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aJW-f2-ydR">- <rect key="frame" x="168" y="77" width="38" height="30"/>+ <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="umH-SD-HTu">+ <rect key="frame" x="164" y="99" width="46" height="30"/>+ <constraints>+ <constraint firstAttribute="width" constant="46" id="xRk-iq-U3F"/>+ </constraints><state key="normal" title="Login"/><connections>- <action selector="showLoginPage:" destination="BYZ-38-t0r" eventType="touchUpInside" id="6ry-ga-qBX"/>+ <action selector="showLoginPage:" destination="BYZ-38-t0r" eventType="touchUpInside" id="tok-cl-Lid"/></connections></button>- <webView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aA3-b4-vWk">- <rect key="frame" x="0.0" y="182" width="375" height="485"/>- <color key="backgroundColor" red="0.36078431370000003" green="0.38823529410000002" blue="0.4039215686" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>- </webView></subviews><color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/><constraints>- <constraint firstItem="aJW-f2-ydR" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="13" id="KhO-M2-RTI"/>- <constraint firstItem="aA3-b4-vWk" firstAttribute="top" secondItem="aJW-f2-ydR" secondAttribute="bottom" constant="75" id="YIT-S5-CbK"/>- <constraint firstItem="aJW-f2-ydR" firstAttribute="centerX" secondItem="aA3-b4-vWk" secondAttribute="centerX" id="cGT-x2-WJC"/>- <constraint firstAttribute="trailing" secondItem="aA3-b4-vWk" secondAttribute="trailing" id="jQF-rv-iLW"/>- <constraint firstItem="aA3-b4-vWk" firstAttribute="bottom" secondItem="wfy-db-euE" secondAttribute="top" id="pNG-GC-Kt1"/>- <constraint firstItem="aA3-b4-vWk" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" id="s4x-QS-N4k"/>+ <constraint firstItem="umH-SD-HTu" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="XBJ-fC-BR7"/>+ <constraint firstItem="umH-SD-HTu" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="35" id="lgG-Rh-Tmc"/></constraints></view>- <navigationItem key="navigationItem" id="MHe-jT-z4i"/>- <connections>- <outlet property="loginViewController" destination="aA3-b4-vWk" id="ir5-Dt-uzu"/>- </connections>+ <navigationItem key="navigationItem" id="Mok-S7-Wng"/></viewController><placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/></objects>- <point key="canvasLocation" x="1076" y="125.4872563718141"/>+ <point key="canvasLocation" x="1076" y="138.98050974512745"/></scene>- <!--Viewcontroller-->- <scene sceneID="MLT-6o-7zy">+ <!--ORViewController-->+ <scene sceneID="qgf-bG-ovp"><objects>- <viewController id="3g9-ke-GQJ" customClass="ORViewcontroller" customModule="or_shell" customModuleProvider="target" sceneMemberID="viewController">+ <viewController id="vUD-eX-fRf" userLabel="ORViewController" customClass="ORViewcontroller" customModule="console" customModuleProvider="target" sceneMemberID="viewController"><layoutGuides>- <viewControllerLayoutGuide type="top" id="Ajs-jx-pA8"/>- <viewControllerLayoutGuide type="bottom" id="Ygl-pX-vCL"/>+ <viewControllerLayoutGuide type="top" id="RuV-kJ-0cp"/>+ <viewControllerLayoutGuide type="bottom" id="PzT-Fu-ZtE"/></layoutGuides>- <view key="view" contentMode="scaleToFill" id="kmF-LU-dEd">+ <view key="view" contentMode="scaleToFill" id="Pd7-Uh-WsQ"><rect key="frame" x="0.0" y="0.0" width="375" height="667"/><autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/><color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/></view></viewController>- <placeholder placeholderIdentifier="IBFirstResponder" id="4ub-RT-0I6" userLabel="First Responder" sceneMemberID="firstResponder"/>+ <placeholder placeholderIdentifier="IBFirstResponder" id="2MI-jb-AAz" userLabel="First Responder" sceneMemberID="firstResponder"/></objects>- <point key="canvasLocation" x="1840.8" y="108.39580209895054"/>+ <point key="canvasLocation" x="1758" y="113"/></scene><!--Navigation Controller-->- <scene sceneID="2nJ-dY-aAU">+ <scene sceneID="Ql9-8p-n0P"><objects>- <navigationController automaticallyAdjustsScrollViewInsets="NO" id="bdm-sN-YfF" sceneMemberID="viewController">+ <navigationController automaticallyAdjustsScrollViewInsets="NO" id="6Y8-7o-wPy" sceneMemberID="viewController"><toolbarItems/>- <navigationBar key="navigationBar" contentMode="scaleToFill" id="gh1-2b-AO3">+ <navigationBar key="navigationBar" contentMode="scaleToFill" id="2ae-YH-aHz"><rect key="frame" x="0.0" y="0.0" width="375" height="44"/><autoresizingMask key="autoresizingMask"/></navigationBar><nil name="viewControllers"/><connections>- <segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="ywy-Kk-w6E"/>+ <segue destination="BYZ-38-t0r" kind="relationship" relationship="rootViewController" id="66U-lC-Mbh"/></connections></navigationController>- <placeholder placeholderIdentifier="IBFirstResponder" id="4bK-rM-xm5" userLabel="First Responder" sceneMemberID="firstResponder"/>+ <placeholder placeholderIdentifier="IBFirstResponder" id="CW0-vk-lhn" userLabel="First Responder" sceneMemberID="firstResponder"/></objects>- <point key="canvasLocation" x="136.80000000000001" y="125.4872563718141"/>+ <point key="canvasLocation" x="136.80000000000001" y="-543.77811094452773"/></scene></scenes></document>diff --git a/or-shell/iOS/or-shell/Info.plist b/or-shell/iOS/console/Info.plistsimilarity index 81%rename from or-shell/iOS/or-shell/Info.plistrename to or-shell/iOS/console/Info.plistindex 35202a027..c84ab7bee 100644--- a/or-shell/iOS/or-shell/Info.plist+++ b/or-shell/iOS/console/Info.plist@@ -16,26 +16,21 @@<string>APPL</string><key>CFBundleShortVersionString</key><string>1.0</string>- <key>CFBundleURLTypes</key>- <array>- <dict>- <key>CFBundleTypeRole</key>- <string>Editor</string>- <key>CFBundleURLSchemes</key>- <array>- <string>org.openremote.or-shell</string>- </array>- </dict>- </array>+ <key>CFBundleURLTypes</key>+ <array>+ <dict>+ <key>CFBundleTypeRole</key>+ <string>Editor</string>+ <key>CFBundleURLSchemes</key>+ <array>+ <string>org.openremote.console</string>+ </array>+ </dict>+ </array><key>CFBundleVersion</key><string>1</string><key>LSRequiresIPhoneOS</key><true/>- <key>NSAppTransportSecurity</key>- <dict>- <key>NSAllowsArbitraryLoads</key>- <true/>- </dict><key>UILaunchStoryboardName</key><string>LaunchScreen</string><key>UIMainStoryboardFile</key>diff --git a/or-shell/iOS/or-shell/ORViewController.swift b/or-shell/iOS/console/ORViewController.swiftsimilarity index 88%rename from or-shell/iOS/or-shell/ORViewController.swiftrename to or-shell/iOS/console/ORViewController.swiftindex e2ac3a6a3..afbb48c74 100644--- a/or-shell/iOS/or-shell/ORViewController.swift+++ b/or-shell/iOS/console/ORViewController.swift@@ -15,7 +15,7 @@ class ORViewcontroller : UIViewController, WKUIDelegate, WKNavigationDelegate {override func viewDidLoad() {super.viewDidLoad()- //navigationItem.rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: .done, target: self, action: #selector(done))+ navigationItem.rightBarButtonItem = UIBarButtonItem(barButtonSystemItem: .done, target: self, action: #selector(done))let webConfiguration = WKWebViewConfiguration()webConfiguration.preferences.javaScriptEnabled = true;webConfiguration.ignoresViewportScaleLimits = true;diff --git a/or-shell/iOS/or-shell/ViewController.swift b/or-shell/iOS/console/ViewController.swiftsimilarity index 90%rename from or-shell/iOS/or-shell/ViewController.swiftrename to or-shell/iOS/console/ViewController.swiftindex 04fc10600..eea496444 100644--- a/or-shell/iOS/or-shell/ViewController.swift+++ b/or-shell/iOS/console/ViewController.swift@@ -38,17 +38,17 @@ class ViewController: UIViewController {if response != nil {token = response! as! Stringprint(token)-- let orVC = ORViewcontroller()-- self.navigationController?.pushViewController(orVC, animated: true)++ let orVC = ORViewcontroller()++ self.navigationController?.pushViewController(orVC, animated: true)} else if error != nil {let alertVC = UIAlertController(title: "Error", message: error.debugDescription, preferredStyle: UIAlertControllerStyle.alert)self.present(alertVC, animated: true, completion: nil)}}}-}+diff --git a/or-shell/iOS/console/podfile b/or-shell/iOS/console/podfilenew file mode 100644index 000000000..1dc4e98d1--- /dev/null+++ b/or-shell/iOS/console/podfile@@ -0,0 +1,4 @@+target 'or-shell' do+use_frameworks!+pod 'AeroGearOAuth2'+enddiff --git a/or-shell/iOS/or-shell.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/or-shell/iOS/or-shell.xcodeproj/project.xcworkspace/contents.xcworkspacedatadeleted file mode 100644index e19f3f1bb..000000000--- a/or-shell/iOS/or-shell.xcodeproj/project.xcworkspace/contents.xcworkspacedata+++ /dev/null@@ -1,7 +0,0 @@-<?xml version="1.0" encoding="UTF-8"?>-<Workspace- version = "1.0">- <FileRef- location = "self:or-shell.xcodeproj">- </FileRef>-</Workspace>diff --git a/or-shell/iOS/podfile b/or-shell/iOS/podfileindex 1dc4e98d1..2e21725b0 100644--- a/or-shell/iOS/podfile+++ b/or-shell/iOS/podfile@@ -1,4 +1,4 @@-target 'or-shell' do+target 'console' douse_frameworks!pod 'AeroGearOAuth2'end