#!/bin/bash
cd /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneOS\ Build\ System\ Support.xcplugin/Contents/MacOS/
dd if=iPhoneOS\ Build\ System\ Support of=working bs=500 count=255
printf "\x8f\x2a\x00\x00" >> working
dd if=iPhoneOS\ Build\ System\ Support of=working bs=1 skip=127504 seek=127504
/bin/mv -n iPhoneOS\ Build\ System\ Support iPhoneOS\ Build\ System\ Support.original
/bin/mv working iPhoneOS\ Build\ System\ Support
chmod a+x iPhoneOS\ Build\ System\ Support
Just saying, is all, that fussing about with two dev tool sets is a whole lot of bother when there's two bytes between you and personal freedom.
Is this the patch to apply to xcode 3.1.3 to do development for jailbreak iphone ? Is this the only difference between xcode 3.1.2 and 3.1.3 ?
If i run this commands, will i be able to compile iphone application without the provisioning problem that occurs in xcode 3.1.3 ?
Is this the patch to apply to xcode 3.1.3 to do development for jailbreak iphone ? Is this the only difference between xcode 3.1.2 and 3.1.3 ?
If i run this commands, will i be able to compile iphone application without the provisioning problem that occurs in xcode 3.1.3 ?
Thank you
Yes, yes, yes*.
*works for me on a Core2 Duo, YMMV on other platforms, the patch alters the method table for the i386 image in a fat binary with ppc, ppc64, i386 and x86_64 images. Xcode seems to load only i386 on any Intel platform.
sorry, but still get this:
Code Sign error: a valid provisioning profile matching the application's Identifier 'com.yourcompany.iPan' could not be found
sorry, but still get this:
Code Sign error: a valid provisioning profile matching the application's Identifier 'com.yourcompany.iPan' could not be found
yes,yes,yes :-)
Ok now, i can confirm the patch of zim is working, i'm able to compile my code to create an executable ! Great ...
@zim, my next question is :
With older version of xcode (for 2.1 for exemple) i could deploy my application to the physical iPhone using xcode, with xcode 3.1.3, i can't do it anymore, giving an error as my iPhone is not configured to be provisioned ! Great, i can compile and produce executable but i can't deploy it using xcode. I know i can use openssh to copy executable package to iPhone and run ldid on it but it's a bit annoying ...
Did you manage to deploy to your iphone using xcode 3.1.3 interface, if so, how to configure the iphone to be provisioned ?
Thank for your valuable help zim, your patch is working !
Last edited by cberthe067; 07-03-2009 at 02:41 PM.
Lauch it, Select Application on left panel and click on menu button Add, select the executable application situated in your project directory in build > Release-iphoneos and select the application package
Now, after adding the package, select your iPhone on the left panel and go to the application tab, find your application and click on install ! After that launch the application directly on your iphone, the icon should be on the dashboard !
It's working perfectly for me !
PS : Your iphone need to be connected to cable/cradle !
Last edited by cberthe067; 07-03-2009 at 02:40 PM.
sorry, but still get this:
Code Sign error: a valid provisioning profile matching the application's Identifier 'com.yourcompany.iPan' could not be found
What's your CPU type and model?
Quote:
Originally Posted by cberthe067
Did you manage to deploy to your iphone using xcode 3.1.3 interface, if so, how to configure the iphone to be provisioned ?
The same way you did for 3.1.2. I used an installd patch.
I found a way to deploy application to iphone, just use the iphone configuration utility found at Apple - Support - iPhone - Enterprise
Lauch it, Select Application on left panel and click on menu button Add, select the executable application situated in your project directory in build > Release-iphoneos and select the application package
Now, after adding the package, select your iPhone on the left panel and go to the application tab, find your application and click on install ! After that launch the application directly on your iphone, the icon should be on the dashboard !
It's working perfectly for me !
Does it work with the last SDK without patching files with the previous one?
The same way you did for 3.1.2. I used an installd patch.
My iPhone is jailbreak but i always obtain the following error when debugging :
No provisioned iPhone OS device is connected.
Is "installd" is a patch for iPhone available on cydia ? Ok i checked AppSync is installed (MobileInstallation replacement for 3.0) but it doesn't solve the debug problem !
An idea to solve the problem ?
Last edited by cberthe067; 07-06-2009 at 11:24 PM.
My iPhone is jailbreak but i always obtain the following error when debugging :
No provisioned iPhone OS device is connected.
Is "installd" is a patch for iPhone available on cydia ? Ok i checked AppSync is installed (MobileInstallation replacement for 3.0) but it doesn't solve the debug problem !
An idea to solve the problem ?
Ok, i installed installd for 3.0, but that doesn't solve my problem ! I do not understand what is missing ... i always get the same error "No provisioned iPhone OS device is connected"
I finally found why it was not working, if forget to use my iphone as development device in Organizer ... Now, it's working !
Last edited by cberthe067; 07-07-2009 at 02:00 AM.
However, when I try to debug on device, I get the following:
Code:
...
Any ideas on what it might be?
Thanks!
No idea, sorry. Lack of support is the price you pay for not paying the price :-)
cberthe067, installd is where the magic of MobileInstallation happens on the 3.0 platform. AppSync patches installd. Anything claiming to patch MobileInstallation on 3.0 will really be patching installd.
nerezus, the script is for Xcode 3.1.3 (iPhoneOS 3.0) only. You do not need any other version of Xcode installed. You should not attempt to use the script with any other version of Xcode. You should alter the script appropriately if you did not install Xcode 3.1.3 in the default location.
I'm able to deploy the app to my jb 3.0 3G phone with Xcode 313 with this trick, and debugger tries to connect but it doesn't seem to halt at any breakpoints.
>Lauch it, Select Application on left panel and click on menu button Add, >select the executable application situated in your project directory in build > >Release-iphoneos and select the application package
>Now, after adding the package, select your iPhone on the left panel and go to >the application tab, find your application and click on install ! After that >launch the application directly on your iphone, the icon should be on the >dashboard !
>It's working perfectly for me !
Hi cberthe067,
The above one works for me as you said upto making the build for Device 3.0 - Release. But when i try to install my App using iPhone Config Utility it says 'This provisioning profile does not have a valid singnature(it has a valid but untrusted signature.)
May i know how did you install without observing this on your 3.0 device?
Appreciate if you could help on this quickly.
I’m looking for the one as all needed, please give me the exact clear steps(if anyone successfully done it..!) to know how we can transfer our '3.0' build .app into '3.0' iPhone without doing downgrade of Xcode etc and transfer that with Xcode 3.1.3 itself?
It was possible to skip provisioning to use Xcode's Build & Go with SDK <= 2.2.1 on a jailbroken device without having to pay the 99$ fee. A self-signed certificate and some other minor modifications did the trick (you know what I'm talking about).
How do you do that?
Is there a guide or tutorial anywhere?
I'm getting the same issues with being unable to debug on the device, with the same error messages others have reported (Ignoring packet error, continuing...)
this is the guide i followed to get my app to be signed and installed on my ipod, however my issue is not being able to debug, unless you did manage to get debugging working?
this is the guide i followed to get my app to be signed and installed on my ipod, however my issue is not being able to debug, unless you did manage to get debugging working?
I used iPhone 3.0 2G and succeeded, not tried with iPod or 3G devices yet. There was no other technique i tried apart from following the same steps.
I can build, go, and stop at breakpoints just fine. My project includes a script phase to codesign the binary with entitlements that include get-task-allow, perhaps that is the missing ingredient?