iphone-sdk-3.0

IPhone App Signing: A valid signing identity matching this profile could not be found in your keychain

I'm pulling my hair out over this. I just downloaded the iphone 3.0 SDK, but now I can't get my provisioning profiles to work. Here is what I have tried: Delete all provisioning profiles Delete login keychain Create new "login" keychain, make it default Create a new cert signing request Create new developer and distribution certs in th...

iPhone SDK Camera Bug: Image not saving sometimes?

I've looked for various bug reports for the iPhone SDK, but have not seen anything directly related to this bug. I'm using a UIImagePickerController on the device to take a photo using the camera. Sometimes (usually after the phone has been running for some time without a reset), I take my picture, and then select 'use' - but I get a n...

Is it possible to load a separate application into the iphone?

Hi Friends, I am having a iphone and i have created an application using Xcode. Now i want to move this application into my iphone for my use. How can it be done? I tried to copy my application to the iphone Applications folder using the phone view software, but i'm not able to open my application in the iphone. It shows the error ...

Command /bin/sh failed with exit code 126 Error in xcode

hi friends, "Command /bin/sh failed with exit code 126" This error comes when i tried to run my app in simulator please tell me the solution .. thanks, Creater7 ...

where can I find iphone sdk 3.0 GameKit tutorials for developing P2P applications?

Hello, I'm starting to develop a p2p applcation for the iphone sdk 3.0. But I'm finding it hard to find good code examples for the bluetooth api. Anyone knows where I can find this info for newbies? thanks!!! ...

selection color for a UITableViewCell

If I have a custom UITableViewCell that doesn't use the textLabel built in to the cell but instead does its own drawing, how can I change the appearance of the contentView on selection, like it does automatically for the default text (customizable by setting the selectedTextColor:)? If I change tableView:willSelectRowAtIndexPath:, then ...

How to test iphone p2p aplications?

Is there a way to test iphone OS 3.0 p2p applications? Can I run multiple iphone simulator instances? Aperantly no. Any help? ...

Missing Required Architecture arm in file

When I compile my application, I get an error stating that /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/CFNetwork, missing required architecture arm in file. I have checked all the frameworks, and they all point to the iPhone 3.0 SDK Frameworks... What am I missing here? ...

iPhone OS 3.0

Hi All, I am currently working with a device that has iPhone OS 2.2.1. And as You all know that the OS 3.0 update is available for download. I have downloaded the update and also read many comments on it. I have developed all my apps on OS 2.2.1. Just to confirm , if i install 3.0 on my device will the apps be compatible. If not then c...

hold-to-copy in uiwebview subclass

For my app, I subclassed UIWebView (the method described here http://ryan-brubaker.blogspot.com/2009/01/iphone-sdk-uiwebview.html). I did this so that I could intercept touch events; when I detect certain types of taps, I perform the corresponding custom action, and then pass the event along to the underlying UIWebView. So for exampl...

Upgrade to iPhone SDK 3.0 Causing UIKit Problems

I have an existing project that I was working on, and I recently decided to update my iPhone SDK and updated to the latest 3.0 SDK. I update my SDK and go to open my existing project. Sure enough, there are some problems including some certificate problems and so on. Anyway, google and I were able to solve most of them, but I haven't ...

EXC_BAD_ACCESS when moving iPhone app from 2.2 to 3.0 simulator

Well I had an app I was developing in iPhone SDK 2.2 and I recently built and launched it in the 3.0 simulator. The base SDK is still set to 2.2. I figured that would avoid issues. Instead I get Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x00000000a1b1c1f3 Crashed Thread: 0 Thread 0 Crashed: 0 ...

Fast enumeration in OS 3.0

I just tried compileing my iPhone app against OS 3.0 and I get a compile error when using fast enumeration. I'm trying to go through an NSArray containing cComment classes: for (cComment* newComment in comments.comments) And I get this error error: type of accessor does not match the type of property 'comments'. This works flawless...

Objective-C changes between OS 2.2.1 and OS 3??

When I tried compiling my app for OS 3 I encountered an the following error: error: type of accessor does not match the type of property The error was for a property I tried to access that is defined as follows: NSMutableArray *myArray @property (readonly,nonatomic) NSArray* myArray; the property is @synthesized in the implementati...

iPhone address book - auto-select Phone owner

In 3.0 they have Auto-Fill for Safari. You go into the settings app to turn it on, and it needs to tie into an entry in the Address Book. I went into the Settings app to set up mine, and I noticed that it already had guessed who I was. Was it doing this using something in the API? If so, how do I access this function? My iPhone syncs ...

How do I fix NSURLErrorDomain error -999 in iPhone 3.0 OS

I am trying to update my iPhone app to work with OS 3.0. I have a UIWebView that shows a page fine. But when I click a link it calls my delegate for didFailLoadWithError and the error is Operation could not be completed. (NSURLErrorDomain error -999.) I verified this is still working with OS 2.2.1, so it is something changed in 3.0. ...

How can I programmatically get the MAC address of an iPhone 3G S?

This question has an answer, but it only works on the old iPhone and iPod touch. On the iPhone 3G S, it gives me "00:00:00:00:00:70", which is incorrect. ...

Can text in UILabel have a colorWithPatternImage: assigned to it?

If so, can the image be animated? Is there a good reason not to do this? Memory usage, etc? ...

Identity property in core data modeling tool

I'm currently migrating my sqllite application to using core data. When I created the data model I noticed that an attribute can be marked as and Identity property. Happily I marked that attribute as required and indexable only to find out that I have to supply the value myself or the insert of the entity fails, which kind of takes away ...

Can you build an iPhone app which has 2.1 as it's target SDK, but uses 3.0 features?

I noticed that IM+ came out today and lists it's minimum requirements (in iTunes) as OS 2.2 or later, but they support 3.0 features like push. Is it possible to build an app (eg: one binary) for firmware 2.1 that has features like push (or SMS or whatever) that are only enabled on phones with the 3.0 firmware? It seems like it is, but I...