This is a project create by Flutter as a single codebase support 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.