PromiseKit icon indicating copy to clipboard operation
PromiseKit copied to clipboard

PromiseKit-SwifterSwift_Privacy conflict with SwifterSwift-SwifterSwift_Privacy

Open KavinKily opened this issue 1 year ago • 2 comments

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 image

KavinKily avatar Sep 25 '24 03:09 KavinKily

fixed in this PR https://github.com/mxcl/PromiseKit/pull/1350

jiangyewen avatar Oct 10 '24 06:10 jiangyewen

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.

akovalov avatar Oct 18 '24 12:10 akovalov

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.

MJ-BEN avatar Nov 08 '24 06:11 MJ-BEN

@akovalov Thank you very much, your method can effectively solve my problem.

MJ-BEN avatar Nov 08 '24 06:11 MJ-BEN

Hello @MJ-BEN The issue was already resolved, please try to use master instead of 8.1.2.

RomanPodymov avatar Nov 08 '24 06:11 RomanPodymov

@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.

MJ-BEN avatar Nov 08 '24 06:11 MJ-BEN