Realm-JSON
Realm-JSON copied to clipboard
'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.
Hi,after install Realm-JSON var Cocoapods, my project has a lot of error, which said
'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.
Are you trying to use this in an app extension?
no, the target is for iPhone. I figure out is not Realm-JSON's problem, it's Realm made this. The error will appear when use Realm version from 0.95.3 to 0.96.0 and cocoapods version 0.38.2. Thank u all the same :)
Update cocoapods to 0.39.0, and then run pod update
. That solved this issue on my case.