question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot run in iOS

See original GitHub issue
↳
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Debug ===
ld: warning: Could not find auto-linked library 'swiftCoreFoundation'
ld: warning: Could not find auto-linked library 'swiftSwiftOnoneSupport'
ld: warning: Could not find auto-linked library 'swiftFoundation'
ld: warning: Could not find auto-linked library 'swiftDarwin'
ld: warning: Could not find auto-linked library 'swiftUIKit'
ld: warning: Could not find auto-linked library 'swiftQuartzCore'
ld: warning: Could not find auto-linked library 'swiftCore'
ld: warning: Could not find auto-linked library 'swiftCoreGraphics'
ld: warning: Could not find auto-linked library 'swiftObjectiveC'
ld: warning: Could not find auto-linked library 'swiftCoreMedia'
ld: warning: Could not find auto-linked library 'swiftDispatch'
ld: warning: Could not find auto-linked library 'swiftMetal'
ld: warning: Could not find auto-linked library 'swiftCoreImage'
ld: warning: Could not find auto-linked library 'swiftCoreAudio'
Undefined symbols for architecture arm64:
"protocol descriptor for Swift.Hashable", referenced from:

I already add use_frameworks! still not working. I already add config.build_settings['SWIFT_VERSION'] = '4.2' still not working

this is my flutter doctor

[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
    • Android SDK at /Users/ekoprasetyo/Library/Android/sdk
    • Android NDK at /Users/ekoprasetyo/Library/Android/sdk/ndk-bundle
    • Platform android-28, build-tools 28.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_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[!] Android Studio (version 3.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06)

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

[✓] Connected device (1 available)
    • Eko Prasetyo Lukman Nur’s iPhone • 37e053b536e8662eb1beaf01726e3da0def34749 • ios • iOS 12.1.1

! Doctor found issues in 1 category.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
algorythmcommented, Jan 11, 2019

@jaumard 0.2.0 solved it for me at least.

0reactions
jaumardcommented, Jan 11, 2019

Then I’m closing it 😃 but guys don’t hesitate to open a new one if you still have problems

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to Run App on Device | Apple Developer Forums
I recently moved an app from the original developer account to a new account. After doing this, I am no longer able to...
Read more >
Cannot run an iOS app on M1 Mac with Flutter 2.8.0 #95117
1- Open the Flutter project's Xcode target with open ios/Runner. · 2- Select the 'Runner' project in the navigator then the 'Runner' target...
Read more >
App cannot run on real iOS device but can run on the simulator
Go back to XCode, open up the Organizer and select "Provisioning Profiles", ensure that "Automatic Device Provisioning" is checked on the top ......
Read more >
Cannot run on ios - Ionic Framework
Try running from Xcode to see if it provides more information. Run npx cap open ios and then click the “play” (triangle) button...
Read more >
VS for Mac 2022 Preview 7 can't launch iOS app in debug mode
When try to run my app on iphone simulator 15.4 i get “error HE0042: Could not launch the app 'xxx' on the device...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found