如果我創建在模擬器文件我是全成有:iOS的採用C束中創建文件++不工作在iOS 6
const char* testFile = "Test.java";
ofstream createTest;
createTest.open(testFile);
createTest << [CodeView.text UTF8String] ;
createTest.close();
在iOS 5.0中,這個工作得很好,至少在模擬器,但我升級的Xcode版本(IOS 6.1),這只是拋出我:
libc++abi.dylib: terminate called throwing an exception
我如何繞過這個錯誤,(是有可能的方式來加載/用C編寫到現有文件的文件夾中++?)
「捆綁」是指應用程序捆綁? – 2013-03-22 22:22:41