Advertise Books Events Forum News Social Networking Support Us

sdkIQ for iPhone
($4.99)

Shape Up
($0.99)

Your First iPhone App
($1.99)

iVidCam Free
(free)

Kid Art
($0.99)

iPUBQUIZ
(£1.19)

ArtStudio
($3.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Tools & Utilities

Reply
 
LinkBack Thread Tools Display Modes
Old 06-18-2009, 08:49 AM   #1 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 8
Question SDK 3.0 / Xcode 3.1.3 Build and Go for jailbroken device

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).

I can't get that running with Xcode 3.1.3 from the SDK 3.0, probably due to the fact that apple changed the provisioning management.
(see SDK 3.0 readme: "Organizer: the iPhone Development grouping now collects crash logs, install
bundles, and provisioning profiles in a single location")

It doesn't matter if I'm using 2.2.1 or 3.0 as active SDK.

Did anyone by chance solve this problem already?
ingrid is offline   Reply With Quote
Old 06-22-2009, 05:30 AM   #2 (permalink)
Alx
New Member
 
Join Date: Jan 2009
Posts: 11
Default

Quote:
Originally Posted by ingrid View Post
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).

I can't get that running with Xcode 3.1.3 from the SDK 3.0, probably due to the fact that apple changed the provisioning management.
(see SDK 3.0 readme: "Organizer: the iPhone Development grouping now collects crash logs, install
bundles, and provisioning profiles in a single location")

It doesn't matter if I'm using 2.2.1 or 3.0 as active SDK.

Did anyone by chance solve this problem already?
Same problem here.
Any help would be greatly appreciated.
Alx is offline   Reply With Quote
Old 06-22-2009, 07:18 AM   #3 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Beijing
Posts: 23
Send a message via MSN to gaoning87
Default

OK,Follow me


1. Uninstall the 2.x sdk,like this:
sudo /Developer/Library/uninstall-devtools --mode=all2
2. Install the latest sdk 3.0
3. Rename the Directory:”/Developer/Platforms”, such as “Platforms_new”,for Undelete this when uninstall sdk 3.0 later.
4. Uninstall sdk 3.0,like this:
sudo /Developer/Library/uninstall-devtools --mode=all
5. Install 2.x sdk with all templates
6. Copy the three Directories:bin,lib,libexec(Platforms_new/iPhoneOS.platform/Developer/usr) to the 2.x sdk’s same Directories,the system will alert you to override or not,choose yes
7. Copy Platforms_new/ iPhoneOS.platform/Developer/iPhoneOS3.0sdk to the 2.x sdk’s same Directories
8. Start XCode,Create a new View Based Application from template
9. When done,you can see Device-3.0|Debug in the list at upper-left,choose it,Build and Go
10. If you want some form the sdk 3.0 like API documentation,just copy the same location into the sdk 2.x
11. Enjoy




Created by gaoning87@163.com



if you have trouble in understanding
Email me
gaoning87 is offline   Reply With Quote
Old 06-24-2009, 06:18 AM   #4 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 8
Default

FYI, here's the (IMHO better) guide: http://iphonesdkdev.blogspot.com/200...app-to-30.html

This way you can develop using Xcode 3.1.3 and not 3.1.2 as in the post above.

Last edited by ingrid; 06-24-2009 at 06:22 AM.
ingrid is offline   Reply With Quote
Old 06-24-2009, 07:52 AM   #5 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Beijing
Posts: 23
Send a message via MSN to gaoning87
Default

I've not read that article before
Translate for you from a Chinese forum's article

There is one point I can't understand,that says use the xcode(3.1.2),does that means use the iphone sdk 2.2.1?or use the xcode 3.1.2?
Which one?
I have deleted all the two files.god,give me another way!

Last edited by gaoning87; 06-24-2009 at 08:24 AM.
gaoning87 is offline   Reply With Quote
Old 06-24-2009, 01:24 PM   #6 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 8
Default

Quote:
Originally Posted by gaoning87 View Post
I've not read that article before
Translate for you from a Chinese forum's article

There is one point I can't understand,that says use the xcode(3.1.2),does that means use the iphone sdk 2.2.1?or use the xcode 3.1.2?
Which one?
I have deleted all the two files.god,give me another way!
Not sure what you're asking, but I can confirm that the way described in "iPhone Software Development: Use XCode 3.1.2 to build SDK 3.0 app to 3.0 Device without provisioning profile" works perfectly for me.
I am developing and simulating using Xcode 3.1.3. When I have to proof check my code on the device, I simply open the same project using Xcode 3.1.2 (which has been prepared to be able to use SDK 3.0 following the guide I linked) and build my code for my device using SDK 3.0.
I just hit "Build & Go" and let it skip the provisioning profile, just like I was used to it with SDK <=2.2.1.

This has one advantage over the guide you are describing: I can take advantage of the (yeah, minor) features of Xcode 3.1.3 when developing and simulating, while still having the possibility to build for 3.0 without having a provisioning profile. The backdraw is that I need 2 Xcode installations on my HDD, though. But that's ok for me, space is not expensive anymore these days.

In case you're still wondering: I'm ALWAYS using SDK 3.0, never SDK 2.2.1. No matter if I am coding/simulating in Xcode 3.1.3 or am building for device using Xcode 3.1.2. The linked guide just prepares 3.1.2 to use the SDK 3.0 using some symlinks. There's no hard and/or spooky work to be done. No voodoo involved.

(Of course you still can code in 3.1.2 using SDK 3.0, but I prefer to use 3.1.3 for coding/simulating. Might be personal preference, you have the choice.)
ingrid is offline   Reply With Quote
Old 06-24-2009, 10:55 PM   #7 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Beijing
Posts: 23
Send a message via MSN to gaoning87
Default

Quote:
Originally Posted by ingrid View Post
Not sure what you're asking, but I can confirm that the way described in "iPhone Software Development: Use XCode 3.1.2 to build SDK 3.0 app to 3.0 Device without provisioning profile" works perfectly for me.
I am developing and simulating using Xcode 3.1.3. When I have to proof check my code on the device, I simply open the same project using Xcode 3.1.2 (which has been prepared to be able to use SDK 3.0 following the guide I linked) and build my code for my device using SDK 3.0.
I just hit "Build & Go" and let it skip the provisioning profile, just like I was used to it with SDK <=2.2.1.

This has one advantage over the guide you are describing: I can take advantage of the (yeah, minor) features of Xcode 3.1.3 when developing and simulating, while still having the possibility to build for 3.0 without having a provisioning profile. The backdraw is that I need 2 Xcode installations on my HDD, though. But that's ok for me, space is not expensive anymore these days.

In case you're still wondering: I'm ALWAYS using SDK 3.0, never SDK 2.2.1. No matter if I am coding/simulating in Xcode 3.1.3 or am building for device using Xcode 3.1.2. The linked guide just prepares 3.1.2 to use the SDK 3.0 using some symlinks. There's no hard and/or spooky work to be done. No voodoo involved.

(Of course you still can code in 3.1.2 using SDK 3.0, but I prefer to use 3.1.3 for coding/simulating. Might be personal preference, you have the choice.)
Thanks,I get your means.At present I have no sdk 2.2.1 but the sdk 3.0,
in your ways use xcode 3.1.2 to build project,it's great.
One more thing,uhh,I also deleted xcode 3.1.2,I will find it from somewhere.
Do you have some IM such as MSN or GTalk?Keep in touch for iphone development.
gaoning87 is offline   Reply With Quote
Old 06-25-2009, 01:56 AM   #8 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 8
Default

Here's another solution, but I can't get it to work (Xcode crashes for me): DarkFader: Xcode 3.1.3

Anyway, here's the Apple URL for the 2.2.1 SDK, in case you still need it: http://adcdownload.apple.com/iphone/...2621afinal.dmg (Not sure, but you might have to be logged into ADC/iPhone first to download the file.)

Last edited by ingrid; 06-25-2009 at 01:59 AM.
ingrid is offline   Reply With Quote
Old 06-25-2009, 03:58 AM   #9 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Beijing
Posts: 23
Send a message via MSN to gaoning87
Default

Quote:
Originally Posted by ingrid View Post
Here's another solution, but I can't get it to work (Xcode crashes for me): DarkFader: Xcode 3.1.3

Anyway, here's the Apple URL for the 2.2.1 SDK, in case you still need it: http://adcdownload.apple.com/iphone/...2621afinal.dmg (Not sure, but you might have to be logged into ADC/iPhone first to download the file.)
Apple Developer Center dosen't supply the older sdk and xcode for downloading.I try to find,but no result.
Any more,how do you find these blog about jailbroken device debug ways,I use google(sometimes baidu.com in China),only find some old ways for sdk 2.2.1.

If you use hotmail,my account is gaoning87@hotmail.com,I'm in beijing,the timezone maybe a problem for IM

Last edited by gaoning87; 06-25-2009 at 04:04 AM.
gaoning87 is offline   Reply With Quote
Old 06-25-2009, 04:21 AM   #10 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 8
Default

Quote:
Originally Posted by gaoning87 View Post
Apple Developer Center dosen't supply the older sdk and xcode for downloading.
It does. Just click here: http://adcdownload.apple.com/iphone/...2621afinal.dmg
ingrid is offline   Reply With Quote
Old 06-25-2009, 04:27 AM   #11 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Beijing
Posts: 23
Send a message via MSN to gaoning87
Default

Quote:
Originally Posted by ingrid View Post
Not good,the page shows:
Your session has expired.
Please return to the ADC Member Site and attempt to download the file again.
f you feel you received this message in error, please reference this code when contacting the ADC Support Team: V2
//--------------------------
Yeah,I find it,follow your link,go to the "Downloads"->"Developer Tools".
Thanks.

Last edited by gaoning87; 06-25-2009 at 04:29 AM.
gaoning87 is offline   Reply With Quote
Old 06-25-2009, 04:29 AM   #12 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 8
Default

lol! You have to log into your iPhone ADC account, like I said. Then click the link. It's easy-peasy.
ingrid is offline   Reply With Quote
Old 06-25-2009, 04:49 AM   #13 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Beijing
Posts: 23
Send a message via MSN to gaoning87
Default

Quote:
Originally Posted by ingrid View Post
lol! You have to log into your iPhone ADC account, like I said. Then click the link. It's easy-peasy.
You're right,my friend.
Can you tell me your email or IM for future discussing?
my email:gaoning87@163.com
gaoning87 is offline   Reply With Quote
Old 06-25-2009, 04:59 AM   #14 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 8
Default

Just use this link if you have to send me a message: http://www.ipodtouchfans.com/forums/...newpm&u=306106
ingrid is offline   Reply With Quote
Old 06-25-2009, 07:46 AM   #15 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Beijing
Posts: 23
Send a message via MSN to gaoning87
Default

Quote:
Originally Posted by ingrid View Post
Just use this link if you have to send me a message: iPod touch Fans forum
the way just using iphone sdk3.0 with replace file doesn't seem to be available
.I tried,the xcode crashed.
gaoning87 is offline   Reply With Quote
Old 06-25-2009, 10:58 AM   #16 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 8
Default

Thanks for confirming. So I guess I'm not too stupid to get it work. There's another comment on DarkFader's blog confirming our observations as well. On the other hand there's RustyJ on the touchfans forum who's reporting it's working for him...

Weird... I'm wondering what step we are missing...
ingrid is offline   Reply With Quote
Old 06-25-2009, 10:46 PM   #17 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Beijing
Posts: 23
Send a message via MSN to gaoning87
Default

Quote:
Originally Posted by ingrid View Post
Thanks for confirming. So I guess I'm not too stupid to get it work. There's another comment on DarkFader's blog confirming our observations as well. On the other hand there's RustyJ on the touchfans forum who's reporting it's working for him...

Weird... I'm wondering what step we are missing...
ya,so confused.My platform is PC installed ideneb.
Do you create certificate "iPhone Pwned Developer"?or "iPhone Developer"?
I tried both,and no works.
Replace the "iPhoneRemoteDevice.xcodeplugin",when launch xcode,it always alert me to relaunch,once the reset and relaunch shows up,click and relaunch again and again.It's a bad loop!
At present,using Xcode 3.1.2 maybe the best way
gaoning87 is offline   Reply With Quote
Old 06-26-2009, 10:42 AM   #18 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: vienna
Posts: 26
Default searching

the device build worked with sdk 3.1.2.
no chance in 3.1.3
unfortunatly i trashed my 3.1.2 installer and cannot find anywhere in the net.
any idea where to get it?
blacksheep is offline   Reply With Quote
Old 06-27-2009, 04:52 AM   #19 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Beijing
Posts: 23
Send a message via MSN to gaoning87
Default

Quote:
Originally Posted by blacksheep View Post
the device build worked with sdk 3.1.2.
no chance in 3.1.3
unfortunatly i trashed my 3.1.2 installer and cannot find anywhere in the net.
any idea where to get it?
you can get it from apple's website,
login the ADC member site,click Downloads,then select the Developer Tools,
scroll down,you will find it
gaoning87 is offline   Reply With Quote
Old 06-28-2009, 08:23 AM   #20 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: vienna
Posts: 26
Default thanks

but the sdk's on this page do not include the iphone platform, only the macosx. and on the iphone developer site apple offers only the 3.1.3 version.
blacksheep is offline   Reply With Quote
Old 06-28-2009, 09:15 AM   #21 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Beijing
Posts: 23
Send a message via MSN to gaoning87
Default

Quote:
Originally Posted by blacksheep View Post
but the sdk's on this page do not include the iphone platform, only the macosx. and on the iphone developer site apple offers only the 3.1.3 version.
oh,first login the ADC Member Site,then Click this
Sign in with your Apple ID - Apple Developer Connection
gaoning87 is offline   Reply With Quote
Old 06-29-2009, 07:14 AM   #22 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: vienna
Posts: 26
Default wow

thank you, thank you thank you!!!

build was successfull and the app is running on the ipod.
although there where 2 errors:
"running custom shell script (1 error)
line 3: syntax error: unexpected end of file

this came 2 times, and then it says:
running custom script.
build failed - which was not true.
blacksheep is offline   Reply With Quote
Old 06-29-2009, 01:40 PM   #23 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 5
Default

Quote:
Originally Posted by gaoning87 View Post
OK,Follow me


1. Uninstall the 2.x sdk,like this:
sudo /Developer/Library/uninstall-devtools --mode=all2
2. Install the latest sdk 3.0
3. Rename the Directory:”/Developer/Platforms”, such as “Platforms_new”,for Undelete this when uninstall sdk 3.0 later.
4. Uninstall sdk 3.0,like this:
sudo /Developer/Library/uninstall-devtools --mode=all
5. Install 2.x sdk with all templates
6. Copy the three Directories:bin,lib,libexec(Platforms_new/iPhoneOS.platform/Developer/usr) to the 2.x sdk’s same Directories,the system will alert you to override or not,choose yes
7. Copy Platforms_new/ iPhoneOS.platform/Developer/iPhoneOS3.0sdk to the 2.x sdk’s same Directories
8. Start XCode,Create a new View Based Application from template
9. When done,you can see Device-3.0|Debug in the list at upper-left,choose it,Build and Go
10. If you want some form the sdk 3.0 like API documentation,just copy the same location into the sdk 2.x
11. Enjoy




Created by gaoning87@163.com



if you have trouble in understanding
Email me
Sorry, but Organizer wrote:

The Developer Desk Image could not be mounted.
Xcode could not find an appropriate Developer Disk Image to mount on [DeviceName]. Please contact apple for the 3.0(3A341) device support package.
nerezus is offline   Reply With Quote
Old 06-30-2009, 12:43 AM   #24 (permalink)
Registered Member
 
Join Date: Jun 2009
Location: Beijing
Posts: 23
Send a message via MSN to gaoning87
Default

Quote:
Originally Posted by nerezus View Post
Sorry, but Organizer wrote:

The Developer Desk Image could not be mounted.
Xcode could not find an appropriate Developer Disk Image to mount on [DeviceName]. Please contact apple for the 3.0(3A341) device support package.
oh,it works in my system,others also work.
maybe you can try this way:
iPhone Software Development: Use XCode 3.1.2 to build SDK 3.0 app to 3.0 Device without provisioning profile
gaoning87 is offline   Reply With Quote
Old 06-30-2009, 07:41 AM   #25 (permalink)
New Member
 
Join Date: Jun 2009
Posts: 5
Default

Fixed: Platforms/DeviceSupport must be copied too.
nerezus is offline   Reply With Quote
Reply

Bookmarks

Tags
3.0, jailbreak, provisioning, sdk, xcode

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Enter the iPhone App Challenge!  Win $500!
» Advertisements
» Stats
Members: 24,353
Threads: 39,148
Posts: 171,625
Top Poster: smasher (2,577)
Welcome to our newest member, pyrrho
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 06:28 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0