Skip to content

Multiple commands produce Assets.car in xcode11 #19

@Ekulelu

Description

@Ekulelu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions