Using xCode 16.1.
Building and running the app for iPhone 16 (for instance) is OK. Simulator runs the app OK.
But when trying to Product -> Archive (for “AAny iOS Device (arm64)”), then the build fails at Link phase because duplicate symbols.
Exemple of error:
duplicate symbol '_FIRLogError' in:
/Users/pierdo/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Sphinx/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/FirebaseCore.o
/Users/pierdo/Library/Developer/Xcode/DerivedData/Build/Intermediates.noindex/ArchiveIntermediates/Sphinx/BuildProductsPath/Release-iphoneos/FirebaseCore/FirebaseCore.framework/FirebaseCore[13](FIRLogger.o)
Looks like the .o are generated twice, but can’t figure out why…
Thanks for any help, I’m stuck looking for a solution…
Already tried to play with some of the build parameters of xCode, but there are so many…
pierdo bauce is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Managed to remove the error: changed in xcode: settings -> locations -> Advanced -> Build location: Legacy.
pierdo bauce is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.