matthewcheok / Realm-JSON

A concise Mantle-like way of working with Realm and JSON.
MIT License
661 stars 129 forks source link

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

Open zengyun-hacker opened 8 years ago

zengyun-hacker commented 8 years ago

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.
matthewcheok commented 8 years ago

Are you trying to use this in an app extension?

zengyun-hacker commented 8 years ago

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

raspu commented 8 years ago

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