Skip to content

npm install of ios-deploy fails with "ld: framework not found MobileDevice" on macOS Catalina #415

@michelleangela

Description

@michelleangela

Expected behavior

can install ios-deploy with npm

Actual behavior

install ios-deploy fails with error

ld: framework not found MobileDevice
clang: error: linker command failed with exit code 1 (use -v to see invocation)

see attached logs for details
2019-10-21T21_18_50_387Z-debug.log

Steps to reproduce the problem

Install iso-deploy using npm

sudo npm install -g -unsafe-perm=true ios-deploy

System Specs

Please run the commands below in your Terminal.app and include it in the issue. Check when done and include results below.

  • 1. system_profiler SPSoftwareDataType
    Software:

    System Software Overview:

    System Version: macOS 10.15 (19A603)
    Kernel Version: Darwin 19.0.0
    Boot Volume: Macintosh HD
    Boot Mode: Normal
    Computer Name: macminimdd
    User Name: mdd (mdd)
    Secure Virtual Memory: Enabled
    System Integrity Protection: Enabled
    Time since boot: 2:07
    
  • 2. ios-deploy -V
    n/a. cannot install ios-deploy

  • 3. xcodebuild -version
    Xcode 11.1
    Build version 11A1027

  • 4. xcode-select --print-path
    /Applications/Xcode.app/Contents/Developer

  • 5. gcc --version
    Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1
    Apple clang version 11.0.0 (clang-1100.0.33.8)
    Target: x86_64-apple-darwin19.0.0
    Thread model: posix
    InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

  • 6. lldb --version
    lldb-1100.0.28.19
    Apple Swift version 5.1 (swiftlang-1100.0.270.13 clang-1100.0.33.7)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions