zoukankan      html  css  js  c++  java
  • JB开发之问题汇总 [jailbreak,越狱技术]

    1、升级到Mac 10.9.1,Xcode 升级到5出现的问题:

    1)升级前要做的事情:

    ①升级/重新安装iOSOpenDev,在终端输入

    xcode-select --switch (xcode_developer_path)
    

      比如

    xcode-select --switch /Applications/Xcode-4.4DP5.app/Contents/Developer
    

      好了之后到http://iosopendev.com/download/ 下载最新版本的iOSOpenDev并安装。

    ②重新安装MacPort  http://www.macports.org/install.php   

    ③安装 dpkg          

    sudo port -f install dpkg
    

    2)codesign_allocate: error: unable to find utility "codesign_allocate", not a developer tool or in PATH

    ldid/ldid.cpp    证书问题,选择一个可以使用的开发者证书即可;

    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路径就可以了。

    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  这个估计是权限问题,卸载掉已安装的插件,就可以编译安装成功。

     

    2、iOS7越狱后,连接iFunBox,91等有问题,看不到Cydia目录,也看不到根目录;

    解决办法:安装afc2服务补丁,这是一个系统级别的增强补丁,解决使用绿毒、绿雨越狱后设备连接到ifunbox、91同步助手、同步推客户端时不能正常使用,但是连接到iTunes却正常的问题。安装此补丁后,可能必须要重启你的iPhone或则iPad来生效。

     

    3、终端连接手机出现如下提示:
    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的对应行,然后再尝试即可。

    4、越狱设备运行自己开发的进程时,出现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
    

      

     

  • 相关阅读:
    使用NoSQL可视化管理工具时报错The GuidRepresentation for the reader is CSharpLegacy
    git和github连接权限(这是一个简便方法,不是很安全,建议大家还是用ssh解决)
    python模块的使用
    利用python抓取页面数据
    利用递归解决“汉诺塔的移动”问题(使用python来做的,其它语言也行)
    mysql中利用show profile很直观的看到查询缓存的作用。
    MySQL中show profiles的开启
    浅谈依赖注入
    使用laraval框架和前端完成restful风格的请求对接(这里只是讨论restful的概念)
    利用composer安装laraval
  • 原文地址:https://www.cnblogs.com/visen-0/p/3552946.html
Copyright © 2011-2022 走看看