Rob Ryan

Results 58 comments of Rob Ryan

I don't know what to say because it works fine for me on both iOS 11.1 and 11.2 from Xcode 9.2 (9C40b): ```swift let fileURL = try! FileManager.default.url(for: .documentDirectory, in:...

I haven't seen this claim elsewhere, either. Interesting the Mac OS [App Sandbox Design Guide](https://developer.apple.com/library/mac/documentation/security/conceptual/AppSandboxDesignGuide/AppSandboxInDepth/AppSandboxInDepth.html), from which this quote comes from, goes on to say: > Note: In the case...

If the database is within the sandbox and you have only one process/thread hitting it (which is true if either using `FMDatabase` from single thread, if you're using `FMDatabaseQueue` to...

@roblav96 - Error 14 is `SQLITE_CANTOPEN`. If you want to open temporary file, use `NSTemporaryDirectory` and append your filename to that. iOS applications are sandboxed and you want to use...

@roblav96 - No problem. By the way, you should _never_ call `dealloc`. (Well, there's a single exception to that rule, that in non-ARC code, you call `[super dealloc]` in your...

@roblav96 - Sorry for the confusion. The `[db release]` is an anachronism, required in manual referencing code. But now that almost all of us are using [Automatic Reference Counting](https://developer.apple.com/library/content/releasenotes/ObjectiveC/RN-TransitioningToARC/Introduction/Introduction.html), it's...

@natecook1000 - I have submitted PR https://github.com/apple/swift-argument-parser/pull/565 with an attempt to make `AsyncParsableCommand` more easily discovered. If you have suggestions you would like me to incorporate, please let me know....

FWIW, `0xdead10cc` [means](https://developer.apple.com/documentation/xcode/understanding-the-exception-types-in-a-crash-report/#EXCCRASH-SIGKILL): > `0xdead10cc` (pronounced “dead lock”). The operating system terminated the app because it held on to a file lock or SQLite database lock during suspension. Request additional...

No, `sqlite3_close_v2` is definitely not a good idea. (You’re not doing `sqlite3_xxx` calls anywhere in your code, are you? The whole point is that FMDB is your wrapper and you...

The crash report is simply telling you that the SQLite database (or some other file) is open when the app suspends. End of story. So, it strikes me that you...