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

Plugin not working for iOS #70

Open
vrunoa opened this issue Jul 28, 2015 · 9 comments
Open

Plugin not working for iOS #70

vrunoa opened this issue Jul 28, 2015 · 9 comments

Comments

@vrunoa
Copy link

vrunoa commented Jul 28, 2015

Hey @avivais , I install the phonegap-parse-plugin but it's not working on iOS. After install, I build & run the app, and in xcode console I get:

2015-07-28 18:19:37.651 Enquestapp[7925:4456806] -[__NSCFString JSONObject]: unrecognized selector sent to instance 0x114871d68
2015-07-28 18:19:38.308 Enquestapp[7925:4456806] *** WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: <NSInvalidArgumentException> -[__NSCFString JSONObject]: unrecognized selector sent to instance 0x114871d68

Have any idea what it could be ?

I'm using cordova 4.2.0

Thanks four your help.

@eddiekollar
Copy link

I'm currently working on this myself. Are you attempting to do run your app in the simulator?
It seems as though push notifications are only supported with an actual device.

@vrunoa
Copy link
Author

vrunoa commented Aug 1, 2015

Yeah, I was testing it on a Simulator, on monday i'll use a iphone 6 and let you know. I really hope this is the problem. thanks.

@vrunoa
Copy link
Author

vrunoa commented Aug 3, 2015

Got the same error testing on an iPhone 6. I have to remove the -ObjC flag from Other Links Flags on the project to work. Could the plugin not be working due to this ?

@Kunze
Copy link

Kunze commented Oct 26, 2015

@vrunoa How can I remove this without xcode?

@vrunoa
Copy link
Author

vrunoa commented Oct 26, 2015

@Kunze mmm, I have never actually made it without XCode, but I believe you would have to change the build command-line you're using and add this flag.

@Kunze
Copy link

Kunze commented Oct 26, 2015

@vrunoa Thank

@rooswelt
Copy link

I'm facing the same problem (with -ObjC removed) and running on device (ipad air)

Have you found any solution yet?

@sharmahemu1994
Copy link

any solutions yet regarding this problem??

@sharmahemu1994
Copy link

add this ( -force_load $(BUILT_PRODUCTS_DIR)/libCordova.a ) in other links flags in xcode if you have removed -ObjC

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

5 participants