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

NSException: Google Places SDK for iOS must be initialized via [GMSPlacesClient provideAPIKey:...] prior to use #6

Open
wangela opened this issue Sep 5, 2024 · 1 comment
Assignees

Comments

@wangela
Copy link
Contributor

wangela commented Sep 5, 2024

Even though this app initializes the PlacesClient per GooglePlacesSwift instructions, at runtime the app is looking for initialization of the GMSPlacesClient as well. Is this due to the underlying dependency on GooglePlaces?

@wangela
Copy link
Contributor Author

wangela commented Sep 6, 2024

Figured it out - needed to add the xcconfig to the project's debug config in XCode, as demonstrated in https://moinulhassan.medium.com/read-variables-from-env-file-to-xcconfig-files-for-different-schemes-in-xcode-3ef977a0eef8. Will see if I can push a PR that persists the association in the .xcodeproj and if not due to the file not being checked in to version control, will need to augment the setup instructions.

@wangela wangela self-assigned this Sep 6, 2024
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

1 participant