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

Multiple commands produce Assets.car in xcode11 #19

Open
Ekulelu opened this issue Oct 8, 2019 · 4 comments
Open

Multiple commands produce Assets.car in xcode11 #19

Ekulelu opened this issue Oct 8, 2019 · 4 comments

Comments

@Ekulelu
Copy link

Ekulelu commented Oct 8, 2019

After I updated to xcode11, the new build system didn't work. An error occurred with below message
"Multiple commands produce '~/Library/Developer/Xcode/DerivedData/LIKE-hgpysltcapxaaqbkjnoggrxhteud/Build/Products/Debug-iphoneos/xxx.app/Assets.car' "

I think the reason is "s.resources = [ "TrueSDK/**/Assets.xcassets"] " in podspec file, which will lead pod create a copy script like this "${PODS_ROOT}/TrueSDK/TrueSDK/External/Assets.xcassets". And the name of "Assets" is multiple with the main target's image xcassets.

I think you should remove the "s.resources = [ "TrueSDK/**/Assets.xcassets"] ", and put the Assets.xcassets into the "resource_bundles" tag, which will create a bundle to fold the assets.xcassets.

@horseshoe7
Copy link

I also have experienced this and am currently trying to find a workaround.

@horseshoe7
Copy link

Workaround: In Xcode you have to go into File > Workspace Settings... and set the build system to the legacy build system.

@SandeepAggarwal
Copy link

Hey,
I am also facing the same issue.
Could we fix this as @Ekulelu suggested?

@mkaarthick
Copy link

Did anyone resolve it?

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

4 participants