-
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
Ios-deploy install doesn't work #346
Comments
This is the log:
|
I temporarily turn off the SIP and ran the commands again. I got build sucess. |
I had turn off the SIP, but it does't work for me . |
I had same problem, even turning off the SIP. |
@tonylucas I have no XPCServices file, I don't know how to do, can you help me |
@tonylucas thanks very much, I got it. |
@tonylucas thanks very much, I got it too.but does the file work for others? |
hey guy,how did you remove this file? |
@KimCongMax sudo rm /System/Library/PrivateFrameworks/MobileDevice.framework/XPCServices |
@tonylucas i tried ,but failed with this tips |
But you need to turn off the SIP to be able to do it. |
@tonylucas Thanks ,come china, i owe you a dinner |
this problem bothered me a day @tonylucas |
UPDATE: This is a workaround, not a solutionI wouldn't call this a solution, but at least this will get you moving forward again. Follow #349 for a solution. Seems kind of sketchy that we have to disable system protections on macOS to delete a core system file. How to apply the workaround:For those looking for a straight forward My environment:OS: macOS High Sierra 10.13.5 Disable "SIP"
Attempt install with "SIP" disabled
Re-enable "SIP"
========== |
@tonylucas thk u very much, it works, happyhappyhappy |
good |
@jaydrogers thk u very much, it works, happyhappyhappy |
@jaydrogers Thank you for workaround, I must however warn about installing ios-deploy with
My environment:OS: macOS High Sierra 10.13.6 (17G65) |
@bend-up Thanks for this. I updated my command for others so that it runs the I cringed when I saw that sudo command too. When I tried it without the It would be really nice to see these commands removed for security and safety purposes, but it seems quite intentional that it needs |
@jaydrogers yes, it warns you about that, however for me worked it without the |
@bend-up I think you have a typo in 3.
Thanks for your note - big help! |
@chazzmoney Thank you, updated. |
Is there any work being done to allow for this install to work without disabling SIP? I'm running on a machine in a datacenter I don't have access to, and have recently upgraded to High Sierra and xcode 9.4, and am now getting this error. |
@bennid: Track issue #349. There was a comment posted this morning that might work: #349 (comment) |
Unfortunately that still requires disabling SIP |
Thanks jaydrogers. This comment needs to be highlighted for everyone who comes to this page. |
after I installed the "Xcode 10 beta 4" the problem disappeared |
Can anyone who tried nestamari's solution give us some feedback on it? |
Duping to #349 |
1.9.3 published with this fix: https://github.com/ios-control/ios-deploy/releases/tag/1.9.3 |
Was able to confirm 1.9.3 resolved this issue. Thanks! |
I guess we dont read messages on the terminal, no offence I am the same :D !!!! WARNING:You are on OS X 10.11 El Capitan or greater, you may need to add the so I run "sudo npm install --unsafe-perm=true -g ios-deploy" and worked |
Nothing of this instructions worked for me at 1.9.3 version. |
@GreenRidingHood Even with the "sudo npm install --unsafe-perm=true -g ios-deploy" command I receive this warning and don't work |
I only executed the command that bring us @jaydrogers : |
This should be the right answer, it worked supernice, Thanks a Lot! |
Same on 1.9.3 or 1.9.4. Followed SIP disable advice, did the sudo install with unsafe perm and allow root... none of it works... just get the same OP error I'm running catalina 10.15.1 with xcode 11.2.1 bv 11B500 ... Nevermind: "brew install ios-deploy" Fixed! |
|
@awaism551 : Thanks. That was the only thing that worked for me. |
@awaism551 thanks |
This worked perfectly for me. thanks a lot |
You can try this, guys https://reactnative.dev/docs/running-on-simulator-ios |
您的邮件我已收到,我会尽快查阅并回复您
|
Hi,
Command line arguments than I used for ios-deploy.
Expected behavior
Install ios-deploy global via NPM
Actual behavior.
Ios-deploy not installed and get the error 65:
/bin/sh -c /usr/local/lib/node_modules/ios-deploy/build/ios-deploy.build/Release/ios-deploy.build/Script-C0CD3D981F59D20100F954DB.sh
cp: /System/Library/PrivateFrameworks/MobileDevice.framework/XPCServices: No such file or directory
** BUILD FAILED **
The following build commands failed:
PhaseScriptExecution Run\ Script build/ios-deploy.build/Release/ios-deploy.build/Script-C0CD3D981F59D20100F954DB.sh
(1 failure)
npm ERR! code ELIFECYCLE
npm ERR! errno 65
npm ERR! [email protected] preinstall:
./src/scripts/check_reqs.js && xcodebuild
npm ERR! Exit status 65
npm ERR!
npm ERR! Failed at the [email protected] preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/vinicius/.npm/_logs/2018-06-20T10_50_13_426Z-debug.log
Steps to reproduce the problem
I run the command: npm install -g ios-deploy
System Specs
System Version: macOS 10.13.5 (17F77)
Kernel Version: Darwin 17.6.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Computer Name: Mac mini de Vinicius
User Name: Vinicius Ribeiro (vinicius)
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 36 minutes
-bash: ios-deploy: command not found
Xcode 9.4.1
Build version 9F2000
/Applications/Xcode.app/Contents/Developer
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.1.0 (clang-902.0.39.2)
Target: x86_64-apple-darwin17.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
lldb-902.0.79.7
Swift-4.1
The text was updated successfully, but these errors were encountered: