title: how to use ldid to install invalidly signed app
body: <p>I'm running Windows testing some iOS code from GitHub that other developers have been writing. Up until a few days ago I was using MacBuildServer to build the code and install the app. MacBuildServer had their enterprise cert revoked so now I can only build apps with invalid cert. I'm looking for a way to get this app to run on my jailbroken iPhone only.</p>
  
  <p>How can I use <code>ldid</code> or similar to install and run an application signed with the invalid MacBuildServer enterprise license? Or how can I just build code and run it from my iPhone without using MacBuildServer?</p>
  
  <p>I tried copying the .ipa over to my iPhone and running <code>ldid -S myApp.ipa</code> but that resulted in <code>_assert(0:Swap(mach_header_-&gt;magic) == MH_MAGIC)</code>. It appears <code>ldid</code> needs a .app but I don't know how to generate that.</p>
  
  <p>When answering keep in mind I don't have a Mac available and getting a hold of Linux will take a decent amount of time so a Windows solution is preferred.</p>