-
Notifications
You must be signed in to change notification settings - Fork 468
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm install of ios-deploy fails with "ld: framework not found MobileDevice" on macOS Catalina #415
Comments
I tried workarounds posted here #387 (comment) and it didn't work. |
The same issue here. |
You can try following steps:
It's work to me. |
The version ios-deploy@beta fails to install as well. |
not working help |
Same for me. Any solution for this? |
If anyone is here from the Ionic v1 project, you can ignore this error when building iOS; Just open the project in XCode. |
Other npm packages that take a dependency on the ios-deploy will also fail to install because ios-deploy fails to install. In particular we'd like to get the ios-deploy installation fixed to successfully install the vcremote package. |
Аналогичная проблема |
@michelleangela Installing ios-deploy via brew works for me on Catalina 10.15 (brew uses a precompiled tarball). As vcremote requires/installs brew anyways could it be a workaround to modify the vcremote package to use brew (instead of npm) to install ios-deploy? |
for the people skimming:
Should do the trick. |
I solved this way:
|
Had the same issue, but resolved it with a "two-step-before" fix: |
Do any of the suggested fixes allow vcremote to be installed? Can vcremote installation be changed to use one of the workarounds? |
@penicsn |
the same issue, and try all the solutions above, still not working. |
Thanks, but that had already been tried by many of us without success. |
I was able to fix this issue by doing what was described here:
And it worked. |
After correctly cleaning is working well |
Thanks for the tips. Before all the steps I cleaned my Derivedata, and it works! |
I believe this is linked to the version of Xcode used. Here is what testing on my Mojave(10.14.6) Mac shows:
|
#install brew #install ios-deploy, working for Catalina 10.15.1 |
@mesqueeb comment helped me at similar situation. |
With 1.10.0 released I think this is now resolved. |
I tried installing 1.10.0 and still got the error (full log attached):
Used Xcode 11.2.1 2019-12-09T22_05_40_717Z-debug.log Is there something I'm missing? A pre-requisite, etc? |
@michelleangela Was this on Catalina? I’m not sure what’s up, but can look at it tomorrow. To help narrow things down, what is your?
(Catalina user accounts upgraded from Mojave use bash, but newly created accounts use zsh) |
The error was on Catalina, which was upgraded from Mojava. OS:
xcodebuild -version npm -version node -v Used bash, upgraded from Mojave |
We aren't abandoning node/npm yet... but with the odd issues in #415 it's prudent to not direct people toward node when we aren't really using it.
@michelleangela Does installing via
I'm going to update a computer to Catalina today to look at this further. |
@michelleangela I setup a system extremely close to yours and I'm not seeing a failure.
My The pre-install script that fails is running |
Quick update:
There may be something else configured differently on my machine that's causing the installation to fail. |
@michelleangela could you try one more thing? In a clone of the repo can open package.json and change this line:
to this:
and try running:
(also try it with the line unmodified) The check_reqs.js 'should' only check that you have Xcode installed and fail with a nice message(but it might be failing for some strange reason). |
Remove node/npm from README installation steps (in favor of brew) Verified that this fixes the issue we saw in #415 ... but still not sure why npm is failing.
One thing I tried was comparing the outputs of building the package under the folder that npm would install ios-deploy with output of installing from npm. When installing via npm, I would use Using sudo
No sudo
Building locally with
Then, I tried installing via npm but without It looks like the issue was different paths were getting references under different user permissions. Perhaps I had installed some things using sudo and some without sudo. Thank you for helping to investigate! I think the problem is resolved. |
Odd... but glad it's working for you. Hopefully brew installs won't have these weird edge cases. |
$ brew install ios-deploy |
Try this
|
We aren't abandoning node/npm yet... but with the odd issues in ios-control#415 it's prudent to not direct people toward node when we aren't really using it.
Remove node/npm from README installation steps (in favor of brew) Verified that this fixes the issue we saw in ios-control#415 ... but still not sure why npm is failing.
Expected behavior
can install ios-deploy with npm
Actual behavior
install ios-deploy fails with error
see attached logs for details
2019-10-21T21_18_50_387Z-debug.log
Steps to reproduce the problem
Install iso-deploy using npm
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:
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)
The text was updated successfully, but these errors were encountered: