Is it possible to create in app's home dir (Documents or Library) dir/file using C++ code? I tried system()
and posix_spawn()
, which work on Simulator, but fail or real device (eg. running mkdir
). Core Foundation methods seem to give only read, not write possibility too.
Edit
In addition to answer below my simplified implementation of tar.gz unpacking using C++/Core Foundation here (ios.h/ios.mm)