iOS 9 にアップグレードすると、この問題が発生します。解析フレームワークが完全に機能しません。
PFFiles を取得できません & PFFile を内部に持つ PFobject を保存できません。
これは、iOS 8.3 で動作していた私のコードです。
-(void)Save{
......
NSData *imageData = UIImageJPEGRepresentation(ProfilePicture.image, 0.5);
NSString *filename = [NSString stringWithFormat:@"%@.jpg", usernameString];
PFFile *imageFile = [PFFile fileWithName:filename data:imageData];
[user setObject:imageFile forKey:@"ProfilePicture"];
[user saveInBackgroundWithBlock:^(BOOL succeeded, NSError *error) {
if (!error) {
NSLog(@"Saved");
}
else{
// Error
NSLog(@"Error: %@ %@", error, [error userInfo]);
}
}];
}