Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
zengyun-hacker opened this issue Oct 28, 2015 · 3 comments

Comments

@zengyun-hacker
Copy link

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
Copy link
Owner

Are you trying to use this in an app extension?

@zengyun-hacker
Copy link
Author

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
Copy link
Contributor

raspu commented Oct 28, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants