Titanium JIRA Archive
Appcelerator Community (AC)

[AC-6337] Cannot run apps in simulator after updating to Studio 5.1.3 / CLI 7.1.0 using iOS 12.4

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionDone
Resolution Date2019-08-16T13:20:53.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterJoe
AssigneeShak Hossain
Created2019-08-15T20:59:33.000+0000
Updated2019-08-16T13:20:53.000+0000

Description

Steps to Reproduce

Run an existing app on simulator using SDK 7.5.1.GA or new app using SDK 8.1.0.GA

Actual Result

Studio hangs for 15-20 minutes after [TRACE] : [ioslib] Running: osascript '/Users/user-name/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/ioslib/lib/sim_focus.scpt' 'Simulator'

Expected Result

Run normally in simulator

Attachments

FileDateSize
.log2019-08-15T20:59:34.000+000029250
diagnostic1689065430794385151.log2019-08-15T20:59:43.000+0000437140

Comments

  1. Ewan Harris 2019-08-15

    [~NewportSolutions], based off the line in the logs it seems to be pausing on, I think you're hitting TIMOB-27102. You can find the changes I made in the PR here https://github.com/appcelerator/ioslib/pull/87, if you open the file at ~/Library/Application Support/Titanium/mobilesdk/osx/7.5.1.GA/node_modules/ioslib/lib/sim_focus.scpt you should be able to patch that file locally to prevent this
  2. Joe 2019-08-15

    Did not help. In fact I have the same issue with 8.0.2 and 8.1 SDK's - which I verified have that fix included. The simulator opens quickly, then a longgggg time goes by, much more than 1 minute, at least 5 mins and then the app opens in the simulator. I updated to xCode 10.3 just after updating the Studio, CLI, and SDK if that helps.
  3. Joe 2019-08-15

    _*appc ti info -t ios*_ Appcelerator Command-Line Interface, version 7.1.0 Copyright (c) 2014-2019, Appcelerator, Inc. All Rights Reserved. Xcode 10.3 (build 10G8) - Xcode default Install Location = /Applications/Xcode.app/Contents/Developer iOS SDKs = 12.4 iOS Simulators = 12.4 Watch SDKs = 5.3 Watch Simulators = 5.3 Supported by TiSDK 8.0.1.GA = yes EULA Accepted = yes Teams = none
  4. Joe 2019-08-16

    ....and now it's working fine. The only thing significant I can report is I did, app use 7.0.12 (which didn't help) so I changed it back using appc use 7.1.0 and there was also a "workspace rebuild" after that. I had restarted my machine twice today with no change so perhaps the workspace rebuild or toggling the CLI version. Fixed for now.
  5. Ewan Harris 2019-08-16

    Awesome, glad you managed to fix it. I'll close this ticket out

JSON Source