spotify / XCRemoteCache

Other
830 stars 53 forks source link

Error: Cannot run project that depends on .framework file #60

Closed dwirandytlvk closed 2 years ago

dwirandytlvk commented 2 years ago

Hi there, I try XCRemoteCache cocoapods plugin in simple project and it works well. But after i add a Firebase/Analytics and doing pod install i always got this error

Screen Shot 2022-01-26 at 16 16 35

I think it's because the Firebase/Analytic dependency is a .framework instead of source file

May i know how to solve this issue?

polac24 commented 2 years ago

It is a bug in the CocoaPods plugin, fixing in #61.

As a workaround, you can manually add them to the list of excluded targets in a Podfile:

xcremotecache({
...
  'exclude_targets' => ['Firebase', 'FirebaseAnalytics', 'GoogleAppMeasurement']
})
dwirandytlvk commented 2 years ago

thanks for your help @polac24