I tried to build flutter ios app using Codemagic and install with Cydia Impactor. I am using Ubuntu 18.04. The link is what I refered to.
==> Developing and debugging Flutter apps for iOS without a Mac
Codemagic built flutter app successfully and returned Runner.app file. I made .ipa file from Runner.app and then installed on ios device using Cydia Impactor tool. The problem is that when run the app it exit immediately and display nothing.
This is my hello world flutter example code for build ios app.
// Copyright 2018 The Flutter team. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'package:flutter/material.dart';
void main() => runApp(MyApp());
class MyApp extends StatelessWidget {
@override
Widget build(BuildContext context) {
return MaterialApp(
title: 'Welcome to Flutter',
home: Scaffold(
appBar: AppBar(
title: Text('Welcome to Flutter'),
),
body: Center(
child: Text('Hello World'),
),
),
);
}
}
This is run by Android emulator well. What cause the app exit on ios device? I wonder how to debug app on my environment. Plz help.