DTSendSignalFlag does not post flags when using iOS7 simulator
| Originator: | robert.ryan | ||
| Number: | rdar://15097332 | Date Originated: | 27-Sep-2013 |
| Status: | Open | Resolved: | |
| Product: | Xcode | Product Version: | 5.0 |
| Classification: | Bug | Reproducible: | Always |
Summary:
`DTSendSignalFlag` no longer posts flags to Instruments when the app runs in the iOS7 simulator. If you run the same app on the iOS6 simulator (still using Xcode/Instruments 5), the flags appear.
Steps to Reproduce:
1. Create blank project (or use existing one).
2. Add DTPerformanceSession framework.
3. Remove the framework (since we don't need to link it).
4. #import <DTPerformanceSession/DTSignalFlag.h>
5. Add `DTSendSignalFlag("com.yourcompany.test", DT_POINT_SIGNAL, NO);` at some place in your code.
6. Profile the app with Allocations tool in Instruments, using both the 6.1 simulator and 7.0 simulator
Expected Results:
Would expect flags to appear for both 6.1 simulator and 7.0 simulator.
Actual Results:
No flags (neither `DT_POINT_SIGNAL`, `DT_START_SIGNAL`, nor `DT_END_SIGNAL`) ever show up on iOS 7.0 simulator. It works properly on iOS 6.1 simulator
Version:
Xcode 5.0 (5A1413). Mac OS 10.8.5 (build 12F37).
Notes:
Configuration:
Problem occurs when running app on iOS 7.0 simulator. Does not when running app on iOS 6.1 simulator.
Attachments:
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!