Skip to content

When using Carthage, an error message occurs. #217

@EE-Yat-Ho

Description

@EE-Yat-Ho

When using Carthage, an error message occurs.
Sometimes, when using RxAlamofire's functions, the app crashes.

It says that RxAlamofire overrides dependencies like Alamofire.
This doesn't happen with Moya.

  • Xcode Version
    15.3

  • MacOS Version
    Sonoma 14.2.1

  • Carfile
    github "RxSwiftCommunity/RxAlamofire" ~> 6.1

  • Carthage install screenshot
    Screenshot 2024-04-25 at 1 43 14 PM

  • error message
    objc[43175]: Class _TtC9Alamofire21CompositeEventMonitor is implemented in both /Users/park.youngho/Library/Developer/Xcode/DerivedData/RxAlamofireIssue-ebruzcuwguenwjcwhjhbhmmxqsti/Build/Products/Debug-iphonesimulator/Alamofire.framework/Alamofire (0x10397f280) and /Users/park.youngho/Library/Developer/Xcode/DerivedData/RxAlamofireIssue-ebruzcuwguenwjcwhjhbhmmxqsti/Build/Products/Debug-iphonesimulator/RxAlamofire.framework/RxAlamofire (0x104e094f0). One of the two will be used. Which one is undefined.

  • Xcode screenshot

Screenshot 2024-04-25 at 1 41 40 PM Screenshot 2024-04-25 at 1 46 29 PM

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