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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incremental installation only partially updates when dependencies update resource bundles #11567

Closed
1 task done
jszumski opened this issue Sep 29, 2022 · 0 comments 路 Fixed by #11568
Closed
1 task done
Milestone

Comments

@jszumski
Copy link
Contributor

Report

What did you do?

  1. Renamed a resource_bundle in a framework pod SomePodWithResources
  2. Ran pod install
  3. Failed to find the bundle in a consuming pod at runtime

What did you expect to happen?

Both SomePodWithResources and ConsumingPod are re-generated and installed

What happened instead?

The generated version of ConsumingPod-resources.sh contains the old resource bundle name.

CocoaPods Environment

   CocoaPods : 1.11.3
        Ruby : ruby 2.7.4p191 (2021-07-07 revision a21a3b7d23) [arm64-darwin21]
    RubyGems : 3.1.6
        Host : macOS 12.6 (21G115)
       Xcode : 13.4.1 (13F100)
         Git : git version 2.37.1
Ruby lib dir : /Users/jszumski/.rvm/rubies/ruby-2.7.4/lib

Project that demonstrates the issue

https://github.com/jszumski/cocoapods-integration-specs/tree/master/install_framework_test_spec_resources/before

  1. Rename SamplePodWithResources.podspec#L16
  2. pod install
  3. Observe the unchanged value in ConsumingPod-Unit-UnitTests-resources.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants