cocoapods-binary icon indicating copy to clipboard operation
cocoapods-binary copied to clipboard

Keep Pod's source code

Open kremizask opened this issue 5 years ago • 2 comments

Thanks for this awesome plugin!

I would like to

  • use binary pods in order to reduce my project's compile times and
  • keep the original pod sources and check them in git so that I always have the source code, even if I actually use the prebuilt frameworks in my build.

Is this possible? I tried using the keep_source_code_for_prebuilt_frameworks! flag but the source files are being deleted.

kremizask avatar Apr 17 '19 14:04 kremizask

@kremizask What's the purpose of 'always have the source code'?

if using 'keep_source_code_for_prebuilt_frameworks', you can find the source code in Pods/_prebuilt/. This feature is to speed up the prebuild install. Maybe the name is a litter inaccurate.

leavez avatar Apr 18 '19 14:04 leavez

@leavez I think I understand what @kremizask wants and I'm looking for the same thing. I would like to use the binaries to reduce compile time, but keep the source code organized as vanilla cocoapods organizes it so that Xcode recognizes the implementation files and I can see the implementation directly in xcode as I'm developing through a command click. Is this possible? Thanks!

scottdelly avatar Nov 19 '19 01:11 scottdelly