Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jul 12, 2008, 10:09 AM   #1
firewood
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
iPhone Developer FAQ

The iPhone/iPad or iOS Programming forum will need a sticky FAQ, or else the same questions will get asked a gazillion times. Here are some items it should include:

Pointers to Apples iPhone/iOS Developer program introduction:
http://developer.apple.com/programs/ios/

Apples's iPhone/iOS Dev Center and (free after registration) SDK download page:
http://developer.apple.com/devcenter/ios/index.action

The iPhone SDK Agreement (encountered when registering) very likely includes several limitations on use of the SDK, and an NDA for beta versions, which one has to agree to when registering to download the iPhone SDK. There may be several requirements regarding any application which one is allowed to develop using the SDK. Read Section 3.3 carefully before asking if an app can be developed to do this and such.

The SDK for iOS 5.0 is only officially supported on an Intel Mac running Snow Leopard/10.6.x and later. The SDK and Xcode development tools for iOS 5.1 and later are only officially supported on a 64-bit Intel Mac running Lion/10.7.x. iOS development tools cannot run under Windows, as they are based on all the Mac OS X frameworks, libraries and XCode Developer Tools.

The difference between a registered and an enrolled developer:
Registered: register at Apple, agree to the SDK license, and use the SDK with the included iPhone simulator only.
Enrolled: Pay $99 and be allowed to provision actual iPhone, iPad, and iPod Touch devices to test your software.
Paid App Application: more legal forms to fill out after you are enrolled but before you are allowed to sell your app to others. Requires banking and tax information.

After you register, you will find that the iPhone Dev Center has tons of tutorial videos, getting-started documentation, guides, How-To's, a Reference Library and lots of Sample Code and example applications. See:

iPhone Dev Center: http://developer.apple.com/devcenter/ios/index.action

Pointers to Apples public Developer forum:
http://discussions.apple.com/forum.jspa?forumID=727
and private iPhone/iOS Developers forum (requires enrolled iOS Developer program login):
https://devforums.apple.com/community/ios
(NOTE: Apple beta software that is currently under NDA should only be discussed in designated areas in the devforums.apple.com forum. Not here.)

You can Google "site:discussions.apple.com <subject>" to see if your questions have already been answered there.

Stanford University now has an online course on iPhone/Cocoa programming:
http://www.stanford.edu/class/cs193p
iTunes U link: iPad and iPhone App Development (Fall 2011)
http://itunes.apple.com/WebObjects/M...52415&s=143441

Other (non-Apple) SDK developer support forums:
ipodtouchfans web site:
http://www.ipodtouchfans.com/forums/...splay.php?f=98

XCode, which is the IDE for the SDK, has tons of built-in documentation:
Xcode > Help > Documentation

Objective C, which is a strict superset on ANSI C, is the Apple supported language for native app development.
Pointers to Cocoa tutorials, Objective C tutorials, etc.
http://cocoadevcentral.com/

Lots of iPhone/iOS programming questions are asked and answered over on
Stack Overflow

etc.

If you have zero experience programming, I recommend that you learn to program first, or you may well find yourself way over your head starting straight out with iPhone/iOS app development. XCode, Objective C and the Cocoa Touch frameworks were not designed as educational teaching languages with an easy learning curve. After you've learned to program in some environment designed for educational purposes, picking up iOS development and Cocoa Touch will go a lot faster.

Last edited by firewood; Jul 17, 2012 at 06:46 PM. Reason: removed dead developer forum link
firewood is online now   0 Reply With Quote
Old Jul 12, 2008, 11:17 AM   #2
Doctor Q
Administrator
 
Doctor Q's Avatar
 
Join Date: Sep 2002
Location: Los Angeles
Good suggestion, firewood. We'll use your post as the starting point. You and others are invited to post other authoritative information here. This thread is NOT for discussion, just for reference information.
__________________
Oh do pay attention 007. In the wrong hands, this 12-core Mac Pro with three 4K displays, FirePro graphics, and Thunderbolt 2 could be very dangerous.
Doctor Q is offline   0 Reply With Quote
Old Jul 12, 2008, 01:53 PM   #3
firewood
Thread Starter
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
Read all the instructions!

Everybody, if you are accepted as an enrolled developer, please read all the instruction on the Developer Portal, which you can only see after you are enrolled into the ($99 or enterprise) program, and then log in to http://developer.apple.com/iphone/index.action

There are 20 web pages full of instructions on the Portal and dozens of steps required to load your app. Get just one of the steps wrong and you won't be able to load your app on your device.

Reports are that some developers were stuck for days because they missed one step.
firewood is online now   0 Reply With Quote
Old Jul 14, 2008, 11:18 AM   #4
firewood
Thread Starter
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
List of steps required to develop

There's one here on the Apple Developer Support Forum:

http://discussions.apple.com/thread....03312&tstart=0

iDeveloper writes:
1. Decide you want to program for the iPhone
2. Sign up for iPhone Dev access (Free for online)
3. Download/Install SDK Final and have a good play with the simulator/Read the guides etc
4. Register interest in the iPhone Dev Program.
5. Wait for the enrollment email - accept T's & C's and request activation code
6. Pay 60 to get a developers license
7. Wait for activation code email and follow the steps to get into iPhone Dev Manager
8. From the main page, follow the many steps to link the iPhone to their Servers. This includes getting certificates, installing them, linking iPhones to their servers with ID's and configuring xcode etc.

9. Assuming you have iPhone OS 2.0 final and have configured xcode OK - Compile to iPhone.


iDeveloper also writes:
go through the processes outlined here:

http://developer.apple.com/iphone/ma...w/index.action

which include:

