一、升級到Mac 10.9.1,Xcode 升級到5出現的問題:php
1)升級前要作的事情:ios
①升級/從新安裝iOSOpenDev,在終端輸入sql
xcode-select --switch (xcode_developer_path)
好比xcode
xcode-select --switch /Applications/Xcode-4.4DP5.app/Contents/Developer
好了以後到http://iosopendev.com/download/ 下載最新版本的iOSOpenDev並安裝。app
②從新安裝MacPort http://www.macports.org/install.php ssh
③安裝 dpkg iphone
sudo port -f install dpkg
2)codesign_allocate: error: unable to find utility "codesign_allocate", not a developer tool or in PATHthis
ldid/ldid.cpp 證書問題,選擇一個可使用的開發者證書便可;spa
3)ar: error: unable to find utility "ar", not a developer tool or in PATH ar是打靜態庫的包,腳本出錯了。我使用的是iOSOpenDev的iosod,後面打開腳本,找到xcodeAsAppPath="/Applications/Xcode.app/Contents/Developer"。修改成本身要開發的xcode路徑就能夠了。.net
4)dpkg: error processing /var/root/iOSOpenDevPackages/WeeApp_1.0-1_iphoneos-arm.deb (--install):
trying to overwrite `/System/Library/WeeAppPlugins/WeeApp.bundle/Info.plist', which is also in package com.cunnar.prfcloud.server 這個估計是權限問題,卸載掉已安裝的插件,就能夠編譯安裝成功。
二、iOS7越獄後,鏈接iFunBox,91等有問題,看不到Cydia目錄,也看不到根目錄;
解決辦法:安裝afc2服務補丁,這是一個系統級別的加強補丁,解決使用綠毒、綠雨越獄後設備鏈接到ifunbox、91同步助手、同步推客戶端時不能正常使用,可是鏈接到iTunes卻正常的問題。安裝此補丁後,可能必需要重啓你的iPhone或則iPad來生效。
三、終端鏈接手機出現以下提示:
ssh root@172.16.81.221
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that the RSA host key has just been changed.
The fingerprint for the RSA key sent by the remote host is
76:fb:b3:70:14:48:19:d6:29:f9:ba:42:46:be:fb:77.
Please contact your system administrator.
Add correct host key in /home/fante/.ssh/known_hosts to get rid of this
message.
Offending key in /home/fante/.ssh/known_hosts:68
RSA host key for 172.16.81.221 has changed and you have requested strict checking.
Host key verification failed.
server端密碼或是ip對應的server等其餘發生改變的時候。解決方法通常就須要刪除~/.ssh/known_hosts的對應行,而後再嘗試便可。
四、越獄設備運行本身開發的進程時,出現iOS上Killed 9 錯誤 。
從解決方法來看,是命令簽名驗證不經過致使的錯誤。詳見:http://www.securitylearn.net/2013/03/29/ios-sqlite3-command-killed9-problem/?utm_source=rss&utm_medium=rss&utm_campaign=ios-sqlite3-command-killed9-problem