Skip to content

Support new build system #920

Open
Open

Description

@leavez

when using the new build system in Xcode, which is default for xcode 10, it has an build error

error: Multiple commands produce '/Users/AAA/Library/Developer/Xcode/DerivedData/CKTableViewTransactionalDataSource-hfnosmzcdvuxuaanjgxnwmxagvqk/Build/Products/Debug-iphonesimulator/ComponentKit/ComponentKit.framework/Info.plist':
1) Target 'ComponentKit' (project 'Pods') has copy command from '/Users/AAA/pp/CKTableViewTransactionalDataSource/Example/Pods/ComponentKit/ComponentKit/Info.plist' to '/Users/AAA/Library/Developer/Xcode/DerivedData/CKTableViewTransactionalDataSource-hfnosmzcdvuxuaanjgxnwmxagvqk/Build/Products/Debug-iphonesimulator/ComponentKit/ComponentKit.framework/Info.plist'
2) Target 'ComponentKit' (project 'Pods') has process command with output '/Users/AAA/Library/Developer/Xcode/DerivedData/CKTableViewTransactionalDataSource-hfnosmzcdvuxuaanjgxnwmxagvqk/Build/Products/Debug-iphonesimulator/ComponentKit/ComponentKit.framework/Info.plist'

It's because the new build system cannot allow the info.plist being into 'Compile Sources'. In the podfile, the following could lead this problem. We should exclude the info.plist form source_files

 s.source_files = 'ComponentKit/**/*', 'ComponentTextKit/**/*'

Activity

  1. alickbass commented on Oct 23, 2018

    @alickbass
    Contributor

    Great! Thanks for submitting this issue! I will take a look at it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions