Small knowledge, big challenge! This article is participating in the creation activity of “Essential Tips for Programmers”.
This article has participated in the “Digitalstar Project” and won a creative gift package to challenge the creative incentive money.
Xiao CAI learned how to package Android APK files two days ago. As an Android developer, I didn’t understand iOS at all, so I asked my friend to learn how to package iOS IPA files. Actually, Flutter has little to do with the way iOS packs everyday.
Packaging steps
- Find your local app file and open it with XCode, either to ios or xcWorkspace.
2. After opening the app, xiao CAI can learn a little bitiOSFor basic information, skip this step.
2.1 Runner->FlutterContains the generated non-editableframeworkCode and header files2.2 Main courses to learnRunner.appThe main content of; inGeneralSet the application name/signature file/device compatibility/vertical/horizontal screen/welcome page, etc.iOSWelcome page is very convenient, you can directly configure the welcome page icon can also directly configure their own edit welcome page;
2.3 if the AppStore cannot be sent, the Signing file must be configured in the Signing section;
2.4 Capabilities mainly configures rights management;
2.5 Build Settings, includingCPUStructure and so on, but basically do not need to make adjustments;
3. ProductSelect theArchiveCan,Pay special attention toAt this time:RunnerEquipment must be selectedGeneric iOS Device;
4. Select a publishing platform.
- After selecting the iOS AppStore, you can choose to publish the AppStore directly or package the IPA file. The packaged IPA file can be uploaded using the upload tool.
- Side dishes choose IPA file packaging, very simple, always the next step can be; But the last step of the side dish test took a little longer to pack than it did on native iOS;
      Tips: iOSPacking is easy and side dishes are eventually generatedIPAFile for9.9 MRelative to the same application,AndroidpackagedAPKFile for5.7 MThe monk understoodiOSNeed to add someFlutteradditionalsoLibraries and other files.
The packaging of Flutter is not a problem. Although the iOS ecosystem is closed, it does a good job. There are basically no complicated steps, but releasing AppStore certificates and signature files is essential. Xiao CAI does not understand iOS development, if there is a mistake in the place please guide more ~
Source: Little Monk A Ce