calimarkus / JDStatusBarNotification

Highly customizable & feature rich notifications. Interactive dismiss. Custom Views. SwiftUI. Tap-to-hold. Progress. Written in Swift, compatible for ObjC!
http://calimarkus.github.io/JDStatusBarNotification/documentation/jdstatusbarnotification
MIT License
4.19k stars 556 forks source link

Build fails using Xcode 10 #104

Closed ricardopereira closed 6 years ago

ricardopereira commented 6 years ago
Multiple commands produce '/Users/<redacted>/Library/Developer/Xcode/DerivedData/JDStatusBarNotification-etthrqsgujhpfnfwhfkojfvuogix/Build/Products/Debug-iphonesimulator/JDStatusBarNotification.framework/Info.plist':
1) Target 'JDStatusBarNotification' (project 'JDStatusBarNotification') has copy command from '/Users/<redacted>/Repositories/Whitesmith/WSStatusBarNotification/Miscellaneous/Info.plist' to '/Users/<redacted>/Library/Developer/Xcode/DerivedData/JDStatusBarNotification-etthrqsgujhpfnfwhfkojfvuogix/Build/Products/Debug-iphonesimulator/JDStatusBarNotification.framework/Info.plist'
2) Target 'JDStatusBarNotification' (project 'JDStatusBarNotification') has process command with output '/Users/<redacted>/Library/Developer/Xcode/DerivedData/JDStatusBarNotification-etthrqsgujhpfnfwhfkojfvuogix/Build/Products/Debug-iphonesimulator/JDStatusBarNotification.framework/Info.plist'
ricardopereira commented 6 years ago

Well, it looks like we should change Build System to Legacy Build System.

Ref: https://stackoverflow.com/questions/50718018/xcode-10-error-multiple-commands-produce

ricardopereira commented 6 years ago

Or maybe not 😅 I found out the issue while looking at the log:

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')

I'll do a PR.