[AC-6337] Cannot run apps in simulator after updating to Studio 5.1.3 / CLI 7.1.0 using iOS 12.4
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Done |
Resolution Date | 2019-08-16T13:20:53.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Joe |
Assignee | Shak Hossain |
Created | 2019-08-15T20:59:33.000+0000 |
Updated | 2019-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
[~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 thisDid 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.
_*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
....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.
Awesome, glad you managed to fix it. I'll close this ticket out