'how to solve Xcode 13.2: Multiple commands error

Multiple commands produce '/Users/deema/Library/Developer/Xcode/DerivedData/QuickPark-fpdwzogqwkmhpmfcuoscbsgwohso/Build/Products/Debug-iphonesimulator/QuickPark.app/Frameworks/PPRiskMagnes.framework':

  1. Target 'QuickPark' has copy command from '/Users/deema/Library/Developer/Xcode/DerivedData/QuickPark-fpdwzogqwkmhpmfcuoscbsgwohso/SourcePackages/checkouts/braintree_ios/Frameworks/XCFrameworks/PPRiskMagnes.xcframework/ios-arm64_x86_64-simulator/PPRiskMagnes.framework' to '/Users/deema/Library/Developer/Xcode/DerivedData/QuickPark-fpdwzogqwkmhpmfcuoscbsgwohso/Build/Products/Debug-iphonesimulator/QuickPark.app/Frameworks/PPRiskMagnes.framework'
  2. That command depends on command in Target 'QuickPark': script phase “[CP] Embed Pods Frameworks”

I'm running my code on Xcode 13.2.1 and I'm having this error after trying to integrate PayPal with my app



Solution 1:[1]

Solution 1:

go to file -> workspace Setting -> click side arrow top of advance button -> open derived data folder -> delete all folder

enter image description here

Solution 2:

if you are using cocoapods than use this command on command line:

  1. pod deintegrate
  2. pod install

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1