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

fail to create project with create command #24

Open
codelivehe opened this issue Feb 9, 2021 · 1 comment
Open

fail to create project with create command #24

codelivehe opened this issue Feb 9, 2021 · 1 comment

Comments

@codelivehe
Copy link

codelivehe commented Feb 9, 2021

Your environment.

  • Version: Release or SHA
  • Browser: include version
  • Other Information - failed to create the ios project with the "create" command

What did you do?

the error like following:
IOError: [Errno 2] No such file or directory: '../ios/Runner/Info.plist'
Traceback (most recent call last):

What did you expect?

it need to create the info.plist file by myself? thanks

What happened?

@vidman22
Copy link

@codelivehe On line 20 in project_tools.sh
change to:
flutter create --android-language java --ios-language objc --project-name $FLUTTER_APP_PROJECT_NAME --org $FLUTTER_APP_ORG .

and on line 40 of the same file
change to: python add-line.py -i ../android/app/build.gradle -s 'minSdkVersion 16' -t 'minSdkVersion 21' -r

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