Skip to content

cp: build/aot/App.framework: No such file or directory and cp: /Users/danielbursztynski/development/IdeaProjects/newgenfestival/ios/Flutter/App.framework/Info.plist: No such file or directory #21025

@dbursztynski

Description

@dbursztynski

Steps to Reproduce

So I have been developing this app for some time now and I have recently (24 August) updated dart, flutter and the IDE (IntelliJ IDEA). Before the update happened I was able to run the application in release mode without any issues. However now I can only run the app in a debug mode.

At first when run in release mode it would not update to most recent code so I have run "flutter clean", after removing .build directory I have been receiving the following log;

Logs

Running pod install...
Starting Xcode build...
Xcode build done.
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **
    
Xcode's output:
↳
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
    Building AOT snapshot in release mode (ios-release)...
    
    ===== CRASH =====
    version=2.1.0-dev.1.0.flutter-ccb16f7282 (Tue Aug 21 22:21:20 2018 +0000) on "macos_simarm64"
    si_signo=Segmentation fault: 11(11), si_code=0, si_addr=0x0
    Dart snapshot generator failed with exit code -6
    
    ===== CRASH =====
    version=2.1.0-dev.1.0.flutter-ccb16f7282 (Tue Aug 21 22:21:20 2018 +0000) on "macos_simarm"
    si_signo=Segmentation fault: 11(11), si_code=1, si_addr=0x7fff5124
    Dart snapshot generator failed with exit code -6
    Built to build/aot/.
    Snapshotting (IOSArch.armv7) exited with non-zero exit code: -6
    Snapshotting (IOSArch.arm64) exited with non-zero exit code: -6
    cp: build/aot/App.framework: No such file or directory
    cp: /Users/danielbursztynski/development/IdeaProjects/newgenfestival/ios/Flutter/App.framework/Info.plist: No such file or directory
    Project /Users/danielbursztynski/development/IdeaProjects/newgenfestival built and packaged successfully.
    Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure
    === BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
    ld: framework not found App
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    ld: framework not found App
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
Could not build the precompiled application for the device.


[✓] Flutter (Channel master, v0.7.1-pre.26, on Mac OS X 10.13.6 17G65, locale en-GB)
    • Flutter version 0.7.1-pre.26 at /Users/danielbursztynski/flutter
    • Framework revision 510c0eeaff (17 hours ago), 2018-08-24 17:19:30 -0700
    • Engine revision 0914926014
    • Dart version 2.1.0-dev.1.0.flutter-ccb16f7282

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.1)
    • Android SDK at /Users/danielbursztynski/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.4.1, Build version 9F2000
    • ios-deploy 1.9.2
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 26.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 27.1.3
    • Dart plugin version 182.4129.13

[✓] IntelliJ IDEA Ultimate Edition (version 2017.2.6)
    • IntelliJ at /Users/danielbursztynski/Applications/IntelliJ IDEA.app
    • Flutter plugin version 20.0.2
    • Dart plugin version 172.4343.25

[✓] Connected devices (1 available)
    • Daniel Bursztynski’s iPhone • 8c8ddda8a5c6ae0244fd543ad84766227c0af7dc • ios • iOS 11.4.1

• No issues found!

Thank you for any help!

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consolec: regressionIt was better in the past than it is nowplatform-iosiOS applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions