Skip to content

[WatchOS] 'Producer' mode failed with static framework #184

@canhth

Description

@canhth

My integration setup

[ x ] CocoaPods cocoapods-xcremotecache plugin

Expected/desired behavior

  • My project has integrated with XCRemoteCache for a long time, recently my project supported a new WatchOS target.
    And it breaks our producer build now.
  • Based on the error logs, seems we don't support static framework for the WatchOS target? Or any configuration that we missed to support this?

Minimal reproduction of the problem with instructions

Screen Shot 2023-03-06 at 20 19 04

Producer Logs

Screen Shot 2023-03-06 at 20 14 36

Details
 error: Unsupported mode. Args: ["/Users/canhtran/Downloads/nestedCocoapodsSample-main/XCRC/xclibtool", "-static", "/Users/canhtran/Library/Developer/Xcode/DerivedData/Proj-ddwudvagaucednbjyqrkycaooyex/Build/Intermediates.noindex/SwiftyRSA.build/Debug-watchsimulator/SwiftyRSA-watchOS.build/Objects-normal/arm64/Binary/SwiftyRSA", "/Users/canhtran/Library/Developer/Xcode/DerivedData/Proj-ddwudvagaucednbjyqrkycaooyex/Build/Intermediates.noindex/SwiftyRSA.build/Debug-watchsimulator/SwiftyRSA-watchOS.build/Objects-normal/i386/Binary/SwiftyRSA", "/Users/canhtran/Library/Developer/Xcode/DerivedData/Proj-ddwudvagaucednbjyqrkycaooyex/Build/Intermediates.noindex/SwiftyRSA.build/Debug-watchsimulator/SwiftyRSA-watchOS.build/Objects-normal/x86_64/Binary/SwiftyRSA", "-o", "/Users/canhtran/Library/Developer/Xcode/DerivedData/Proj-ddwudvagaucednbjyqrkycaooyex/Build/Products/Debug-watchsimulator/SwiftyRSA-watchOS/SwiftyRSA.framework/SwiftyRSA"] 

Others

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