PromiseKit-SwifterSwift_Privacy conflict with SwifterSwift-SwifterSwift_Privacy
xcode 15.4 when archive the project will show the error Showing All Messages Target 'PromiseKit-SwifterSwift_Privacy' (project 'Pods') has create directory command with output '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-bwmyfxhhjhmwbkbgrjpgazkmrkoo/Build/Intermediates.noindex/ArchiveIntermediates/xxx/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SwifterSwift_Privacy.bundle'
Showing All Messages Target 'SwifterSwift-SwifterSwift_Privacy' (project 'Pods') has create directory command with output '/Users/xxx/Library/Developer/Xcode/DerivedData/xxx-bwmyfxhhjhmwbkbgrjpgazkmrkoo/Build/Intermediates.noindex/ArchiveIntermediates/xxx/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SwifterSwift_Privacy.bundle'
and when search the key workds SwifterSwift_Privacy.bundle in pods TARGETS PromiseKit-SwifterSwift_Privacy will show the result
fixed in this PR https://github.com/mxcl/PromiseKit/pull/1350
Try to add dependency via SPM, not via CocoaPods. In our case, SwifterSwift and other SDK that used SwifterSwift were both via CocoaPods. Moving SwifterSwift to SPM resolved the issue.
Version 8.1.2 still cannot solve this problem. In my project, both SwifterSwift and PromiseKit are used. When executing packaging, Xcode will still report the above error, and PromiseKit-SwifterSwift_Privacy still exists in the project.
@akovalov Thank you very much, your method can effectively solve my problem.
Hello @MJ-BEN The issue was already resolved, please try to use master instead of 8.1.2.
@RomanPodymov Thanks for your reply, unfortunately I can't use the master branch. According to our library management rules, I need to specify the version of each library, so I solve this problem by specifying commit now.