Skip to content

[WatchOS] Duplicate symbols for architecture x86_64 #187

@canhth

Description

@canhth

First of all, thanks for supporting us with this: #185 🙇

This issue is a part of #184

My integration setup
[ x ] CocoaPods cocoapods-xcremotecache plugin

Minimal reproduction of the problem with instructions

  • After producer mode success, the new issue comes up with consumer mode:
    duplicate symbols for architecture x86_64

Consumer Logs

....
Users/~/Library/Developer/Xcode/DerivedData/MyApp-hbydakxttvkkggdnfmcfqpdwplfx/Build/Products/Dev Debug-watchsimulator/SwiftyRSA-watchOS/SwiftyRSA.framework/SwiftyRSA(X509Certificate.o)
ld: 49994 duplicate symbols for architecture x86_64

Others
If using the previous demo project, we will get another issue:

Screen Shot 2023-03-10 at 19 16 31

Fix the example with ['EXCLUDED_ARCHS[sdk=watchsimulator*]'] = 'arm64' for the Watch target seems working, but this solution doesn't work for my real project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions