zoukankan      html  css  js  c++  java
  • jailbroken ldid dpkg deb

    I added a script as custom build phase. The script signs the app, create a package, copy it to the phone and install it.

    The Build Phase is "Run a Script" with /bin/sh and I added "${PROJECT_DIR}/MyApp/install.sh"

    The scripts (very basic - no error handling) is below (replace with appropriate values) :

    (LatestBuild is a link to the build directory) (ldid is installed with iosopendev project)


    cd $HOME
    /Projects/iPhone/MyProject/MyApp cp -r ../LatestBuild/MyApp.app com.test.MyApp/Applications/ ldid -S com.test.MyApp/Applications/MyApp.app/MyApp rm com.test.MyApp.deb 2>&1/opt/local/bin/dpkg-deb -b com.test.MyApp scp com.test.MyApp.deb root@192.168.0.10:/var/root ssh root@192.168.0.10"dpkg -r com.test.MyApp" ssh root@192.168.0.10"dpkg -i com.test.MyApp.deb" ssh root@192.168.0.10"killall -9 MyApp"#ssh root@192.168.0.10 "killall -HUP SpringBoard" cd -

    It can be improved a lot - but it just works for my needs

  • 相关阅读:
    BGP协议
    OSPF协议项目实战
    理解Eth-Trunk
    二层交换网络当中的高级内容
    策略路由
    isis综合作业
    mac 上安装brew,permission denied解决,安装pip, 安装 requests
    [随笔]swift 笔记
    [转]Swift
    [汇] Android 知识汇总
  • 原文地址:https://www.cnblogs.com/qq378829867/p/2814932.html
Copyright © 2011-2022 走看看