This is a project create by Flutter support Android, iOS and MacOS.
The UI and database(sqflite) is based on Flutter as a single codebase. However, the "Load/Save" of CSV is native as request open the Operating System default file picker, MethodChannel used connect between flutter and three independent native codes for Android,iOS and MacOS.
You need to build the app in a Mac with XCode installed and with a free Personal Team apple account.
-
Follow this guide to Install flutter SDK in MacOS
-
In XCode, choose File>Open, select ios folder, and open Runner.xcworkspace
-
In left file Navigator, Click top item "Runner", and select "Signing & Capabilities"
-
Ensure "Automatically manage signing" is ticked, select "Term" from None to your account (Personal Term free account is fine)
-
At terminal under project folder enter command: flutter clean
-
flutter build ipa
-
Open MacOS Finder,under build/ios/archive/Runner.xcarchive, Right click and select "Show Package Contents"
-
In XCode, Windows>Devices and Simulators, select the device which to install
-
In Finder, Drag and drop the Products/Applications/Runner to the Device&Simulators > "Installed Apps" field.
or (5. flutter build ios , Drag and drop the ./build/ios/iphoneos/Runner to the Device&Simulators > "Installed Apps" field.)
- In IOS device, Settings>General>Device Management, Select relative Developer and Trust the Developer.