Skip to content

Flutter Build iOS Fails - /tmp/Runner.dst/Applications/Runner.app does not exist #54053

Open

Description

@churchevent

Command

flutter build iOS fails. I search the Internet but unable to find a solution. I have attached a build fail.txt file located at
churchevent/ChurchEvents#1 (comment)

The last thing I did before building the project was 'Clean Build Folder' from Xcode, and 'Flutter Clean' from the command line.

Logs

_Exception: Exception: Source directory "/tmp/Runner.dst/Applications/Runner.app" does not exist, nothing to copy

#0      FileSystemUtils.copyDirectorySync (package:flutter_tools/src/base/file_system.dart:61:7)
#1      buildXcodeProject (package:flutter_tools/src/ios/mac.dart:388:23)
<asynchronous suspension>
#2      BuildIOSCommand.runCommand (package:flutter_tools/src/commands/build_ios.dart:83:43)
#3      _rootRunUnary (dart:async/zone.dart:1192:38)
#4      _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#5      _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#6      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#7      Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#8      Future._completeWithValue (dart:async/future_impl.dart:526:5)
#9      _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
#10     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:306:13)
#11     ApplicationPackageStore.getPackageForPlatform (package:flutter_tools/src/application_package.dart)
#12     _rootRunUnary (dart:async/zone.dart:1192:38)
#13     _CustomZone.runUnary (dart:async/zone.dart:1085:19)
#14     _FutureListener.handleValue (dart:async/future_impl.dart:141:18)
#15     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:682:45)
#16     Future._propagateToListeners (dart:async/future_impl.dart:711:32)
#17     Future._completeWithValue (dart:async/future_impl.dart:526:5)
#18     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:36:15)
[✓] Flutter (Channel master, v1.18.1-pre.10, on Mac OS X 10.15.3 19D76, locale en-US)
    • Flutter version 1.18.1-pre.10 at /Users/carlton/tools/flutter
    • Framework revision 6d52bf9884 (46 minutes ago), 2020-04-05 13:21:01 -0400
    • Engine revision 2cc6a6d66d
    • Dart version 2.8.0 (build 2.8.0-dev.20.0 80ae6ed91d)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    • Android SDK at /Users/carlton/Library/Android/sdk
    • Platform android-29, build-tools 29.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C505
    • CocoaPods version 1.9.1

[✓] Android Studio (version 3.6)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 44.0.2
    • Dart plugin version 192.7761
    • Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b4-5784211)

[✓] VS Code (version 1.43.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.9.0

[✓] Connected device (2 available)
    • iPhone 11 Pro Max • DAD1B264-6F9C-4FAF-B7F0-122130454D04 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-3
      (simulator)
    • iPhone 11         • 274CAF9A-91C7-4455-AA65-B69DB6177000 • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-0
      (simulator)

• No issues found!

Flutter Application Metadata

**Type**: app
**Version**: 2.0.2+4
**Material**: true
**Android X**: false
**Module**: false
**Plugin**: false
**Android package**: null
**iOS bundle identifier**: null
**Creation channel**: stable
**Creation framework version**: 68587a0916366e9512a78df22c44163d041dd5f3
### Plugins
flutter_keyboard_visibility-0.7.0
flutter_local_notifications-1.2.2
flutter_plugin_android_lifecycle-1.0.5
geolocator-5.2.1
google_api_availability-2.0.2
google_maps_flutter-0.5.22+3
image_picker-0.6.3+1
location_permissions-2.0.4+1
path_provider-1.6.0
shared_preferences-0.5.6+1
shared_preferences_macos-0.0.1+4
shared_preferences_web-0.1.2+3
url_launcher-5.4.2
url_launcher_macos-0.0.1+4
url_launcher_web-0.1.1+1
webview_media-0.1.1+3

Activity

  1. added
    platform-iosiOS applications specifically
    c: crashStack traces logged to the console
    t: xcode"xcodebuild" on iOS and general Xcode project management
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Apr 6, 2020
  2. added
    P2Important issues not at the top of the work list
    on Aug 18, 2020
  3. added
    P3Issues that are less important to the Flutter project
    and removed
    P2Important issues not at the top of the work list
    on Feb 8, 2024
  4. added 2 commits that reference this issue on Jul 29, 2024
  5. added a commit that references this issue on Jul 29, 2024
  6. added a commit that references this issue on Aug 7, 2024
  7. added a commit that references this issue on Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: crashStack traces logged to the consoleplatform-iosiOS applications specificallyt: xcode"xcodebuild" on iOS and general Xcode project managementteam-iosOwned by iOS platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions