IOS越狱开发错误解决
2013-12-09 11:10
309 查看
Questions: haseScriptExecution Run\ Script /Users/jun/Library/Developer/Xcode/DerivedData/ButtonMap-cgoythyaglpcuscsyvhmpkkhfkkb/Build/Intermediates/ButtonMap.build/Release-iphoneos/ButtonMap.build/Script-8B005C22176751AA00272AF9.sh
[b]Answer:[/b]delete DerivedData Directory all file
Questions:
ssh: connect to host 192.168.0.110 port 22: Operation timed out Failed to create directory
/var/root/iOSOpenDevPackages on device 192.168.0.110 Command /bin/sh failed with exit code 255
Answer:
1.Make sure you have the latest Xcode (version 4.5) installed as /Applications/Xcode.app.
2.In Xcode's Preferences, go to Downloads, then Components,and make sure the Command Line Tools are installed.
3.From the command line (e.g. in Terminal.app),run this: xcode-select --switch /Applications/Xcode.app
Questions: ssh: connect to host 192.168.0.110 port 22: Connection refused
Answer:sudo apt-get install openssh-server 启动服务
Follow this: https://github.com/kokoabim/iOSOpenDev/wiki/SSH-Public-Key-Authentication
Open Terminal: iosod sshkey -h [device-hostname-or-ipaddress] example:iosod sshkey -h 192.168.0.110
OpenSSH package installed and running on device. If missing, install in Cydia.
Known host name (e.g. MyiPhone) or IP address (e.g. 192.168.1.101) of device.
Read and follow prompts. For example, if a SSH authentication key does not already exist then one will be generated and the passphrase to set it will be asked.
IMPORTANT: Do not use "[device-hostname-or-ipaddress]" as the actual value in the command above, use your device's host name or IP address.
Public keys added for SSH public key authentication for a device are stored in the root account's ~/.ssh/authorized_keys file on the device.
[b]Answer:[/b]delete DerivedData Directory all file
Questions:
ssh: connect to host 192.168.0.110 port 22: Operation timed out Failed to create directory
/var/root/iOSOpenDevPackages on device 192.168.0.110 Command /bin/sh failed with exit code 255
Answer:
1.Make sure you have the latest Xcode (version 4.5) installed as /Applications/Xcode.app.
2.In Xcode's Preferences, go to Downloads, then Components,and make sure the Command Line Tools are installed.
3.From the command line (e.g. in Terminal.app),run this: xcode-select --switch /Applications/Xcode.app
Questions: ssh: connect to host 192.168.0.110 port 22: Connection refused
Answer:sudo apt-get install openssh-server 启动服务
Follow this: https://github.com/kokoabim/iOSOpenDev/wiki/SSH-Public-Key-Authentication
Open Terminal: iosod sshkey -h [device-hostname-or-ipaddress] example:iosod sshkey -h 192.168.0.110
[b]SSH Public Key Authentication[/b]
The iOSOpenDev provided Xcode templates each have a Run Script Build Phase that executes theiosodcommand-line tool to (if build settings are configured to do so) build the target's Debian package, copy it to the device using
scp(secure copy) and install the package running
dpkglocally on the device using
ssh. Since this operation is performed as a Build Phase, SSH public key authentication needs to be set up to allow password-less SSH connections to the device.
Requirements
Wifi-enabled device connected to same network as Mac.OpenSSH package installed and running on device. If missing, install in Cydia.
Known host name (e.g. MyiPhone) or IP address (e.g. 192.168.1.101) of device.
Steps
Open Terminal and type:iosod sshkey -h [device-hostname-or-ipaddress]
Read and follow prompts. For example, if a SSH authentication key does not already exist then one will be generated and the passphrase to set it will be asked.
IMPORTANT: Do not use "[device-hostname-or-ipaddress]" as the actual value in the command above, use your device's host name or IP address.
Additional Information
If a SSH authentication key is generated, it is stored under~/.sshof the local user's account.
Public keys added for SSH public key authentication for a device are stored in the root account's ~/.ssh/authorized_keys file on the device.
相关文章推荐
- ios开发——日常之dyld: Library not loaded: @rpath/MySDK.framework/MySDK 错误解决
- IOS开发ARC forbids explicit message send of 'autorelease'错误解决办法
- iOS开发将支付宝导入到工程师出现的错误‘openssl/ asn1.h’file not found的解决方法
- IOS开发ARC forbids explicit message send of 'autorelease'错误解决办法
- iOS 开发 解决EXC_BAD_ACCESS错误的一种方法--NSZombieEnabled(转)
- ios开发常见错误及解决方法
- IOS开发-cocoaPod安装遇到的错误以及解决方法
- iOS 开发中 Whose view is not in the window hierarchy 错误的解决办法
- 【iOS开发】解决使用loadNibNamed会报Could not load NIB in bundle的错误
- iOS开发常见错误及其解决方法
- ios 开发中 --做登陆注册时编译出现的错误和解决方法
- iOS越狱开发手记 - iOS9.3 dyld_decache不能提取arm64的dyld的解决方法
- iOS开发过程中的一些错误提示和解决办法大全
- IOS 开发中 Whose view is not in the window hierarchy 错误的解决办法
- IOS开发错误汇总及解决方法
- iOS开发---- 开发错误汇总及解决方法
- iOS开发笔记:编译时出现的错误和解决办法
- iOS开发编译时候报的错误和解决办法收集
- iOS开发--libxml/HTMLparser.h file not found 解决方法 (libxml.dylib错误处理)
- IOS 开发中 Whose view is not in the window hierarchy 错误的解决办法