CocoaPods / Rome

Makes it easy to build a list of frameworks.
MIT License
694 stars 64 forks source link

Bundles are not placed to Rome folder #66

Closed TomasLinhart closed 6 years ago

TomasLinhart commented 6 years ago

I tried Rome with ZendeskSDK that is precompiled and comes with bundles. Rome correctly puts the precompiled frameworks in Rome folder, but it ignores the bundles.

orta commented 6 years ago

Sounds like a real bug, would you like to try fix this?

TomasLinhart commented 6 years ago

I see it could be done in:

umbrella.specs.each do |spec|
  consumer = spec.consumer(umbrella.platform_name)
  file_accessor = Pod::Sandbox::FileAccessor.new(sandbox.pod_dir(spec.root.name), consumer)
  frameworks += file_accessor.vendored_libraries
  frameworks += file_accessor.vendored_frameworks
end

Right? How would I get resources field from Podspec there?

orta commented 6 years ago

I’d expect spec to have a .resources