My cocoa application uses one library written in 'C' which is tryings write file at '/tmp' path. This creates sandbox violations. In Cocoa we can use 'NSTemporaryDirectory' API. To fix sandbox violation Is it safe to use 'tmpfile' API in sandboxed environment? Are there in any other solutions?
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
EDITED After actually testing it No, apple.h:
apple.m:
|
|||||
|
In Cocoa we can use 'NSTemporaryDirectory' API
? – Mar0ux May 30 '13 at 7:10