-
Notifications
You must be signed in to change notification settings - Fork 29.7k
flutter build ios-framework Some plugin debug framework creation failing #66541
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
Conversation
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat. Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
jmagman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution!
This needs tests, though unfortunately this file is not well unit tested. Can you update the integration test?
| '\ndependencies:\n device_info: 0.4.1\n package_info: 0.4.0+9\n', |
Try adding
native_mixpanel: 0.1.2 (exact version please so changes in this plugin don't break the test)
Near
flutter/dev/devicelab/bin/tasks/build_ios_framework_module_test.dart
Lines 386 to 390 in 19078b1
| checkDirectoryExists(path.join( | |
| cocoapodsOutputPath, | |
| mode, | |
| 'package_info.framework', | |
| )); |
checkDirectoryExists(path.join(
cocoapodsOutputPath,
mode,
'Mixpanel.framework',
));and near
| for (final String mode in <String>['Debug', 'Profile', 'Release']) { |
Mixpanel.framework checks (would duplicate less code to add a second loop over ['device_info', 'Mixpanel']).
You can run the test locally:
$ cd dev/devicelab
$ dart bin/run.dart -t build_ios_framework_module_test
|
@jmagman Thank you for providing the details of the test. I've tested it locally and it didn't run well. |
I think I just fixed that yesterday! Try rebasing on master ToT and try again, or temporarily comment everything in that |
|
This pull request executed golden file tests, but it has not been updated in a while (20+ days). Test results from Gold expire after as many days, so this pull request will need to be updated with a fresh commit in order to get results from Gold.For more guidance, visit Writing a golden file test for Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
|
@1amageek I took a crack at this in #69736 (comment). Would you be able to test it for me? It's available on the master channel. |
Description
Resolved a problem with Cocoapods when running the
flutter build ios-framework.Thanks to @robrichardson13 for already suggesting a solution to the problem.
#63508
Related Issues
#63508
Tests
I added the following tests:
Replace this with a list of the tests that you added as part of this PR. A change in behavior with no test covering it
will likely get reverted accidentally sooner or later. PRs must include tests for all changed/updated/fixed behaviors. See Test Coverage.
Checklist
Before you create this PR, confirm that it meets all requirements listed below by checking the relevant checkboxes (
[x]). This will ensure a smooth and quick review process.///).flutter analyze --flutter-repo) does not report any problems on my PR.