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

Duplicate Resources (Assets.car) #4

Open
mrousavy opened this issue Jun 3, 2020 · 2 comments
Open

Duplicate Resources (Assets.car) #4

mrousavy opened this issue Jun 3, 2020 · 2 comments
Labels
bug Something isn't working help wanted Extra attention is needed ios Some issue only affecting iOS wontfix This will not be worked on

Comments

@mrousavy
Copy link
Owner

mrousavy commented Jun 3, 2020

Problem

The Google Nearby Pod adds the Assets.car file to Build Phases -> [CP] Copy Pods Resources in the Apps .xcodeproj file, which makes building impossible, as another Assets.car resource is already defined, meaning they would overwrite eachother.
This is a known issue of the Google Nearby API, but I'm sure there are easy workarounds for that such as a post_install Podfile hook. Problem is I don't know ruby.

Solution

Add a post_install Podfile hook?

@mrousavy mrousavy added bug Something isn't working wontfix This will not be worked on help wanted Extra attention is needed ios Some issue only affecting iOS labels Jun 3, 2020
@zaptrem
Copy link

zaptrem commented Jun 26, 2020

Adding this to the top of the Podfile fixes the issue, though hypothetically at a performance cost:

install! 'cocoapods', :disable_input_output_paths => true

Source

@mrousavy
Copy link
Owner Author

Nice find! I've added that to the Troubleshooting Page (5.).

I'm leaving this issue open, since this is a workaround, not a fix ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed ios Some issue only affecting iOS wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants