CocoaPods / Rome

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

Static frameworks with resource_bundles #81

Closed tcamin closed 11 months ago

tcamin commented 5 years ago

I'm unsure whether this is an issue with CococaPods or cocoapods-rome, but starting with CocoaPods 1.7.x resource_bundles are no longer copied inside the static framework that is being built.

For example, take the following Podfile:

platform :ios, '8.0'

plugin 'cocoapods-rome'

target 'caesar' do
  pod 'Material', :git => 'https://github.com/tcamin/Material.git'
end

Where I'm pointing to a fork of Material (for the sake of this issue report) that is species the pod to produce a static framework.

With CocoaPods 1.6.2 and earlier this resulted

$ tree Rome/
Rome/
└── Material.framework
    └─ com.cosmicmind.material.icons.bundle
    └─ com.cosmicmind.material.fonts.bundle

Starting from CocoaPods 1.7.0 those bundle folders are no longer moved inside the framework, but exist only during compilation in the build folder:

$ tree build/Debug-iphoneos/Material
Material/
└─ Material.framework
└─ com.cosmicmind.material.icons.bundle
└─ com.cosmicmind.material.fonts.bundle