Do I need an iphone SDK?

I have downloaded and installed the latest version of XCODE but I keep running into references to iphone SDK (software development kit) and I'm not sure what it is. I want to make iphone apps so is iphone SDK some kind of software I need in addition to XCODE?  It would be great if someone could tell me everything I need to make iphone apps.

See these links...
•iPhone Developer Beginner Resource Guide
• iOS Starting Point
• Xcode 4 User Guide ; Xcode Basics Help
• iOS Human Interface Guidelines
You may want to have an active/paid Developer Account in effect asap.

Similar Messages

  • IPhone SDK custom installation, what do I need?

    FYI, I will be developing iPhone Apps only and don't want to install unnecessary things.
    Options are:
    Developer Tools Essentials (Required.)
    iPhone SDK (Obviously need.)
    System Tools (Do I need? It's checked by default.)
    UNIX Development Support (Do I need? It's checked by default.)
    Mac OS X 10.3.9 Support (Know I don't need, not developing anything for OS X, particularly not an old version.)
    WebObjects (Do I need? It's NOT checked by default.)
    Thanks.

    Hi--
    Welcome to the Apple Discussions.
    System Tools (Do I need? It's checked by default.)
    I would suggest "yes." That's the installer for the performance tools. Shark, especially, can be invaluable for profiling your code.
    UNIX Development Support (Do I need? It's checked by default.)
    I'd suggest "yes." It's command line tools you might want at some point (to help in automating builds, etc.). Some aspects of scripting with OS X can also be made easier if you have the UNIX dev support installed.
    WebObjects (Do I need? It's NOT checked by default.)
    Definitely not, that's a web application framework you'd use if you were building a web site.
    charlie

  • Learning iPhone SDK - Trying to draw an image

    Although I have programmed for Mac in the last years, I have never used Mac-specific technologies as Cocoa (I have programmed more in OpenGL, SDL, and the like).
    Now I am getting started with the iPhone SDK. I'd like to do some OpenGL|ES stuff, but since it is not supported in the Simulator, and you need to join the Developer Program to test stuff on directly on the device (and admission of new members is closed right now), I am focused on other stuff right now, like using Core Graphics for drawing images on the iPhone.
    My application is based on the Cocoa Touch Application template. I left the default code except for a few changes.
    In file "UntitledAppDelegate.m", I have changed the method applicationDidFinishLaunching to:
    - (void)applicationDidFinishLaunching:(UIApplication *)application {
    window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];
    contentView = [[[MyView alloc] initWithFrame:[[UIScreen mainScreen] applicationFrame]] autorelease];
    [window addSubview:contentView];
    [window makeKeyAndVisible];
    Then, in the MyView interface file (MyView.h), I have added the attribute "UIImageView* image;" to the class, which is declared as a property, and synthesized.
    In the class implementation (MyView.m), I have changed the method initWithFrame to:
    - (id)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
    self.backgroundColor = [UIColor darkGrayColor];
    image = [self loadImageView:@"box01.png"];
    [self addSubview:image];
    return self;
    loadImageView is a private method I have implemented as:
    - (UIImageView *)loadImageView:(NSString *) imageName {
    UIImage *img = [UIImage imageNamed:imageName];
    UIImageView *theView = [[UIImageView alloc] initWithImage:img];
    return theView;
    Since I have loaded the UIImage, and initialized a UIImageView with it, and the image view is added as a subview of the main view attached to the window, I thought it should be everything needed to draw an image on the screen. But nothing is visible. The screen is simply black when I run this on the Simulator. It doesn't even set the background to dark gray.
    So I need some help with this, I sure that anyone with experience in Mac programming will know how to help me.
    Thank you in advance.
    Message was edited by: Jedive

    I removed the XIB file from the project, but that didn't help. It was a problem with my inexperience with Objective-C. When accessing class properties in a method of the same class, i was not putting "self." before the property (in C++ that's redundant). For example, in the line "window = [[[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]] autorelease];". After adding it, it works correctly.

  • IPhone SDK 2.2 memory corruption

    Hello. I'm working on an application for iPhone SDK 2.2 and seem to be having weird memory corruption problems. Not necessarily leaks because using Instruments shows my memory stamp never going above about 1.8 megs. The nature of the app is a database of animals so I'm constantly loading and unloading sounds and images. None of the objects are very large (at most I'll have 4 800k pngs loaded at once) and I've checked and rechecked my alloc/retain/release and everything is in order (hence no memory usage increase). However...after using the application for a while I'll notice strange behavior. For example:
    1) we have a UILabel as the title for each page. After a while the font size of this will change.
    2) I have several screens with a subclassed UIScrollView where images are loaded and then added to. The problem shows itself here by the images not showing up. there's no crash, stepping through the debugger shows that the image loads up fine, it's just that the image is not there.
    3) I have a UILabel at the top of an animal description screen, which in the nib file is called "Animal Name" by default. This will change to show "Animal Name" at the top.
    I've removed all audio in our latest build so that isn't the problem. What I'm starting to suspect is that altering anything defined in a nib file will cause corruption. For example, the UIScrollView is defined in the nib file, and I constantly am reassigning the contents of that with a UIImageView. This UIImageView is handled within the subview class like :
    UIImageView *imgView = [[UIImageView alloc] initWithImage: [ UIImage imageWithContentsOfFile:[[NSBundle mainBundle ] pathForResource:imageToLoad ofType:@"png" ]] ];
    imgView.tag = 50;
    [self addSubview:imgView ];
    [ imgView release ];
    Then later when moving away from the screen I'll find that view's tag and remove it from the superview (since addSubView increases the retain count, the alloc+addSubView is cancelled by release+removeFromSuperView)
    I can't explain why titles that are never changed would be affected, but it must somehow be related. What I'm wondering is: are there any known issues involving modification of the contents of objects defined in Nib files? Perhaps the memory allocated when initWithNibName is restrained, then any modification of objects allocated within it can cause corruption. I'm starting to think I should just alloc and free anything modified in code and skip using nib files altogether (I reset the text on buttons for example). If this is a known issue please let me know. I'll give you more information if I can.
    Thank you

    Just download the huge SDK package and install. No need to uninstall the old SDK.

  • IPhone SDK : Communication between iPhone client and a remote server

    Hi,
    This is w.r.t iPhone Cocoa Touch native application.
    i need to populate my application 's data from a remote application server ( which in turn connects to the database) . I require some tips in the communication between client sitting on the iPhone and the remote application server. I am planning to proceed in XML transaction way.
    I referred the SeismicXML sample application provided by Apple. In this sample,client reads the physically existing xml file from @"http://earthquake.usgs.gov/eqcenter/catalogs/eqs7day-M2.5.xml"; and the client parses the xml file and display the content on the table view.
    i have following 2 queries ,
    1. I do not want to read from a physically present file,i want the data to be transferred on the go.
    Means, request should be sent from the client to a application server and the server process returns the data in form of xml file ( but its not creating any physical xml file) .
    Basically i am looking for request - response concept.
    2. Can we call a java process(which returns xml data) running on a remote server from the cocoa touch client.? If not java process,what would be other best way...
    i am going through the Apple provided frameworks. Do any of the iPhone SDK frameworks support this request? If some one has any idea on the above mentioned queries, pls help me.
    any pointers will also be helpful.
    It might be too early to talk about these,but i have to take some business decision related on this.
    thanks in advance.

    You already know how to send a string via HTTP Post? And you know how to make XML into a string? Put the two together.

  • How to switch between views in iPhone SDK

    I have been tasked to learn the iPhone SDK. I know Actionscript, Javascript and some Java, but I cannot understand the iPhone SDK at all. I cannot understand the syntax or how the multitude of files work together. Also, there are no tutorials for complete beginners that show step-by-step what to do and why.
    All I am trying to make is an application with a couple of views that change when the user touches a button. What is the easiest way to switch from one view to another?
    Also, what is an AppDelegate? What is "synthesize"? What is "nonatomic,retain"? Why can't I write code like this... theButton.onClick=loadView("NewView");

    Ok, you really need to read up some on how Objective-C and Cocoa work.
    That said, If you make a new project in XCode using the "Utility" template, you can immediately run it and see a view transition (flip).
    Ultimately, however, what you're looking to do is way beyond what you should be expecting to be to be able to do at this point. Programming a scripting language (Javascript, ActionScript) is much different than programming in C/C+/Objective-C/Objective-C+. While not directly applicable to the iPhone, you'll probably want to buy and read Aaron Hillegass' book "Cocoa Programming for Mac OX X 3rd Edition".
    There is a tutorial on the iPhone Dev Center (log in, main page, bottom right, under "resource types", click "Guides", and look for "iPhone Application Tutorial" on the next page) that is worth reading.
    rob.

  • How to control the movie player in iPhone SDK 2.0?

    Hello, everybody!
    With the third beta version of iPhone SDK I finally played a movie with the example from the manual. But I need to seek in the movie and control the playing process. With the MPMoviePlayerController class this is impossible, because it has four properties (backgroundColor, contentURL, scalingMode, userCanShowTransportControls) and only three instance methods (initWithContentURL, play, stop). The notifications are two (MPMoviePlayerScalingModeDidChangeNotification, MPMoviePlayerPlaybackDidFinishNotification). How can I know what is the current position of the head and how can I change it? I can't find other classes, which can play a movie. Can somebody help me?
    Stefan

    HeoU wrote:
    Hi Tsvyatkov,
    Do you HAVE [these problems|http://discussions.apple.com/thread.jspa?threadID=1486343&tstart=0] while playing video playback?
    - The keyboard doesn't appear after playing the video (It works great before playing the video)
    - When you play the video, iphone simulator turns in paysage mode. Then when you stop it, it doesn't turn back (SDK beta 3). It worked fine with the SDK beta 1, 2.
    - If you chose a video from a list (UITableView) and you stop the video, then come back to the list, the item is still selected with the blue color.
    thanks
    HeoU
    Yes! I have the same problems! And with the older versions of iPhone SDK I didn't.

  • IPhone SDK on PPC

    Hi,
    I am fully aware that the iPhone SDK is NOT supported on PowerPC based macs.
    I have read several tutorials on how to make it work (including http://3by9.com/85/), but I have found something quite annoying.
    All of the tutorials refer to a package named "Aspen Simulator", but it is NOT in my "Packages" folder of the SDK I downloaded. Also, tutorials say the install is about 5 gig, mine was four gig.
    My best guess is that the tutorials were made for the beta versions of the iPhone SDK.
    How can I develop iPhone Apps on a PPC based mac? I do NOT want to put them on the App Store, I am just eager to experiment.
    Thank you.

    Thanks! I managed to get the simulator running!
    Just need to clarify one last thing:
    To test on my iTouch, I need to pay the $99 fee right?

  • Do synthesized instance variables work in iPhone SDK?

    I tried using Obj-C properties to synthesize not only the accessor methods, but also the instance variable. I ended up with an error saying something like "...must explicitly name an ivar...".
    I was under the impression the iPhone ran the modern (64-bit) Objective-C runtime. I'm using xCode 3.x and iPhone SDK 2.2. Are synthesized instance variables not supported, or do I need to change some xCode/project configuration settings to activate this support (I'd really like to use it)?
    Does the fact that I'm linking to the Sen Test Kit Framework, or running on a relatively old Intel MacBook Pro cause this problem? If the 2.2 SDK does not support synthesized instance variables, does iPhone SDK 3.0 beta support them?
    Note that I would need the synthesized ivar support to work on the iPhone simulator too (obviously) so that I can do testing. Hopefully the iPhone simulator supports the modern Obj-C 2.0 runtime.
    Thank You,
    Eric

    orangekay wrote:
    A. I don't see that anywhere in the Objective-C 2.0 language specification, so I don't believe this has anything to do with the iPhone SDK.
    B. I don't see any point in adding such a thing to the language as it accomplishes nothing that could not be handled with a standard ivar declaration.
    This sounds like a feature you imagined.
    Yeah, right I imagined it. Get a clue, will you?
    http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/oc Properties.html#//apple_ref/doc/uid/TP30001163-CH17-SW3
    In general the behavior of properties is identical on all runtimes (see Runtime Versions and Platforms in Objective-C 2.0 Runtime Programming Guide). There is one key difference: the modern runtime supports instance variable synthesis whereas the legacy runtime does not.
    For @synthesize to work in the legacy runtime, you must either provide an instance variable with the same name and compatible type of the property or specify another existing instance variable in the @synthesize statement. With the modern runtime, if you do not provide an instance variable, the compiler adds one for you. For example, given the following class declaration and implementation:
    @interface MyClass : NSObject {
    float sameName;
    float otherName;
    @property float sameName;
    @property float differentName;
    @property float noDeclaredIvar;
    @end
    @implementation MyClass
    @synthesize sameName;
    @synthesize differentName=otherName;
    @synthesize noDeclaredIvar;
    @end
    the compiler for the legacy runtime would generate an error at @synthesize noDeclaredIvar; whereas the compiler for the modern runtime would add an instance variable to represent noDeclaredIvar.

  • Unable to download Xcode 3.2.2 with iphone SDK (Intego firewall problem?)

    Hello. I logged into Apple's development site, to download Xcode 3.2.2 w/iphone SDK. I clicked on the link and started the download, but I think my firewall is blocking it.
    Which is odd, ContentBarrier is set to DISABLED for my account. I should have full access.
    Are there specific override settings I need to add to a 'trusted sites' entry, despite already having configured my Mac full admin access?
    Thanks!

    HI,
    From the Safari Menu Bar click Safari/Preferences then select the General tab. Where you see: Open "safe" files after downloading, make sure that box is selected.
    Carolyn

  • IPhone SDK - Download manager sample

    I need a download manager in my app. I want to have it download a bunch of files in a different thread so that user can keep working. Once the downloads are done the caller gets notified. Since the app cannot run in the background, the download should be restartable.
    Does anyone know if there is already something out there?
    Thanks in advance.
    -TRS

    Another victim here. Happily started downloading iphone SDK just after purchasing my new MacBook and it always stops at 2.1 GB. And of course it is corrupted.
    For those who are thinking about OS or firewalls, here are my trials:
    1. From my MacBook at home
    2. From my HP laptop at home
    3. From my desktop at home
    4. From my HP laptop at work
    5. From my Ubuntu at home
    6. From my Ubuntu virtual machine at work.
    Do you think it is still a client problem? Or the version on the server is corrupted?

  • IPhone SDK 3.1.3??!?!?

    I have been trying to download the iPhone SDK 3.1.3 for hours, but I can't seem to find where to download it. I've read on the Apple site that it was free to download. I have found it before, tried to download it, and said I needed to log in. I was already logged in and was extremely confused. I can't use the 3.2, I've already tried, because I don't have the version computer that it needs. All I really want to do is make some iPhone/iPod Touch apps for free and get some knowledge out of it. Can someone help me??

    I had the same problem, but finally found this link for the download:
    http://developer.apple.com/iphone/download.action?path=/iphone/iphonesdk_3.1.3__final/iphone_sdk_3.1.3_with_xcode_3.1.4__leopard_9m2809a.dmg
    This blog post lists the links for quite a few older versions of the SDK:
    http://iphonesdkdev.blogspot.com/2010/04/old-versions-of-iphone-sdk.html

  • IPhone SDK with iPod Touch 2G problem

    I installed the SDK last night but when I went to plug in my iPod Touch 2G, I got the error message: 'Unable to locate a suitable developer disk image. Please re-install the SDK'
    I have reinstalled the SDK many times but still get the same error message. Any help appreciated.
    Thanks

    {quote}He's talking about the iPod Touch, not a regular iPod{quote}
    Yep, I know. Do a Google search for "Unable to locate a suitable developer disk image". Found this on the comments of [this blog post|http://www.tbradford.org/2008/03/iphone-sdk-beta-2-possible-ppc-fix.html]:
    {quote}
    If anyone else runs into the "Unable to locate a suitable developer disk image." problem, there's a package called "DeveloperDiskImage" in the iPhone SDK that needs to be installed.
    As of 2.1, these are the extra packages that you need to install manually:
    iPhoneSDKHeadersAndLibs
    iPhoneSimulatorPlatform
    iPhoneHostSideTools
    iPhoneDocumentation
    DeveloperDiskImage
    {quote}
    Another [blog post|http://khakionion.blogspot.com/2008/09/iphone-sdk-21-doesnt-include-ipod-t ouch.html#links] says:
    {quote}
    The problem is that the huuuuuge iPhone SDK 2.1 installer doesn't come with the iPod touch 2.1 firmware image. Suck. Fear not, though: All you have to do is force iTunes to do a firmware restore, which will download the appropriate image. On next launch, Xcode will find it and everything will work great.
    {quote}

  • [iPhone sdk] DOM/create XML support?

    Is there any way to create arbitrary XML on the iPhone other than the low-tech solution of using strings?
    Most environments I've worked in have support for building up a document, i.e.
    document doc = new document(root);
    addElement("myelem1").setText("sometext1");
    addElement("myelem2").setText("sometext2");
    mystring = doc.asXml();
    You get the idea. The underlying API handles all the tag generation, entity replacement, etc. Is this available in the iPhone SDK somewhere?
    Thanks in advance.

    Google has written an almost drop in replacement of NSXMLDocument. I say almost because initWithContentsOfURL is not implemented, nor is -nodesForXPath:error. There may be others that are missing, but it worked for me once I initialized it with an NSString instead of a URL. This replacement is part of the Google Data API. There are only 3 classes that need to be imported out of the whole library. You will also need to add libxml2 to the Frameworks and update your build headers.
    See http://notes.bikemonkey.org/post/47351363/googles-nsxmldocument-replacement-for- iphone
    The XML replacement is only in SVN for the moment, see http://code.google.com/p/gdata-objectivec-client/source/checkout to get it.

  • IPhone SDK on Windows

    Is there any talk of an SDK for Windows? I have been trying to get OS X 10.5 running on vmware for weeks now, without any luck (Probably due to the fact that I'm running on an AMD Athlon 64). Annoyingly, I got 10.4 to run fine but the SDK doesn't run on 10.4.
    I would pay through the nose for a Windows iPhone SDK, and I'm not the only one out there.

    The SDK is primarily for serious developers interested in developing an app to be available via the iTunes app store as a free or paid app. There is also a developer enterprise program for a company with 500 or more employees that is interested in developing and deploying proprietary in-house applications to authorized users in the company only.
    Selling the SDK to Windows users for only $50 when becoming a registered developer costs $99 for the standard program and $299 for the enterprise program just for some that are interested in developing their own apps for their iPhone only, along with support cost for many of the Windows users that certainly would follow just so some Windows users can develop their own app for their iPhone which doesn't gain Apple anything? Along with the resources and cost involved with porting the SDK to Windows in the first place and following support cost, this would be a losing venture for Apple with nothing gained. The more quality apps made available via the app store is a potential gain for Apple - not from the sale of apps which is probably a break even, but from the availability of good apps over time that will likely help to increase iPhone and iPod Touch sales.
    Just as the iTunes Store for the sale of music and video is designed and set up to be a break even for Apple with the profit gained from iPod and iPhone sales. Even though Apple develops and has their own OS and software, they are primarily a hardware company first and foremost, so computer sales will continue to be important. And with a Mac including an Intel processor, one can install and run Windows and Windows applications natively on a Mac for the best of both worlds if both are needed.
    An Apple computer with an Intel processor is capable of running more applications than a Windows PC natively - all Windows applications and all OS X applications.
    I am sure that anyone interested in serious development for the iPhone which the SDK is designed for already had a Mac, or purchasing at least a Mac Mini was not a big problem or a hinderance. And the same for a company with 500 or more employees that wants to make use of the developer enterprise program.
    I believe Apple's pride and set ways are the main reasons they are not doing as well as they could be.
    Apple is doing plenty well because they are profitable, which is most important. And doubtful that selling the iPhone/iPod Touch SDK for $50 to Windows users interested in developing their own app for their iPhone only would be a profitable venture - not with the upfront cost to port it to Windows and the resulting and ongoing support costs that wouldn't gain Apple anything in the long run, and this definitely would not help sell more Apple computers.

Maybe you are looking for

  • I need help with the boot setup in BIOS

    I am trying to reinstall windows 7 back onto my sister's laptop, The BIOS Version is 3.5  I went to the boot order to put the cd/dvd rom in the first boot order and then the notebook hard dive second, selecting f 10 to save and exit. When the compute

  • Help! iPhone 3gs reset went wrong and nothing helps

    Is there anyone in the world that can help me? The audio memo notes app was broken. Wanting to fix it, I did a soft reset. That didn't fix it. I finally did a full reset and it solved the problem. When I connected my iPhone to my computer it suggeste

  • QM Master data

    HI QM experts, I am new to  QM module , I want to know the QM-master data. also provide any link for basic understanding of QM module Thanks & Regards bhav

  • Oracle forms 10g 32bit with Oracle 10g database on windows itanium for x64

    Hi..... Currently we are planning to have this configuration 1. Oracle10g RAC on HP rx6600 with windows itanium for x64 architecture 2. Oracle Application Server (32-bit) on windows 2003 (forms & reports services) 3. Application migrated from 6i to 1

  • Mountain Lion Server - Folder names intermittently change between Upper and Lowercase names on some user's iMacs

    Hi, Sorry if I'm posting in the wrong group, but I couldn't find a Mountain Lion server specific group. I have a new Mac Mini Server running 10.5.8 that serves Mac only users. The Mac Mini has a 4tb Promise Pegasus RAID attached via thunderbolt. Toda