0

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.

seoji kim
  • 1
  • 1
  • Hi, welcome to Stack Overflow. Please edit your question to include all code inline and appropriately formatted, That will help the community assist you. Thank you. – MandyShaw Sep 28 '19 at 14:14
  • Hi, did you check this thread? https://stackoverflow.com/questions/47006906/developing-for-ios-device-in-windows-environment-with-flutter/55773996 – Mikhail Tokarev Oct 14 '19 at 16:21

0 Answers0