[TIMOB-16090] iOS: Building an app using CLI on IOS simulator fails & displays a black screen on emulator
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2016-09-02T06:28:10.000+0000 |
Affected Version/s | Release 3.2.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | cs-investigate |
Reporter | Lokesh Choudhary |
Assignee | Eric Merriman |
Created | 2013-12-26T23:32:45.000+0000 |
Updated | 2017-03-24T18:43:23.000+0000 |
Description
Attachments
File | Date | Size |
---|---|---|
UManitoba_build_Feb2_2014.rtf | 2014-02-03T16:57:34.000+0000 | 5687234 |
Was not able reproduce the issue i.e. was able to launch iOS simulators (iphone and ipad) from TiStudio and CLI for both Titanium classic and alloy projects. Tested on: Titanium Studio, build: 3.2.0.201312191547 SDK build: 3.2.0.GA CLI: 3.2.0 Xcode: 5.0.2 Device: iphone simulator (7.0.3), ipad simulator (7.0.3) OS: Mavericks 10.9 and 10.9.1
any updates on this issue? this is greatly causing problems for our dev team. We have tried cleaning the project, and resetting the simulator content. Today we have tried deploying to the simulator (iPad then iPhone) 3 times each and the build has not been successful at all. we are forced to build to device only. we only have one which we share between dev and QA.
any updates on this issue? this is greatly causing problems for our dev team. We have tried cleaning the project, and resetting the simulator content. Today we have tried deploying to the simulator (iPad then iPhone) 3 times each and the build has not been successful at all. we are forced to build to device only. we only have one which we share between dev and QA.
we are using Ti 3.2.0 xCode 5.0.2 and iOS simulator 7.0.3 and still experiencing this issue today.
possibly a helpful in debugging this problem, i am able to deploy to a 6.1 simulator, but not a 7.0.3 simulator.
We haven't yet been able to reproduce this problem in house which is causing some issues. There are reports of other non-Titanium suers running into this issue on Stack Overflow, and they have a variety of solutions, including changing the debugging protocol used. Have you tried anything else listed online beyond resetting the simulator?
On the QE team, we encounter simulator problems occasionally. The first few steps we take are designed to help us understand root cause. We start by taking the "Titanium-built" Xcode project and opening it using Xcode, then trying to build with the exact same simulator. If this fails, we use Xcode and try a new Xcode-created project and run in the exact same simulator. If this fails, we simply try to open the simulator from Xcode. We revisited this issue and using the same machine as originally reported, found that our iOS 6.1 simulator(s) had failed. Following the process above, here were the results: 1) Titanium project would build, but would fail with the error as described in this ticket. Sim sits on black screen 2) Tried opening project from Xcode, and launching in the same simulator. Same result 3) Tried launching an "Xcode-created" project, same result 4) Tried resetting the simulator, same result 5) Removed the simulator via deletion of the simulator SDK (right-click and "show package contents" on Xcode): Xcode.app/contents/developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/
This issue was previously scheduled to be worked on in more than one sprint: * 'Release 3.0.1' (on board 'Customer Issues') * 'Release 3.1.2' (on board '3.1.X Triage') * 'Release 3.0.1/TS 3.0.2' (on board '3.1.0 Triage') * 'Investigate' (on board '3.2.X Triage') Starting from JIRA Agile 6.3, an issue can only belong to a single future sprint. Read more about this change: http://docs.atlassian.com/agile/docs-0630/Sprint+Marker+Migration This issue is now scheduled for future sprint 'Release 3.1.2' (on board '3.1.X Triage'). If this is incorrect, please update the issue accordingly. This comment was automatically generated by JIRA. If it is no longer relevant, please feel free to delete it.
I cannot reproduce this using Titanium SDK 5.4.0.GA, 5.5.0.RC, or master (6.1.0) along with Xcode 7.3.1 and Xcode 8 beta 6. I'm going to say this is no longer an issue. Nowadays we use
simctl
to launch the iOS Simulator and install apps to it. We no longer use theiossim
tool which relied on private frameworks.Closing ticket as Cannot Reproduce with reference to the above comments.