opened
dertin
username_0
Error when running Flutter Doctor on Android Studio and the iOS device is not recognized

## Steps to Reproduce

1. Install Android Studio
2. Install Flutter plugin on android studio
3. Install all necessary packages for iOS and Android on System
4. Android studio -> Tools -> Flutter -> Flutter Doctor
5. Error the iOS device is not recognized.

## Logs

ERROR: **Android Studio -> Tools -> Flutter -> Flutter Doctor** 
```
/opt/flutter-sdk/flutter/bin/flutter doctor --verbose

[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.6 18G95, locale es-UY)
    • Flutter version 1.7.8+hotfix.4 at /opt/flutter-sdk/flutter
    • Framework revision 20e59316b8 (6 weeks ago), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/gcespedes/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/gcespedes/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To install:
        brew install cocoapods
        pod setup
    ! Brew can be used to install CocoaPods.
      Download brew at https://brew.sh/.

[✗] iOS tools - develop for iOS devices
    ✗ libimobiledevice and ideviceinstaller are not installed. To install with Brew, run:
        brew update
        brew install --HEAD usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice
        brew install ideviceinstaller
    ✗ ios-deploy not installed. To install:
        brew install ios-deploy
    ! Brew can be used to install tools for iOS device development.
      Download brew at https://brew.sh/.

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 38.2.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[!] Connected device
    ! No devices available
```

PASS: **From the terminal**
```
user$ /opt/flutter-sdk/flutter/bin/flutter doctor --verbose

[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.6 18G95, locale es-UY)
    • Flutter version 1.7.8+hotfix.4 at /opt/flutter-sdk/flutter
    • Framework revision 20e59316b8 (6 weeks ago), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

 
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/user/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • ANDROID_HOME = /Users/user/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.7.5

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 38.2.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (1 available)
    • iPad • xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx • ios • iOS 12.4.1

• No issues found!
```

- pod --version
1.7.5

- cat .profile AND cat .bashrc
```
...
export LANG=en_US.UTF-8
export ANDROID_HOME=/Users/user/Library/Android/sdk
export ANDROID_SDK=/Users/user/Library/Android/sdk
export PATH=$ANDROID_SDK/tools:$ANDROID_SDK/platform-tools:$PATH
export FLUTTER_ROOT=/opt/flutter-sdk/flutter
export PATH=${PATH}:/opt/flutter-sdk/flutter/bin
export PATH=${PATH}:/Users/gcespedes/.composer/vendor/bin
...
```
Error when running Flutter Doctor on Android Studio and the iOS device is not recognized
issue
created
jmagman
username_1
comment
created
patelkrunal78
username_2
Very Similar To [Flutter plugin not installed error;. When running flutter doctor](https://icetutor.com/question/flutter-plugin-not-installed-error-when-running-flutter-doctor)
comment