Mar
Apple Fan
Profile
Posts: 25
Reg: Nov 13, 2012
Castellón
3,950
11/19/12 05:52 AM (13 years ago)

Programming an app for iphone 4 and 5??

Hello, I'm trying to develop an app with Edge Animate and Buzztouch (still trying). I'm not sure if I'll be able to do it, and I have two main doubts: 1- How can I program my app for both iPhone 4 and 5 (even iPhone3)?. I've downloaded from Xcode the iOS 5.1 and iOS 4.3 simulator (iOS 6.0 default). When I create my project from Buzztouch, it only works on iOS 6 and iOS 5.1, but it doesn't work on iOS 4.3. 2- What is debugging? Do you need to learn coding to do it? There is some Xcode option for this? Thanks!
 
munny1
Veteran developer
Profile
Posts: 176
Reg: Jun 20, 2012
Earth
8,010
like
11/19/12 05:55 AM (13 years ago)
1) buzztouch automatically optimizes your app for iPhone 5. If you want your app to work on early iOS version, go into Xcode, and set your deployment target (iOS). 2) Xcode alerts you where the issue is in your app.
 
Mar
Apple Fan
Profile
Posts: 25
Reg: Nov 13, 2012
Castellón
3,950
like
11/19/12 06:54 AM (13 years ago)
What is deployment target? TK
 
munny1
Veteran developer
Profile
Posts: 176
Reg: Jun 20, 2012
Earth
8,010
like
11/19/12 07:11 AM (13 years ago)
Go into xcode, look all the way to the left where the grey sidebar is. Move your eyes to the write just a little so you see the white sidebar. You should see (in the white bar) PROJECT and TARGETS. Click on the one button right under TARGETS. Move your eyes to the middle of the screen. See those blue, thin bars? Look at the first one on the top. Right underneath that first blue bar, you should see Bundle Identifier. Look down a few more (still under that first bar), until you see deployment target. Deployment target is the setting for your app: you pick the iOS. So if you pick 3.0, people who have iOS 3.0 or above can download your app. If you pick 4.3, people will then be able to download your app.
 
Mar
Apple Fan
Profile
Posts: 25
Reg: Nov 13, 2012
Castellón
3,950
like
11/19/12 07:16 AM (13 years ago)
What is deployment target? TK
 
munny1
Veteran developer
Profile
Posts: 176
Reg: Jun 20, 2012
Earth
8,010
like
11/19/12 07:18 AM (13 years ago)
See above
 
Mar
Apple Fan
Profile
Posts: 25
Reg: Nov 13, 2012
Castellón
3,950
like
11/19/12 07:30 AM (13 years ago)
Sorry, I pressed the enter button accidentally and the post duplicated. I've read your detailed post. it's very appreciated. However, I don't find the "deployment target" there. Please, take a look to this screen capture: http://www.marballesteros.com/uploads/Deployment.tiff
 
coderx
Veteran developer
Profile
Posts: 433
Reg: Oct 29, 2011
Ontario, Canada
8,680
like
11/19/12 07:48 AM (13 years ago)
Click on Summary and you will see deployment target.
 
Mar
Apple Fan
Profile
Posts: 25
Reg: Nov 13, 2012
Castellón
3,950
like
11/19/12 08:00 AM (13 years ago)
Right! It is configured as 3.0. Does it mean that theoretically, my app could run in iPhone 2, 3, 4 and 5? For the moment, my app doesn't run in the simulator with iOS 4.3 version...
 
munny1
Veteran developer
Profile
Posts: 176
Reg: Jun 20, 2012
Earth
8,010
like
11/19/12 09:46 AM (13 years ago)
iPhone 2 doesn't exist. It goes 1, 3g, 3gs, 4, 4s, 5. Your app should run in the simulator with 4.3. If it configured as 4.3, you support iOS 4.3 and up. If it is configured as 3.0, you support iOS 3.0 and up. You cannot support anything lower than iOS 3.0. I am not sure, but in a matter of time you will not be able to support 3.0 either.
 
Mar
Apple Fan
Profile
Posts: 25
Reg: Nov 13, 2012
Castellón
3,950
like
11/19/12 09:54 AM (13 years ago)
Thanks, I'll see what the problem is...
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
11/19/12 12:29 PM (13 years ago)
@munny1 makes an important point here...the deployment target is for iOS level, and not hardware levels. So, if you have a particular hardware device you want to support (say first gen iTouch or something), then you need to make sure you understand what the older iOS version is that it support. All my apps are targeted to iOS 3, and I believe that hits a huge swath of what's running out there. Mark
 
Mar
Apple Fan
Profile
Posts: 25
Reg: Nov 13, 2012
Castellón
3,950
like
11/19/12 01:44 PM (13 years ago)
Thanks Mark, that's a good point, indeed. Mar
 
munny1
Veteran developer
Profile
Posts: 176
Reg: Jun 20, 2012
Earth
8,010
like
11/19/12 07:27 PM (13 years ago)
Same as Mark, I support 3.0 instead of 4.3. Almost everyone I know is on such a low iOS that they would never be able to get apps if they were not set to 3.0.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.