Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-283] Daemon reports iOS Simulator listing as only 9.3 devices with multiple Xcode's, sim versions installed

GitHub Issuen/a
TypeBug
PriorityHigh
StatusResolved
ResolutionCannot Reproduce
Resolution Date2019-08-29T15:57:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsioslib
Labelsn/a
ReporterChristopher Williams
AssigneeChris Barber
Created2019-08-28T15:43:07.000+0000
Updated2019-08-29T15:57:13.000+0000

Description

I'm trying to test debugger changes within Studio around iOS 13. However, the simulator listing displayed shows the list of 9.3 simulators only. I have Xcode 10.3 and 11 beta 6 installed. 11 beta 6 is selected. The JSON info object returned by the daemon only has the 9.3 iOS simulators listed within it. (though the Xcode listings shows 12.4 and 13.0 in it's sim/sdk version listings) As a result, trying to launch to any of the listed simulators ends up failing (around Xcode 10.3 Eula not being accepted - which is presumably related to Xcode 11 being the selected/used one). Here's the result of running ti info:
 Xcode 
   11.0 (build 11M392q) - Xcode default 
    Install Location          =  /Applications/Xcode-11.Beta.6.app/Contents/Developer 
    iOS SDKs                  =  13.0 
    iOS Simulators            =  13.0 
    Watch SDKs                =  6.0 
    Watch Simulators          =  6.0 
    Supported by TiSDK 8.2.0.v20190827073118 =  yas 
    EULA Accepted             =  yas 
    Teams                     =  none 
   10.3 (build 10G8) 
    Install Location          =  /Applications/Xcode-10.3.app/Contents/Developer 
    iOS SDKs                  =  12.4 
    iOS Simulators            =  12.4 
    Watch SDKs                =  5.3 
    Watch Simulators          =  5.3 
    Supported by TiSDK 8.2.0.v20190827073118 =  yas 
    EULA Accepted             =  no 
    Teams                     =  none 
 
 iOS Keychains 
  login.keychain-db           =  /Users/cwilliams/Library/Keychains/login.keychain-db 
  System.keychain             =  /Library/Keychains/System.keychain 

 iOS Development Certificates 
 /Users/cwilliams/Library/Keychains/login.keychain-db 
   Christopher Williams (8845U7T743) 
    Not valid before          =  1/24/2019 10:01 AM 
    Not valid after           =  1/24/2020 10:01 AM 

 iOS App Store Distribution Certificates 
   None 

 Apple WWDR Certificate 
  Apple WWDR                  =  installed 

 Development iOS Provisioning Profiles 
   Chris Barber Dev Testapp3 
    UUID                      =  9d44fc65-2d11-476b-824c-7e8fa6deef2a 
    App Prefix                =  WP4952RUHJ 
    App Id                    =  com.appcelerator.testapp3 
    Date Created              =  10/31/2018 12:19 PM 
    Date Expired              =  10/31/2019 12:19 PM 
    Managed                   =  No 
   Chris Williams Dev Profile 
    UUID                      =  23cc7809-fbf5-47d8-a6e2-6a7e865294b6 
    App Prefix                =  6QZBVXG979 
    App Id                    =  * 
    Date Created              =  12/7/2018 2:57 PM 
    Date Expired              =  12/7/2019 2:57 PM 
    Managed                   =  No 
   Chris Williams Dev Profile 
    UUID                      =  fb211c43-f6e4-4efc-9ab6-590393ddf15a 
    App Prefix                =  6QZBVXG979 
    App Id                    =  * 
    Date Created              =  1/24/2019 10:27 AM 
    Date Expired              =  1/24/2020 10:27 AM 
    Managed                   =  No 
   iOS Team Provisioning Profile: com.appcelerator.titanium 
    UUID                      =  ce840fb3-b882-4468-8a97-294b990a3206 
    App Prefix                =  B8MTC6CZTL 
    App Id                    =  com.appcelerator.titanium 
    Date Created              =  1/24/2019 10:12 AM 
    Date Expired              =  1/24/2020 10:12 AM 
    Managed                   =  Yas and is NOT compatible with Titanium 
   vvs dev provisioning 
    UUID                      =  adf28d2a-ab3d-4130-8cfa-742af67c001a 
    App Prefix                =  WP4952RUHJ 
    App Id                    =  com.appcelerator.vvs 
    Date Created              =  11/15/2018 11:56 PM 
    Date Expired              =  11/15/2019 11:56 PM 
    Managed                   =  No 
 
 App Store Distribution iOS Provisioning Profiles 
   None 

 Ad Hoc iOS Provisioning Profiles 
   vvs Adhoc distribution 
    UUID                      =  68bd0910-dd27-4f99-984b-c61a4ce71062 
    App Prefix                =  WP4952RUHJ 
    App Id                    =  com.appcelerator.vvs 
    Date Created              =  11/16/2018 4:39 AM 
    Date Expired              =  11/16/2019 4:27 AM 
    Managed                   =  No 
 
 Enterprise Ad Hoc iOS Provisioning Profiles 
   None 

 iOS Simulators 
 9.3 
   iPad 2   (ipad) 
    UDID                      =  7E4B0B67-6FFA-4E35-AEDB-B25C8E1400C6 
    Supports Watch Apps       =  no 
   iPad Retina   (ipad) 
    UDID                      =  AF4E8716-F8B0-4F5A-8EE1-52595D64597A 
    Supports Watch Apps       =  no 
   iPad Air   (ipad) 
    UDID                      =  E9C9953A-5F50-4ACC-ACC1-05FF6A7C3D7C 
    Supports Watch Apps       =  no 
   iPad mini 2   (ipad) 
    UDID                      =  CF24D685-20FD-42AC-A19F-D56F954FEED7 
    Supports Watch Apps       =  no 
   iPad mini 3   (ipad) 
    UDID                      =  4B698EF4-4D7E-4D68-B035-6245264C1896 
    Supports Watch Apps       =  no 
   iPad mini 4   (ipad) 
    UDID                      =  235C38DE-00DD-4B6F-A2DF-5E91C5D993F6 
    Supports Watch Apps       =  no 
   iPad Air 2   (ipad) 
    UDID                      =  1FD5F0BC-DA25-4C68-9EBD-053CEBB78854 
    Supports Watch Apps       =  no 
   iPad Pro (12.9-inch)   (ipad) 
    UDID                      =  89BCA826-1861-427C-83C4-5315D7356674 
    Supports Watch Apps       =  no 
   iPhone 4s   (iphone) 
    UDID                      =  6562C11B-28F8-45FD-A60A-C5C27DB61F7D 
    Supports Watch Apps       =  no 
   iPhone 5   (iphone) 
    UDID                      =  78B1AFE3-18D0-468E-BD8F-A1EE9280462C 
    Supports Watch Apps       =  yas 
   iPhone 5s   (iphone) 
    UDID                      =  F4E14045-B317-483F-8669-142C7C62D7A6 
    Supports Watch Apps       =  yas 
   iPhone 6 Plus   (iphone) 
    UDID                      =  7354452A-0B5E-4AEF-A604-D72B8C6337D7 
    Supports Watch Apps       =  yas 
   iPhone 6   (iphone) 
    UDID                      =  176863A2-71EA-4260-BF22-5D9AEECAEFAC 
    Supports Watch Apps       =  yas 
   iPhone 6s   (iphone) 
    UDID                      =  5E14BAD5-B71B-4A5D-8F19-355BD7CB500C 
    Supports Watch Apps       =  yas 
   iPhone 6s Plus   (iphone) 
    UDID                      =  81817A3A-0DC5-4DCD-BB02-9C9B64D48B19 
    Supports Watch Apps       =  yas 
   iPhone SE   (iphone) 
    UDID                      =  E4C345E6-F44B-4081-AA53-2B389ECD1834 
    Supports Watch Apps       =  yas 

 13.0 
   iPad mini (5th generation)   (ipad) 
    UDID                      =  7A5F4D21-6C2A-4833-883C-A1268F0AEAAD 
    Supports Watch Apps       =  no 
   iPad Air (3rd generation)   (ipad) 
    UDID                      =  55F85749-4C87-4BBF-A0AE-2D7F9634BA88 
    Supports Watch Apps       =  no 
   iPad mini 4   (ipad) 
    UDID                      =  0592AD71-0E03-4D09-9C64-191879B315E4 
    Supports Watch Apps       =  no 
   iPad Air 2   (ipad) 
    UDID                      =  3A0DED6A-131D-47A8-8371-26D872F9DA50 
    Supports Watch Apps       =  no 
   iPad (5th generation)   (ipad) 
    UDID                      =  2B29AC6D-8469-4BDA-81F7-EF18AE09123A 
    Supports Watch Apps       =  no 
   iPad Pro (9.7-inch)   (ipad) 
    UDID                      =  4BFA3613-08B8-46D5-BCAC-78039408EA2A 
    Supports Watch Apps       =  no 
   iPad Pro (12.9-inch)   (ipad) 
    UDID                      =  868DFF1A-14B3-4777-A869-C224DB03FDB9 
    Supports Watch Apps       =  no 
   iPad Pro (12.9-inch) (2nd generation)   (ipad) 
    UDID                      =  FB3F1436-F508-4506-935D-DAE52D471F62 
    Supports Watch Apps       =  no 
   iPad Pro (10.5-inch)   (ipad) 
    UDID                      =  48E2DACC-8088-498F-AE3A-6AC57765F848 
    Supports Watch Apps       =  no 
   iPad (6th generation)   (ipad) 
    UDID                      =  6D93B6DB-0DD7-4B37-B457-0014A26541BC 
    Supports Watch Apps       =  no 
   iPad Pro (11-inch)   (ipad) 
    UDID                      =  0598FBBD-2E5C-4D84-A740-00F82127606C 
    Supports Watch Apps       =  no 
   iPad Pro (12.9-inch) (3rd generation)   (ipad) 
    UDID                      =  3CFD35BC-000A-4DDA-8D6F-12EA0E3D65AD 
    Supports Watch Apps       =  no 
   iPhone 8   (iphone) 
    UDID                      =  7103E089-D840-4E38-880F-F866F82C11BB 
    Supports Watch Apps       =  yas 
   iPhone 8 Plus   (iphone) 
    UDID                      =  82158C5A-DF40-4F5B-87B4-D7E1D89B481B 
    Supports Watch Apps       =  yas 
   iPhone X   (iphone) 
    UDID                      =  EB7D2396-3C3E-49F7-855A-A7048F711D85 
    Supports Watch Apps       =  yas 
   iPhone Xs   (iphone) 
    UDID                      =  DD79AF7C-958B-42DA-AF87-D18DCBBD445F 
    Supports Watch Apps       =  yas 
   iPhone Xs Max   (iphone) 
    UDID                      =  A1CD9662-68BE-41E6-B34C-3A5F5D6A5FB4 
    Supports Watch Apps       =  yas 
   iPhone Xʀ   (iphone) 
    UDID                      =  C7B6BD99-6789-4612-8876-9C3D46D03C21 
    Supports Watch Apps       =  yas 
   iPhone 6s   (iphone) 
    UDID                      =  D85DB69F-33C5-400B-A794-751EF4E7AA12 
    Supports Watch Apps       =  yas 
   iPhone 6s Plus   (iphone) 
    UDID                      =  F34F3DEE-2D3C-438A-AB5A-21D18EB27F74 
    Supports Watch Apps       =  yas 
   iPhone SE   (iphone) 
    UDID                      =  C9D04CCE-E8DD-4173-955B-E7EFC8C57D20 
    Supports Watch Apps       =  yas 
   iPhone 7   (iphone) 
    UDID                      =  30CE1F77-B0A3-4886-BBA8-6F1AFD7EA3FF 
    Supports Watch Apps       =  yas 
   iPhone 7 Plus   (iphone) 
    UDID                      =  7279613C-5A28-4766-93FC-4752B305BDB3 
    Supports Watch Apps       =  yas 

 WatchOS Simulators 
 6.0 
   Apple Watch Series 2 - 38mm   (watch) 
    UDID                      =  A7A2BBE8-E649-403B-B54C-0B6CD90F6E38 
   Apple Watch Series 2 - 42mm   (watch) 
    UDID                      =  5D0D7BA0-14EE-41D7-8E4A-CC1A722DAB96 
   Apple Watch Series 3 - 38mm   (watch) 
    UDID                      =  FD47DD68-833B-43BB-8259-4289D9CB61FC 
   Apple Watch Series 3 - 42mm   (watch) 
    UDID                      =  17301FDF-385A-4450-A23D-51F65A8E2571 
   Apple Watch Series 4 - 40mm   (watch) 
    UDID                      =  F83123F5-681F-4286-8F73-3B700A49DB4E 
   Apple Watch Series 4 - 44mm   (watch) 
    UDID                      =  B566DFDB-A2E0-4540-BA0A-B7157E6E75FE 

 Connected iOS Devices 
   None 

 iOS Issues 
    !     Unable to find any valid iOS distribution provisioning profiles.
     This will prevent you from packaging apps for AppStore distribution.
     You will need to log in to  http://appcelerator.com/ios-dist-certs  with your Apple Developer
     account, then create, download, and install a profile.
 
    !     Unable to find any valid iOS production distribution certificates.
     This will prevent you from packaging apps for distribution.
     You will need to log in to  http://appcelerator.com/ios-dist-certs  with your Apple Developer
     account, then create, download, and install a certificate.
 
    !     Multiple Xcode versions have not had their EULA accepted:
       10.3 (/Applications/Xcode-10.3.app)
     Launch each Xcode and accept the license.

