Conditions required to generate.ios folders:

  1. Must usepubspec.yamlFile, otherwiseflutter pub getIt can’t be implemented
  2. inpubspec.yaml, the following code must exist
  module:
    androidX: true
    androidPackage: com.example.flutter_base_component
    iosBundleIdentifier: com.example.flutterBaseComponent
Copy the code
  1. The most annoying part is that the current project folder does not exist with.iosFolder with almost the same nameios, if it exists, then generatediosfolderflutterThe lack ofengineFolder.

  1. The easiest and least easy places to find:yamlThe particularity of the file, if indented improperly, can not generate folders.