Application Unit Testing is not compatible with app sandboxing
| Originator: | SelfTransformingElfMachine | ||
| Number: | rdar://10125177 | Date Originated: | 14-Sep-2011 12:32 PM |
| Status: | Duplicate | Resolved: | Duplicate of 9951403 |
| Product: | Developer Tools | Product Version: | 4.x |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: With application entitlements and sandboxing enabled the app specified in 'Test Host' cannot load the unit test bundle due to sandbox restrictions. Steps to Reproduce: 1. Create new Xcode project with Unit Tests. 2. Enable app sandboxing. 3. Run the unit tests. Expected Results: Unit tests run to completion Actual Results: When the 'Test Host' tries to load the unit test bundle dlopen() fails with errno=1 (EPERM /* Operation not permitted */) Regression: Only affects sandboxed apps that need to load a unit testing bundle. Notes:
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!
Reposted as rdar://10347181