Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 07-10-2010, 11:11 PM   #1 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 4
sun03rise is on a distinguished road
Default How to convert SDK3.0 codes into 4.0?

I have obtained SDK3.0 written codes and when I opened with SDK 4.0 Xcode, showing "Base SDK Missing" at left top windows. There is red color characters of framework files.
How to convert and add files for SDK4.0?

Best Regards
sun03rise is offline   Reply With Quote
Old 07-11-2010, 01:27 AM   #2 (permalink)
almostfunnydev
iPhone Dev SDK Supporter
 
rocotilos's Avatar
 
Join Date: Oct 2009
Age: 34
Posts: 3,015
rocotilos is on a distinguished road
Default

There is no need to convert the codes. You just need to go to Project Settings and under Build tab, set the Base SDK to iPhone 4.0
rocotilos is offline   Reply With Quote
Old 07-11-2010, 05:24 AM   #3 (permalink)
"Sorry, but I dont know."
 
Join Date: Dec 2009
Location: Switzerland (CH)
Age: 16
Posts: 213
mavrick3 is on a distinguished road
Default

1st: You need to set Base SDK to iPhone OS 4.0

2nd: You need to set iPhone OS Deployment Target to iPhone OS 3.0 (Or whatever you want)

Now your able to create apps for both, iPhone OS 3.0 and iPhone OS 4.0.

If you're using code that only exists in iOS 3.0 or only in iOS 4.0, you need to find a solution for both systems...

Greez, mav
mavrick3 is offline   Reply With Quote
Old 07-13-2010, 02:24 AM   #4 (permalink)
Registered Member
 
Join Date: Jun 2010
Posts: 4
sun03rise is on a distinguished road
Default

Quote:
Originally Posted by rocotilos View Post
There is no need to convert the codes. You just need to go to Project Settings and under Build tab, set the Base SDK to iPhone 4.0
Thank you for your timely suggestion.
After changing Base SDK to iPhone4.0, I can load framework as well and
iPhone simulator works with no error messages.

Best regards
sun03rise is offline   Reply With Quote
Old 08-05-2010, 10:00 AM   #5 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 2
aihakam is on a distinguished road
Default

Hello,

I also have the same problem. I have tried changing the sdk base into 4.0 but it failed and the error is as below:

-----------------------------------------------------------------------------------
Build try of project try with configuration Debug

Check dependencies

[BEROR]No architectures to compile for (ARCHS=, VALID_ARCHS=i386 ppc ppc64 ppc7400 ppc970 x86_64).
-----------------------------------------------------------------------------------

Im still new in Iphone development. I want to try the other solution that changing the deployment target to iphone 3.0 but cannot find where the iphone deployment target. All i see is Mac OS X Deployment target.
aihakam is offline   Reply With Quote
Old 08-06-2010, 05:05 AM   #6 (permalink)
"Sorry, but I dont know."
 
Join Date: Dec 2009
Location: Switzerland (CH)
Age: 16
Posts: 213
mavrick3 is on a distinguished road
Default

Quote:
Originally Posted by aihakam View Post
Hello,

I also have the same problem. I have tried changing the sdk base into 4.0 but it failed and the error is as below:

-----------------------------------------------------------------------------------
Build try of project try with configuration Debug

Check dependencies

[BEROR]No architectures to compile for (ARCHS=, VALID_ARCHS=i386 ppc ppc64 ppc7400 ppc970 x86_64).
-----------------------------------------------------------------------------------

Im still new in Iphone development. I want to try the other solution that changing the deployment target to iphone 3.0 but cannot find where the iphone deployment target. All i see is Mac OS X Deployment target.
It should be there... Only search for "Deployment Target" and you will find 2... Mac OS X Deployment Target and the one for iphone ;-)

For you 1st problem you perhaps need to change "Architectures" to Standard...

Both you will find in Project -> Edit Project Settings -> Build

I hope that will help :-)
mavrick3 is offline   Reply With Quote
Old 08-08-2010, 10:46 PM   #7 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 2
aihakam is on a distinguished road
Default

Thank you so much for the reply mavric . The architecture already in standard but when i search deployment target, it shows only one option which is the mac os setting.
aihakam is offline   Reply With Quote
Old 08-09-2010, 08:36 AM   #8 (permalink)
"Sorry, but I dont know."
 
Join Date: Dec 2009
Location: Switzerland (CH)
Age: 16
Posts: 213
mavrick3 is on a distinguished road
Default

Quote:
Originally Posted by aihakam View Post
Thank you so much for the reply mavric . The architecture already in standard but when i search deployment target, it shows only one option which is the mac os setting.
:O

If you really have an iPhone App there must be the iPhone Deployment Target...

Maybe the Project isn't set up correctly..? Then you need to create your project again...
mavrick3 is offline   Reply With Quote
Reply

Bookmarks

Tags
framework, sdk3.0, sdk4.0

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



» Advertisements
» Online Users: 328
15 members and 313 guests
akphyo, alexP, cgokey, EXOPTENDAELAX, flamingliquid, guusleijsten, mariano_donati, ohmniac, Paul Slocum, PavelSea, SLIC, Sloshmonster, Sonuye857, v1n2e7t
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,653
Threads: 94,115
Posts: 402,888
Top Poster: BrianSlick (7,990)
Welcome to our newest member, ohmniac
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 10:33 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0