Posts

Showing posts with the label ios-simulator

Error Running React Native App From Terminal (iOS)

I am following the tutorial on the official React Native website. Using the following to build my project: react-native run-ios I get the error: Found Xcode project TestProject.xcodeproj xcrun: error: unable to find utility "instruments", not a developer tool or in PATH Command failed: xcrun instruments -s xcrun: error: unable to find utility "instruments", not a developer tool or in PATH Although, when I run the app from the .xcodeproj, everything works fine. Any suggestions? Check out this link: https://github.com/facebook/react-native/issues/7965. It appears to be a problem with the location of Command line tools . In Xcode, select Xcode menu, then Preferences, then Locations tab. Select your Xcode version from the dropdown and exit Xcode. You may need to install or set the location of the Xcode Command Line Tools . Via command line If you have Xcode downloaded you can run the following to set the path: sudo xcode-se...

flutter run: No connected devices

I am trying to create a sample application with flutter (fresh installation) android studio is also installed (fresh installation) Here is the output of flutter run flutter run No connected devices. the output of flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel beta, v0.1.5, on Linux, locale en_US.UTF-8) [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) [✓] Android Studio (version 3.0) [!] VS Code (version 1.20.1) [!] Connected devices ! No devices available ! Doctor found issues in 2 categories. Is there is a solution ? Flutter supports both iOS and Android device/simulators. In terminal, run the flutter devices command to verify that Flutter recognizes your connected Android device. Here is reference document, How you can setup Device/Simulator to run your application. For, Android (on mac system) Set up your Android device To prepare to run and test your Flutter app on an Android device, you’ll need an And...