1. Setting up your iPhone Development Team (if applicable)
2. Obtaining your iPhone Development Certificate
3. Creating your App ID
4. Assigning Apple devices for testing
5. Installing iPhone OS
6. Creating and downloading provisioning profiles
7. Running your development application on a provisioned device
8. Distributing your application

firewood is online now   0 Reply With Quote
Old Aug 22, 2008, 08:52 AM   #5
Luke Redpath
macrumors 6502a
 
Join Date: Nov 2007
Small tip: make sure you subscribe to documentation in XCode to ensure it's kept up-to-date!
Luke Redpath is offline   0 Reply With Quote
Old Sep 26, 2008, 04:58 AM   #6
mccannmarc
macrumors 6502
 
Join Date: Aug 2008
Location: Manchester, UK
Send a message via MSN to mccannmarc
iPhone Developer FAQ

The iPhone SDK (including Xcode, iPhone simulator etc) is ONLY available on Mac OS X Leopard running on Intel processors. This means that you can only release official apps on the App Store if you have one of these machines and the official SDK.

If you want to develop on Windows, Linux, BSD etc etc the only route you can take is to target your apps for jailbroken iPhones as the toolchain is available and works on most OS's and hardware configurations. Apple has not and is extremely unlikely to release the developer tools on any other systems.

Hope this has cleared it up for a few people as the same question gets asked way too often....
__________________
DudeWare site:- http://www.dude-ware.co.uk DudeWare forum:- http://www.forum.dude-ware.co.uk
mccannmarc is offline   0 Reply With Quote
Old Oct 20, 2008, 09:15 AM   #7
firewood
Thread Starter
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
There's another short but good iPhone Development FAQ here:

http://plaidworld.com/iphonefaq.txt
firewood is online now   0 Reply With Quote
Old Nov 12, 2008, 08:54 AM   #8
jnic
macrumors 6502a
 
Join Date: Oct 2008
Location: Cambridge
There's a rather good primer on Objective-C memory management here:

Dead link removed by moderator

Last edited by maflynn; Sep 1, 2012 at 05:22 AM.
jnic is offline   0 Reply With Quote
Old Dec 10, 2008, 05:37 PM   #9
firewood
Thread Starter
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
Provisioning problems

Provisioning problems seem to be an FAQ. A developer has to get around a hundred steps exactly correct or else they are toast. It's almost an IQ test to see if one can hunt down all the clues required from multiple places in Apple's documentation. Here's one, better than average, description of the steps required:

http://www.talentgrouplabs.com/blog/...xe8000001.aspx

.
firewood is online now   0 Reply With Quote
Old Mar 20, 2009, 07:59 AM   #10
cessna2526
macrumors newbie
 
Join Date: Mar 2009
When i pay the $100 to become a dev how long is the membership for?
cessna2526 is offline   0 Reply With Quote
Old Mar 20, 2009, 09:34 AM   #11
Jeremy1026
macrumors 68000
 
Join Date: Nov 2007
Quote:
Originally Posted by cessna2526 View Post
When i pay the $100 to become a dev how long is the membership for?
1 year from date of payment.
__________________
1026 Development
Jeremy1026 is offline   0 Reply With Quote
Old Jul 14, 2009, 03:45 AM   #12
NickK1066
macrumors regular
 
Join Date: Jul 2007
Some olde-worlde paper recommendations:

Programming Objective-C 2.0, Kochan, Developer's Library, Addison Wesley.
A base building book for all things Objective-C in terms of the language, which means 90% of Apple development. It covers the syntax, concepts etc within the Objective-C language.
Note- this does not cover the iPhone SDK or Cocoa specifically.

Beginning iPhone Development, Mark & LaMarche, Apress.
A great easy entry into iPhone development, however you'll find yourself wanting more later but to get you started it's a good book. Things such as NSTimer etc which aren't specifically iPhone but would add some food for thought later. There is, oddly, coverage of a small amount of OpenGL ES which I wouldn't say is probably more intermediate/advanced (as you'd be purchasing the OpenGL Red and Orange books to make any real progress).
Definitely a beginner book.

The iPhone Developer's Cookbook, Sadun, Developer's Library, Addison Wesley.
More of a brain dump if ideas and discussions. The structure is difficult if you're a beginner but there's some ideas for intermediates.
The example exists by building (or throwing away) the Xcode project from the chapter before which can make following the examples confusing
NickK1066 is offline   0 Reply With Quote
Old Jan 20, 2011, 06:52 PM   #13
dejo
Moderator
 
dejo's Avatar
 
Join Date: Sep 2004
Location: The Centennial State
A very useful blog article from Mike Ash: Getting Answers

Anyone coming to a programming forum seeking help should read it.
dejo is offline   0 Reply With Quote
Old Mar 26, 2011, 10:26 AM   #14
firewood
Thread Starter
macrumors 603
 
Join Date: Jul 2003
Location: Silicon Valley
For a gigantic set of answers (over 60,000) to various iPhone/iPad/iOS related programming questions, try searching the tags first, then possibly asking, on:
stackoverflow.com
firewood is online now   1 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > iPhone/iPad Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Apple Developer Website Hacked: Developer Names, Addresses May Have Been Taken MacRumors MacRumors.com News Discussion 202 Jul 26, 2013 04:49 PM
Iphone won't leave device is not registered as part of the Iphone Developer screen? kriskrangle49 iOS 6 1 Sep 21, 2012 07:32 AM
Best Buy iPhone 5 FAQ BFW122083 iPhone 0 Sep 15, 2012 09:59 AM
Updated iPhone FAQ willmtaylor Site and Forum Feedback 1 Sep 11, 2012 04:05 PM

Forum Jump

All times are GMT -5. The time now is 06:32 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC