Xcode 10 Beta 5: Linker Errors on Duplicate Symbols Using CocoaPods

Number:rdar://42768051 Date Originated:31-Jul-2018 07:26 AM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode
Classification:Serious Bug Reproducible:Always
When using CocoaPods to manage our dependencies, we’re getting linker errors for duplicate symbols when compiling for arm64.

Steps to Reproduce:
1. Use CocoaPods to install Crashlytics and Fabric for an app.
2. Build for arm64.

Expected Results:
The build succeeds.

Actual Results:
The linker fails with many duplicate symbols. See attached build log.




This has been confirmed not to be a CocoaPods related issue as it is reproducible on a project that does not use CocoaPods at all.

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!