Skip to content
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

[TIMOB-10831]iOS 6: Fixing logging for device builds #2930

Merged
merged 5 commits into from Sep 14, 2012

Conversation

srahim
Copy link
Contributor

@srahim srahim commented Sep 13, 2012

Test Case in JIRA

***Simple Test Case.
Make any app with api log and build it for diff conf (device/sim/release..)


size = sizeof(info);
junk = sysctl(mib, sizeof(mib) / sizeof(*mib), &info, &size, NULL, 0);
assert(junk == 0);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really dont like assert. Just return 0 so it falls to the NSLog loop.

@srahim
Copy link
Contributor Author

srahim commented Sep 13, 2012

Updated. Checked on Xcode 4.5 for iOS6 device and Xcode 4.4 for iOS 5.1. Ready for re-review

@vishalduggal
Copy link
Contributor

Code Reviewed. ACCEPTED

@vishalduggal
Copy link
Contributor

FR failed. Xcode 4.5 + ios6 device does not print logs to console.

@vishalduggal
Copy link
Contributor

Code Reviewed. ACCEPTED

@vishalduggal
Copy link
Contributor

FR Passed. Tested the following configs.
Xcode 4.3.1 & 4.5
IOS sim 4.3, 5.0, 5.1, 6.0 - Saw logs in studio + logs in the GDB console when running directly from Xcode
iPhone4 (5.1, 6.0) - Saw logs in console when installed through iTunes and logs in GDB console when debugging on device.

ACCEPTED

vishalduggal added a commit that referenced this pull request Sep 14, 2012
[TIMOB-10831]iOS 6: Fixing logging for device builds
@vishalduggal vishalduggal merged commit 92b9d03 into tidev:master Sep 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants