Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@jmagman
Copy link
Member

@jmagman jmagman commented Dec 14, 2020

Reverts #22997

This is causing
-[FlutterDartProject flutterAssetsName:] to return flutter_assets instead of Frameworks/App.framework/flutter_assets, which is then passed into [[NSBundle mainBundle] pathForResource:asset ofType:nil]; which returns nil.

https://github.com/flutter/plugins/blob/0b158bd73e9924a4c57c9b3cea0e450ba5533ce0/packages/video_player/video_player/ios/Classes/FLTVideoPlayerPlugin.m#L63-L66
crashes:

2020-12-14 10:28:34.735911-0800 Flutter Gallery[5463:1857812] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSURL initFileURLWithPath:]: nil string parameter'

@jmagman jmagman self-assigned this Dec 14, 2020
@flutter-dashboard
Copy link

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.

Copy link
Contributor

@dnfield dnfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jmagman jmagman added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Dec 14, 2020
@jmagman jmagman merged commit 2bc94c4 into master Dec 14, 2020
@jmagman jmagman deleted the revert-22997-app-load-ios branch December 14, 2020 21:12
gspencergoog pushed a commit to gspencergoog/engine that referenced this pull request Jan 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes platform-ios waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants