Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8429591
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:22:48+00:00 2026-06-10T05:22:48+00:00

I’m developing a Cydia app. It’s been in development for awhile, and I’ve never

  • 0

I’m developing a Cydia app. It’s been in development for awhile, and I’ve never had any problems until recently, when I resumed development after a few months. There are a couple of things that have changed since the last time I worked on it:

  1. Upgraded to Lion
  2. Moved to Xcode 4
  3. Updated to 4.3.5 on my iPad, iPhone to 5.0

From the research I’ve done, I’ve come to the conclusion that there was something “unusual” about my old setup. I’ve discovered that provisioned apps get put in the “sandboxed directory” /private/var/mobile/Applications, and system apps that get read access to the entire filesystem go in /Applications. I guess from using updated tools and Lion, I broke whatever was giving me system-wide read privileges. So, I need information on how to get Xcode to deploy directly to the non-sandboxed system directory.

There are some caveats though. I don’t want to have to use an installer, I want Xcode to do it automatically after Build and Run. I also want to be able to have the debugger attached so I can view the console.

Can anyone with experience in this teach me how to use Build Phase Scripts to do necessary magic to take the signed binary and deploy it automatically after each build? I’d imagine this is indeed possible, because console output is such a valuable tool, that it would be too difficult to develop apps like Cydia itself.

Thank you for your help!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T05:22:49+00:00Added an answer on June 10, 2026 at 5:22 am

    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

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build
I am writing an app with both english and french support. The app requests
I am using Paperclip to handle profile photo uploads in my app. They upload
I have a .ini file as follows: [playlist] numberofentries=2 File1=http://87.230.82.17:80 Title1=(#1 - 365/1400) Example
That's pretty much it. I'm using Nokogiri to scrape a web page what has

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.