error: Multiple commands produce '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist':
1) Target 'OptimalLive' has copy command from '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Info.plist' to '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist'
2) Target 'OptimalLive' has copy command from '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Server/Masonry/Info.plist' to '/Users/uesr/Library/Developer/Xcode/DerivedData/OptimalLive-fxatvygbofczeyhjsawtebkimvwx/Build/Products/Debug-iphoneos/OptimalLive.app/Info.plist'
3) Target 'OptimalLive' has process command with input '/Users/uesr/Desktop/workSpace/SEALIVE/SeaLive1.1/OptimalLive/Info.plist'
kodu Xcode9'da çalıştırmak çalışıyor, ancak Xcode10'da bir hatayla sonuçlanıyor.
Sorun, App- içindeki birden fazla Plist veya diğer dosyalar nedeniyle meydana geliyor olabilir.
Çözüm -> Hedefi açın -> Aşamaları oluşturun > Bundle Resources dosyasını kopyalayın ve info.plist
dosyasını buradan kaldırın.
Not: Bir saat uygulaması da geliştirdiyseniz, plist'i saatten ve saat uzantısından da kaldırmanız gerekecektir.
Derleme günlüğünü kontrol ederken bir uyarı fark ettim:
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
warning: The Copy Bundle Resources build phase contains this target's Info.plist file '/Users/<redacted>/Repositories/Whitesmith/optimize-ios/Carthage/Checkouts/WSStatusBarNotification/Miscellaneous/Info.plist'. (in target 'JDStatusBarNotification')
Yani, eğer durumunuz buysa, o zaman sadece hedefinize gidin: