Duplicate symbol error when archiving on Xcode 10 beta 5

Originator:thi.t.doan
Number:rdar://42797419 Date Originated:August 1 2018, 11:38 AM
Status:Duplicate of 42783758 Resolved:
Product:Xcode Product Version:10.0 beta 5 (10L221o)
Classification: Reproducible:Always
 
Area:
Xcode

Summary:
Archiving a project which contains CardIO and GoogleAnalytics using Xcode 10 beta 5 causes duplicate symbol errors.

Steps to Reproduce:
- Create a new project (the project name in the example is DuplicateSymbolError) with a Podfile with content:

    target 'DuplicateSymbolError' do
        pod 'CardIO'
        pod 'GoogleAnalytics'
    end

- Connect to an iPhone/iPad and build to that device.

(Or use the attached sample project)

Expected Results:
Build successfully to device.

Actual Results:
Build fails with the following error:

duplicate symbol l022 in:
    /Users/redacted/dev/bugreport-samples/DuplicateSymbolError/Pods/CardIO/CardIO/libCardIO.a(CardIOMacros.o)
    /Users/redacted/dev/bugreport-samples/DuplicateSymbolError/Pods/GoogleAnalytics/Libraries/libGoogleAnalytics.a(GAIUtil.o)

See error details in the buildlog.txt file in the attached project.

Version/Build:
Xcode 10.0 beta 5 (10L221o)

Configuration:
None.

Comments


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!