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

While removing splash page we get error "Info.plist not found" #247

Closed
aytunch opened this issue Dec 7, 2021 · 3 comments
Closed

While removing splash page we get error "Info.plist not found" #247

aytunch opened this issue Dec 7, 2021 · 3 comments

Comments

@aytunch
Copy link

aytunch commented Dec 7, 2021

@jonbhanson Hi.
We have 2 info.plist files under different directories. An when we try to use remove command, it does not work properly even if we already set different info.plist files using info_plist_files: in pubspec.yaml

File ios/Runner/Info.plist not found. If you renamed the file, make sure to specify it in the info_plist_files section of your flutter_native_splash configuration.
pub finished with exit code 1

ios/Runner/Info.plist is not supposed to be found anyways because my 2 plists are in different places and are notified in pubspec

@jonbhanson
Copy link
Owner

Can you provide your config?

@aytunch
Copy link
Author

aytunch commented Mar 27, 2022

@jonbhanson

flutter_native_splash:
  web: false
  color: "#fbfbfb"
  image: "assets/images/splash/splash_screen.png"
  color_dark: "#2e2e2e"
  image_dark: "assets/images/splash/splash_screen.png"
  fullscreen: true
  android_gravity: center
  ios_content_mode: center
  info_plist_files:
    - "ios/Runner/Info-Debug.plist"
    - "ios/Runner/Info-Release.plist"

@jonbhanson
Copy link
Owner

I will push an update soon that resolves this issue.

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

No branches or pull requests

2 participants