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

Couldn't launch the app on Ios #52

Closed
sivaramsi opened this issue Jul 26, 2016 · 8 comments
Closed

Couldn't launch the app on Ios #52

sivaramsi opened this issue Jul 26, 2016 · 8 comments

Comments

@sivaramsi
Copy link

When am trying to deploy for ios i got the this error
///app/tns_modules/nativescript-google-maps-sdk/map-view.js:86:60: JS ERROR ReferenceError: Can't find variable: GMSMapViewDelegate

But works in android.

@poorcoder
Copy link

Check is the pod file installing ?

@sivaramsi
Copy link
Author

yeah now thats working ..now it says GMSServices is undefined , Could you please say where i can put this code.
if(application.ios) {
GMSServices.provideAPIKey("PUT_API_KEY_HERE");
}

@sivaramsi
Copy link
Author

sivaramsi commented Jul 27, 2016

I have resolved that , but got stuck with an error, service exited due to signal abort trap 6

Terminating app due to uncaught exception 'GMSServicesException', reason: 'Google Maps SDK for iOS must be initialized via [GMSServices provideAPIKey:...] prior to use'

@poorcoder
Copy link

If app terminates check for syntax errors...

@dapriett
Copy link
Owner

Closing - reopen if there are still issues.

@nipun0505
Copy link

any help on how this issue was resolved ? I am stuck with this one

@mrwrighty
Copy link

Did you resolve this, I'm getting the same error.

@nipun0505
Copy link

I was blocking the main thread before this line "GMSServices.provideAPIKey("PUT_API_KEY_HERE");"

Which was preventing the key to be assigned successfully to the SDK

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