grab / grab/cocoapods-binary-cache
Development Pod can not retrieve `resource_bundles`
- Dominant language
- Ruby
- Stars
- 488
- Forks
- 69
- PR merge metrics
- No merged PRs in 30d
Description
Hi thanks for the awesome work,
I have successfully adapt the cache for third party frame work and development pod without assets folder and xib file
When it come to development pod pod which has `assets` folder and `xib` file. I can not use `spec.resources` as it will be duplicate after prebuild (See attachment image). i can only use `resource_bundles`
```
spec.resource_bundles = {
"#{spec.name}" => [
"#{spec.name}/**/*.{lproj,xcdatamodeld,xib,json,ttf,xcassets}",
],
}
```
with above spec i can see assets folder and xib files are copied into development pod
The problem is i can not invoke get my image and nib with normal way
for xib
```
super.init(nibName: "SplashViewController",
bundle: Bundle(for: SplashViewController.self))
```
and image
```
UIImage(named: name, in: Bundle(for: aClass), compatibleWith: nil)
```
the 2 above normal method will not work anymore. Any suggestion that we can use cache for development pod with assets and xib?
Contributor guide
Assessment
This issue has not been assessed yet.