Skip to content

Fix check for ios simulator and Get full ios logs on mac #2082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 29, 2016

Conversation

TsvetanMilanov
Copy link
Contributor

@TsvetanMilanov TsvetanMilanov commented Sep 26, 2016

Update the common lib sha to include the following fixes:

Fix check for ios simulator

When we check if there is running simulator we use ps cax but if the simulator is killed for a short period of time after that there is a process listed when using ps cax and we decide that there is a running simulator and then we try to use it but ios-sim-portable returns null. We should check if the simulator returned from ios-sim-portable is not null or undefined in order to continue to work with it.

Merge after telerik/mobile-cli-lib#811

Fixes #2081

Get full ios logs on mac

When we use net.Socket we need to use .toString() to get the whole content of the buffer because it may contain many \0 and ref.readCString will return the string which is before the first \0 not the whole content.

Merge after telerik/mobile-cli-lib#814

Fixes telerik/mobile-cli-lib#723

@TsvetanMilanov TsvetanMilanov added this to the 2.4.0 milestone Sep 26, 2016
@TsvetanMilanov TsvetanMilanov self-assigned this Sep 26, 2016
@TsvetanMilanov TsvetanMilanov changed the title Fix check for ios simulator Fix check for ios simulator and Get full ios logs on mac Sep 28, 2016
When we check if there is running simulator we use ps cax but if the simulator is killed for a short period of time after that there is a process listed when using ps cax and we decide that there is a running simulator and then we try to use it but ios-sim-portable returns null. We should check if the simulator returned from ios-sim-portable is not null or undefined in order to continue to work with it.
@TsvetanMilanov TsvetanMilanov force-pushed the milanov/fix-check-for-ios-simulator branch from df3169b to 3f7294d Compare September 28, 2016 14:34
@enchev enchev merged commit 86ed0d3 into master Sep 29, 2016
@enchev enchev deleted the milanov/fix-check-for-ios-simulator branch September 29, 2016 10:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

List of all iOS devices produces an error Error messages not printed
2 participants