Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

resource bundle files appear to get processed twice in the build process #4849

Closed
CapnSpellcheck opened this issue Feb 2, 2016 · 8 comments
Labels
s4:awaiting validation A Pull Request that is waiting for validation by a CocoaPods Core Team member

Comments

@CapnSpellcheck
Copy link

It sure seems like a lot of people would be complaining if resource bundles were this globally broken, but I'll report this anyway. Using just a simple resource_bundles config,

s.resource_bundles = {
    'Cadenza' => ['Pod/Assets/**/*']
  }

And a pretty simple structure in Assets

../Pod/Assets/
├── ApplicationUpgradeViewController.xib
├── CadenzaBindings.json
├── Images
├── Info.plist
├── LaunchViewController.xib
├── LivePlayerControls.xib
├── ModalErrorViewController.xib
├── PlayerViewController.xib
├── SlideshowSlideContentView.xib
├── Tiles
└── VODPlayerControls.xib

(Images and Tiles are directories which I suppressed with -L1)
This results in duplicate processing of the entire Assets tree. Reflection of this odd circumstance is inside the workspace, Xcode has two entries for "images" and "Tiles", one being a folder icon and one a group. This duplicate processing results in the .bundle containing the entire raw directory tree of Assets, unprocessed (i.e. xib's are .xibs) in addition to the 'processed' form.
screen shot 2016-02-01 at 5 26 44 pm

(Xcode 7.0-7.2)

@segiddins
Copy link
Member

What CocoaPods version are you using?

@CapnSpellcheck
Copy link
Author

0.39

@segiddins
Copy link
Member

This ought to be fixed in the 1.0 betas and on master.

@segiddins segiddins added the s4:awaiting validation A Pull Request that is waiting for validation by a CocoaPods Core Team member label Feb 2, 2016
@CapnSpellcheck
Copy link
Author

Is that the next release?

@segiddins
Copy link
Member

Yes, it will be, if you want to verify the bug is indeed fixed that'd be a great help.

@CapnSpellcheck
Copy link
Author

We hope to try this by end of week.

@segiddins
Copy link
Member

Awesome, thanks!

@asharma-atx
Copy link

I was experiencing the same issue w/ 0.39. Upgrading to 1.0.beta.3 fixed the issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
s4:awaiting validation A Pull Request that is waiting for validation by a CocoaPods Core Team member
Projects
None yet
Development

No branches or pull requests

3 participants