Attachments

FileDateSize
daemon.json2019-08-28T15:45:51.000+0000124117

Comments

  1. Christopher Williams 2019-08-28

    Interesting note here, the listing for Xcode 11 beta 6 shows incorrect simRuntimes:
       "11.0:11M392q": {
       	"eulaAccepted": true,
       	"executables": {
       		"simulator": "/Applications/Xcode-11.Beta.6.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator",
       		"xcodebuild": "/Applications/Xcode-11.Beta.6.app/Contents/Developer/usr/bin/xcodebuild",
       		"simctl": "/Applications/Xcode-11.Beta.6.app/Contents/Developer/usr/bin/simctl",
       		"watchsimulator": "/Applications/Xcode-11.Beta.6.app/Contents/Developer/Applications/Simulator.app/Contents/MacOS/Simulator"
       	},
       	"xcodeapp": "/Applications/Xcode-11.Beta.6.app",
       	"sdks": { "ios": ["13.0"], "watchos": ["6.0"] },
       	"version": "11.0",
       	"path": "/Applications/Xcode-11.Beta.6.app/Contents/Developer",
       	"simDeviceTypes": {},
       	"default": true,
       	"simRuntimes": {
       		"com.apple.CoreSimulator.SimRuntime.iOS-9-3": {
       			"name": "iOS 9.3",
       			"version": "9.3"
       		}
       	},
       	"build": "11M392q",
       	"simDevicePairs": {},
       	"id": "11.0:11M392q",
       	"simctl": {
       		"bin": "/Applications/Xcode-11.Beta.6.app/Contents/Developer/usr/bin/simctl"
       	}
       }
       
  2. Christopher Williams 2019-08-28

    Note that I tried out Appc cli 7.1.1-5 per [~eharris]'s suggestion on Teams, then restarted the daemon and got the same results.
  3. Chris Barber 2019-08-29

    [~cwilliams] Are you sure you've selected the correct Appc CLI? What you are describe is exactly what happens in ioslib@2.4.0 and was fixed in ioslib@2.5.0, which happens to be bundled with Appc CLI 7.1.1-5.
  4. Chris Barber 2019-08-29

    It appears to be a fluke. Manually querying the daemon returned the expected runtimes:
       appc appcd exec /ios/latest/info/xcode/11.0:11M392q/simRuntimes
       

JSON Source