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.

[iOS] BUILD FAILED: can't run `buck install --run demo_app_ios`

See original GitHub issue

Hi,

I have a problem with buck demo, I can’t run. So, my steps:

git clone https://github.com/fbsamples/bucksamples.git
cd bucksamples/cross-platform-scale-2015-demo/
➜  ios git:(master) ✗ buck build demo_app_ios
Not using buckd because watchman isn't installed.
Building: finished in 0.5 sec (100%) 1/1 jobs, 0 updated
  Total time: 1.2 sec
➜  ios git:(master) ✗ buck build demo_app_ios
Not using buckd because watchman isn't installed.
Parsing buck files: finished in 0.5 sec
Building: finished in 0.6 sec (100%) 1/1 jobs, 0 updated
  Total time: 1.3 sec
➜  ios git:(master) ✗ buck install --run demo_app_ios
Not using buckd because watchman isn't installed.
Building: finished in 0.2 sec (100%) 1/1 jobs, 0 updated
  Total time: 0.5 sec
Installing... 0.4 sec
BUILD FAILED: Cannot install //ios:BuckDemoApp#dwarf-and-dsym,no-include-frameworks (no appropriate simulator found)
➜  ios git:(master) ✗ 

Thank you!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
zarochintsevcommented, Apr 10, 2020

I found a temporary solution. I’m using Version 11.4 (11E146) and it does not have an iPhone 6s simulator. For BUCK setup use iPhone 6s as default simulator. So, you can use any simulator. Command --simulator-name {n}.

The full command: buck install --run demo_app_ios --simulator-name iPhone\ 8

1reaction
v-jizhangcommented, Apr 9, 2020

@zarochintsev, thank you for reporting this issue,. We are working on it and should get it fixed in a few days.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode 13 cannot run project genera… - Apple Developer
Press Run and see how it builds and runs on your device. Now open the same project with Xcode 13. Press Run and...
Read more >
buck install
This command builds and installs an .apk or .app bundle on a emulator/simulator or device, and optionally launches it.
Read more >
error Failed to build iOS project. We ran "xcodebuild ...
For me it caused by installing react-native-vector-icons and linking by running the react-native link react-native-vector-icons command.
Read more >
Getting start with Buck build System - Narlei Moreira
If you want an option to Xcode builds, the Buck build system can be a good solution. ... For the last step, run:...
Read more >
CocoaPods installation failure when building for iOS
It looks like this is a Unity bug: somehow it can't run the pod install command correctly. But there is a solution, you...
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