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

enforceExplicitDependencies does not work with Google Maps #5783

Open
cooksimo opened this issue Jan 9, 2024 · 2 comments
Open

enforceExplicitDependencies does not work with Google Maps #5783

cooksimo opened this issue Jan 9, 2024 · 2 comments
Labels
type:bug Something isn't working

Comments

@cooksimo
Copy link

cooksimo commented Jan 9, 2024

What happened?

When trying to turn the new enforceExplicitDependencies option on, the app no longer builds due to issues with Google Maps.

How do we reproduce it?

GoogleMapsTuist.zip

In the attached sample project, run:

tuist fetch
tuist generate -x

Then try to build

Error log

GoogleMapsTuist/Tuist/Dependencies/SwiftPackageManager/.build/checkouts/ios-maps-sdk/Core/GMSEmpty.m:17:9: fatal error: module 'GoogleMaps' not found
@import GoogleMaps;
 ~~~~~~~^~~~~~~~~~
1 error generated.

macOS version

13.6

Tuist version

3.39.0

Xcode version

15

@cooksimo cooksimo added the type:bug Something isn't working label Jan 9, 2024
@pepicrft
Copy link
Contributor

@cooksimo would you mind testing with the latest Tuist version, 4.3.1?

@cooksimo
Copy link
Author

cooksimo commented Mar 7, 2024

@pepicrft Just tested this with 4.3.1 and the issue is exactly the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants