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
pod lib lint fails on 1.11.0 with build error: Build input file cannot be found: 'App/App-Info.plist' #10927
Comments
This is a great issue report thanks a lot. Will mark for 1.11.1. If this is fixed quickly I will release 1.11.1 this week. |
yeah I cant seem to be able to repro myself either........ if you do
|
Thanks for investigating! I will try to grab the files off that CI machine and get back to you. |
Here's a zip of the Full logs at https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8836684408898221361/+/u/run_plugin_lint_mac/test_stdout. Note the test ran 3 times, the zipped directory is from just the first run. I was wrong about the relative path, it's there:
The problem is that the Looks like this code hasn't changed in awhile. CocoaPods/lib/cocoapods/installer/xcode/pods_project_generator/target_installer_helper.rb Lines 59 to 62 in 123f2d0
Maybe CocoaPods/lib/cocoapods/validator.rb Line 585 in e83d326
Instead of using |
this is awesome. Thanks again for the breakdown and diagnosis. Yeah I think you are right but let me see a bit further by |
and you are certain nothing in your scripts or anything in CI manipulates the sandbox to cause this to happen? Its a bit weird only that CI environment has the issue but you and I cannot see it locally. |
alternatively yes we can change the the build setting not to use this. |
Hopefully we can resolve this by identifying something "unique" in the CI pipeline. Otherwise I cant seem to figure out why and when this can happen. |
Not that I can think of, it's really just finding the podspec and then running The environment variables can be found at https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8836684408898221361/+/u/run_plugin_lint_mac/execution_details under |
yeah I looked around and couldnt find anything that stands out. @jmagman if you edit the generated project manually and set it to |
From that zip I updated the
I then changed |
ha, was not copying. OK I think we might make this change since we cant understand why and when this happens. |
I will make a PR that changes this to use |
Trying in flutter/flutter#89783, it seems mad about grabbing the gem source from the ref, investigating...
|
@jmagman try using the |
I spotted that and already updated the ref. 🙂 |
I think you will hit the same error...but lets see :) |
@jmagman same issue :| |
@jmagman I ended up merging the PR, it might make it easier to test but I am also confident it will work. I can ship 1.11.1 after this is verified from your end later today (PST) |
Not sure why but I couldn't get any I did confirm that I appreciate you fixing this so quickly, I'm sorry I couldn't be more help validating it. |
@jmagman I released 1.11.2 (I had to do two releases because I missed a fix). Can you either try 1.11.1 or 1.11.2 now to verify? thank you! |
Thank you so much for the quick fix, it's much appreciated! |
awesome! |
Report
What did you do?
Upgrading CocoaPods from 1.10.2 to 1.11.0 I'm seeing a new failure in our CI system.
What did you expect to happen?
Validation to pass, as it does on 1.10.2.
What happened instead?
The consumer app App-Info.plist is written to a relative, incorrect directory (#10787 is in 1.11.0)
CocoaPods Environment
For the life of me I couldn't get this to reproduce locally with the same version of CocoaPods and Xcode, and with the same tmp directories, even with the space in the path. So I only have logging from our CI; apologies this info is not in the correct format.
Xcode 12.3.0
bundler install
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8836805892094071985/+/u/Install_gems/install_gems/stdout
gems directory list:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8836805892094071985/+/u/Install_gems/list_bundle/listdir
Project that demonstrates the issue
Here's the full
pod lib lint --verbose
output. I can get the--no-clean
directory off the CI with effort, if needed, though hopefully it can be diagnosed from just theApp-Info.plist
incorrect relative directory.https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8836805892094071985/+/u/run_plugin_lint_mac/test_stdout
Gemfile.lock bump PR where this was discovered:
flutter/flutter#89561
The text was updated successfully, but these errors were encountered: