文件這是我的appDelegate didFinishLaunchingWithOptions(代碼)寫在迅速
var paths : NSArray = NSSearchPathForDirectoriesInDomains(.DocumentDirectory, .UserDomainMask, true)
var documentsDirectory = paths.objectAtIndex(0)
var fileName: String = String(format: "Logger.txt")
var logFilePath : NSString = documentsDirectory.stringByAppendingPathComponent(fileName)
freopen(logFilePath, "a+", stderr)
錯誤我得到是不可能的NSString轉換爲UnSafepointer。 任何人都可以幫助我,我應該如何實施這個?