The check for availability seems to be working fine but I can\'t seem to set the NSURLIsExcludedFromBackupKey key without getting this crash on launch:
NSURLIsExcludedFromBackupKey
Depending on what you're doing, this quick fix may work for you. It did for me.
Add the CoreFoundation framework to your project and mark it as OPTIONAL (not required).