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

new build system support, error: Multiple commands produce #42

Open
piemonte opened this issue Sep 9, 2019 · 0 comments
Open

new build system support, error: Multiple commands produce #42

piemonte opened this issue Sep 9, 2019 · 0 comments

Comments

@piemonte
Copy link
Collaborator

piemonte commented Sep 9, 2019

Hey, just wanted to say TinyConsole is a great project!

If you're using Cocoapods and TinyConsole with the Xcode's new build system, there's a configuration problem with how the podspec specifies input sources causing this error:

Multiple commands produce '/DerivedData/Build/Products/Debug-iphoneos/TinyConsole/TinyConsole.framework/Info.plist':
1) Target 'TinyConsole' (project 'Pods') has copy command from '/Pods/TinyConsole/TinyConsole/Supporting Files/Info.plist' to '/DerivedData/Build/Products/Debug-iphoneos/TinyConsole/TinyConsole.framework/Info.plist'
2) Target 'TinyConsole' (project 'Pods') has process command with output '/DerivedData/Build/Products/Debug-iphoneos/TinyConsole/TinyConsole.framework/Info.plist'

📎 CocoaPods/CocoaPods#8125

  s.source_files = "TinyConsole/**/*"
  s.exclude_files = "TinyConsole/**/*.plist"

If the podspec declaration for s.source_files paths only specifies *.h and *.swift, it should fix the problem. Otherwise the Info.plist is processed as source (as opposed to a resource) and causes this error.

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

1 participant