error: Multiple commands produce '/Users/zhy/Library/Developer/Xcode/DerivedData/MerchantAide-byeocklaxwfswwgwftkafwgzlecm/Build/Products/Debug-iphonesimulator/MyFuture.app/Info.plist':
1) Target 'MyFuture' (project 'MerchantAide') has copy command from '/Users/zhy/Documents/github/MyFutureNew/MyFutureTests/Info.plist' to '/Users/zhy/Library/Developer/Xcode/DerivedData/MyFuture-byeocklaxwfswwgwftkafwgzlecm/Build/Products/Debug-iphonesimulator/MyFuture.app/Info.plist'
2) Target 'MyFuture' (project 'MerchantAide') has process command with output '/Users/zhy/Library/Developer/Xcode/DerivedData/MyFuture-byeocklaxwfswwgwftkafwgzlecm/Build/Products/Debug-iphonesimulator/MyFuture.app/Info.plist'
IDE: Xcode10(And no problem with Xcode 9.x)
Dup of https://github.com/CocoaPods/CocoaPods/issues/8125
Please search for issues prior to filing new ones. Remove Info.plist from s.source_files your glob is probably matching it.
NO, NO
The problem isn't exist due to the podspec
But it is the same problem in terms of configuring your target. You are shipping an Info.plist as part of your source build phase.
It's the main project.
Follow steps just solved my problem:
1.Remove Derive Data
rm -rf ~/Library/Developer/Xcode/DerivedData
2.Remove info.plist in Targets->Build Phases->Copy Bundle Resources
sure that would do :D
Xcode 11.4.1. After using
pod spec lint --verbose
I noticed following errors. Please can anyone help me here.
error: Multiple commands produce '/var/folders/m_/6h1x546s4n1c_98qv9z_q71h0000gn/T/CocoaPods-Lint-20200505-39793-xvrtvc-TrackingSdk/Build/Products/Release-iphonesimulator/TrackingSdk/TrackingSdk.framework/Headers/GCDAsyncUdpSocket.h':
Target 'TrackingSdk' (project 'Pods') has copy command from '/var/folders/m_/6h1x546s4n1c_98qv9z_q71h0000gn/T/CocoaPods-Lint-20200505-39793-xvrtvc-TrackingSdk/Pods/TrackingSdk/TookanTracker/TookanTracker/SDK/CocoaAsyncSocket.framework/Headers/GCDAsyncSocket.h' to '/var/folders/m_/6h1x546s4n1c_98qv9z_q71h0000gn/T/CocoaPods-Lint-20200505-39793-xvrtvc-TrackingSdk/Build/Products/Release-iphonesimulator/TrackingSdk/TrackingSdk.framework/Headers/GCDAsyncSocket.h'
error: Multiple commands produce '/var/folders/m_/6h1x546s4n1c_98qv9z_q71h0000gn/T/CocoaPods-Lint-20200505-39793-xvrtvc-TrackingSdk/Build/Products/Release-iphonesimulator/TrackingSdk/TrackingSdk.framework/traffic_startcap.png':
error: Multiple commands produce '/var/folders/m_/6h1x546s4n1c_98qv9z_q71h0000gn/T/CocoaPods-Lint-20200505-40275-3kue5a-TrackingSdk/Build/Products/Release-iphonesimulator/TrackingSdk/TrackingSdk.framework/[email protected]':
and more..
All the png are inside framwork GooglePlaces and GoogleMaps. There are some Objective C files.
Thanks!
Most helpful comment
Follow steps just solved my problem:
1.Remove Derive Data
rm -rf ~/Library/Developer/Xcode/DerivedData
2.Remove info.plist in Targets->Build Phases->Copy Bundle Resources