Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
canhth opened this issue Mar 6, 2023 · 1 comment · Fixed by #185
Closed

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

canhth opened this issue Mar 6, 2023 · 1 comment · Fixed by #185

Comments

@canhth
Copy link

canhth commented Mar 6, 2023

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

 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

@polac24
Copy link
Collaborator

polac24 commented Mar 8, 2023

Thanks, it took me a while to create a reliable E2E test to cover that. #185 should fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants