xcode

install iphone app to device without paying

hi, how can i install my own iphone app to my ipod touch/ iphone without paying? i follow a few documentation but it always fail. does anyone have a tested method? i am using iphone sdk 3.1.3 with xcode 3.1.4. device is using 3.1.3. thks ...

Validate iPhone application in in XCode 3.2.3

I have built my application using "Build and Archive" and the version shows up in XCode Organizer. However; when I click the application and then "Validate Application..." nothing happens. When I check the console, the following entry is logged every time i click "Validate Application..." Has anyone succeeded with this or experienced t...

how to set new plot data for bar chart using core-plot?

I am new to objective-c and xcode. It would be very thankful if someone can point how to set new plot data for bar chart using core-plot. I need to set data like : y-axis and x-axis : as (10,1), (5,2), (20,3), (15,4) and the output should come as : --------------------- 30 25 20 # 15 # # 10 # # # 5 # # # # 1 2 3 ...

NSArray release crashes with EXC_BAD_ACCESS

Another puzzler. I have an NSArray (iTours) containing 3 Objects and a retain count of 1. This Array is released in the object dealloc method as follows: - (void)dealloc { NSLog(@"retain count für iTouren: %d", [iTours retainCount]); [iTours release]; // triggers EXC_BAD_ACCESS [super dealloc]; } The console window sh...

iphone .png image not showing up in device

ok, i set some .png files image as uimage in my table cell. they show up nicely when i run them using iphone simulator. when i run them in my device, they up not show up. what seems to be the problem? i only "error" i got is unable to debug when i install my app to my device, which shouldn't be a problem as i never set for debug. does ...

xcode's executable product for c++ project

Hello, everyone... I've completed a simple numbers-version of the game "Towers of Hanoi" using xcode's command line tool in C++. Being accustomed to PC compilers like borland's and visual-c, I've attempted to "share" the game with others via e-mail by simply attaching the executable product built by xcode. However, the recipients can't ...

Get the Zip Code of the Current Location - iPhone SDK

Hi, Is there a method or some way to display the zip code of the current location? Maybe through CLLocationManager or through coordinate points (latitude, longitude). Thanks, Kevin ...

Xcode always launches all device builds through GDB even though a normal launch is attempted

Hi, I have an issue where Xcode always launches my device builds through GDB. Even though I choose "Build & Run" and not "Build & Debug" from the Build menu it launches through GDB. My simulator launches works as they're supposed to - through GDB only when I choose "Build & Debug". Is this normal behavior? It seems strange to me to not...

unable to play audio file from document ??

when ever i try to play audio this error appears 2010-08-27 09:13:40.466 VoiceRecorder[3127:207] Failed with reason: The operation couldn’t be completed. (OSStatus error -43.) what does it mean I am physically storing file in Iphone Document folder and copying its name in my database so when ever I play it from database its correc...

activity indicator not stopping

hi, for my following code, why is my activity indicator for my webview not stoping? //this part ok NSURL *theURL = [NSURL URLWithString: Link]; NSURLRequest *request = [NSURLRequest requestWithURL: theURL]; UIWebView * webView = [[UIWebView alloc] initWithFrame:CGRectMake(0,0,300,300)]; webView.scalesPageToFit = YES; [webView...

moving the source folder crashes my app

Hi all, i have a weird problem .. maybe the solution is simple but i'm just a newbie in iPhone app development the problem is: i have created xcode iphone project , tested is and it was running well. copied the project folder to my desktop . opened the project from the new location . tried to run the app, the simulator opens and the app...

Is CFBundleIconFiles the same as Icon File?

I am trying to add a hi-res icon to my iPhone app. Is Is CFBundleIconFiles the same as Icon File in the screenshot below? ...

xcode img_data_lock Problem with Backgroung images in Scrollview

I try to do a magazine app containing a horizontal Scrollview with 15 Pages each containing a vertical ScrollView containing up to 15 Pages. For this I took apples Photoscroller-Example-Code (http://developer.apple.com/iphone/library/samplecode/PhotoScroller/Introduction/Intro.html#//apple_ref/doc/uid/DTS40010080-Intro-DontLinkElementID_...

how to know programmatically which view is presently appears on screen while using navigation controller

i want to know which view controller is on top of screen at a particular time so that i can control that views... i have a 2 buttons on my bottom navigation bar,and one of these buttons pressed i should have to load particular view and and these buttons will appear in all views ... i am pushing visit view whenever i press visit button ...

Compatibility issues with package developed on OS X10.6.4 on older OS X

I am using Os X 10.6.4 and X code Version 3.2.3 for developing some simple app files and using PackageMaker to distribute these app files. But when trying to run the package on some other mac I am getting error that the package is not compatible with the Os X its running and file would not be installed. Is this a problem with X code or p...

Can´t get real ads from AdMob in Ipad

I can't get the real ads to work, in the xcode simulator i can see the test ads,now i'm using Xib and AdViewController to display the ad. This are the message that i recieve: Unable to fill ad request. This is a common situation. AdMob: Did fail to receive ad in AdViewController I need some help wiith this issue because i'm stuck, th...

Can XCode break when data ata memory location changes

Visual Studio has always been able to do this - if you know a mem loc then you can set conditional breakpoints when that mem loc's value changes to a particular value or changes at all. Is that what Symbolic breakpoints are for in XCode? If so, I cannot see how to do this. Thx, Tom ...

Error when compiling for device but not simulator

I get the following error when compiling my project for the device, but not the simulator: error: objc/objc-class.h: No such file or directory One of the files i have imports objc/objc-class.h and this is where it chokes. Base SDK is iPhone OS 4.0 and deployment target is OS 3.2 Thanks ...

How to use Kal calendar Api to draw calendar ?

How to use Kal calendar Api to draw calendar like this ? If any one know how to do this please give a quick reply with code or any info on this topic source code of this API is here http://github.com/klazuka/Kal ...

How to update a UILabel immediately?

I'm trying to create a UILabel which will inform the user of what is going on while he waits. However the UILabel always delay its text update until after the system goes idle again. The process: [infoLine performSelectorOnMainThread:@selector(setText:) withObject:@"Calculating..." waitUntilDone:YES]; [distanceManager calc]; // Parses ...