I have a project that I developed with Xcode 9, and after switching to Xcode 10 I get an error during build:
error: Multiple commands produce 'SomePath/MyApp.app':
1) Target 'MyApp' has create directory command with output '/SomePath/Kvitt.app'
2) That command depends on command in Target 'MyApp': script phase “[CP] Copy Pods Resources”
I had a similar issue with different project and Info.plist
file, and I solved it using this answer
However, this time the error refers to MyApp.app
, and there is no such file in Copy Bundle Resources
Switching to Legacy Build System makes this go away, but want to know what's causing this and how to fix it in new build system
Any ideas?