Realm-JSON icon indicating copy to clipboard operation
Realm-JSON copied to clipboard

'sharedApplication' is unavailable: not available on iOS (App Extension) - Use view controller based solutions where appropriate instead.

Open zengyun-hacker opened this issue 9 years ago • 3 comments

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.

zengyun-hacker avatar Oct 28 '15 03:10 zengyun-hacker

Are you trying to use this in an app extension?

matthewcheok avatar Oct 28 '15 03:10 matthewcheok

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 :)

zengyun-hacker avatar Oct 28 '15 08:10 zengyun-hacker

Update cocoapods to 0.39.0, and then run pod update. That solved this issue on my case.

raspu avatar Oct 28 '15 09:10 raspu