I'm getting the errors below when trying to archive the app. Any idea how to resolve this?
:-1: Multiple commands produce '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a': 1) Target 'yoga' has a command with output '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a' 2) Target 'yoga' has a command with output '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a'
:-1: Multiple commands produce '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libReact.a': 1) Target 'React' has a command with output '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libReact.a' 2) Target 'React' has a command with output '/Users/gb/Library/Developer/Xcode/DerivedData/GB-ggeaxhzkqxunxvenbvbwxczukaqb/Build/Intermediates.noindex/ArchiveIntermediates/GB/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libReact.a'
Navigate to your project's settings. Under iOS (or the target you want to build your app for) > Identity, you'll want to increment the Build number. For example, if the Build number was 1, you'll want to set it to 2. Then, in the top menu, under Product, click on Archive.
Open the Archives folder in Finder: Library > Developer > Xcode > Archives.
The Step archives your Xcode project by running the xcodebuild archive command and then exports the archive into an . ipa file with the xcodebuild -exportArchive command. This . ipa file can be shared, installed on test devices, or uploaded to the App Store Connect.
Archive: As its name says, it is the overall package (that contains . app and other related files). From archive you can create . IPA file similar to . apk file (android) with that you can distribute your application.
You can try to change the build system to Legacy
File > Workspace Settings > Build System > Legacy Build System.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With