xcode

What is a good performance profiler for iPhone games made w/ objective-C and XCode?

I'm writing an iPhone game in objective-C using XCode. I'd like to profile the performance of my code. What is a good profiler to use? ...

How to resolve linking error - static lib iPhone

Hi All, I have tried making a static lib on iPhone but I am not able to use it in other project. I am getting this error .objc_class_name_XMLParser", referenced from: literal-pointer@__OBJC@__cls_refs@XMLParser in Minutes2MidnightViewController.o ".objc_class_name_TickerViewController", referenced from: literal-pointer@__...

black uitableviewcell accessary?

is there a way to turn the default UITableViewCellAccessoryDetailDisclosureButton from blue colour to black colour???? ...

Download Xcode documentation sets manually

For reasons unknown to me, Xcode fails to download the documentation sets from the server. Is there a way to download these documentation sets manually from a URL and then have Xcode's Core Reference Library unpack them? EDIT: Found what I was looking for: http://learning2code.blogspot.com/2008/05/download-xcode-docsets-to-your-hard...

Xcode, Core Audio: How do I route the audio from the lineout to an application?

Hi, I need to make a Mac app that grabs the audio going to the lineout and renders it into memory. Is it possible to do this with core audio and if so is it at a high enough level to do this simply or do I need to do like soundflower and create a virtual sound device. Do you know any reference where I can get do this myself. ...

How to replace the company name in the template headers in Xcode?

When Xcode creates a new file, there's always something like this in the header: // Copyright 2009 __MyCompanyName__. All rights reserved. How can I change that? ...

Where is the com.apple.Xcode.plist stored on a typical mac installation with latest xcode?

Can't find it. Spotlight doesn't find it either. Strange! ...

When my colleague changes code and commits it to the repository I can see the code, but xCode compiles as if his contributions weren't there

Have any other iPhone developers experienced this phenomenon? I can see his contributions in xCode - I see for example my colleague has wrapped a navigation controller around one of my view controllers and added it to my tab bar. Great! That view really did call for a navigation controller and this is a welcome addition to the project...

Which iPhone SDK to download?

In the developer center there are two different downloads for the SDK, one for Leopard and one for Snow Leopard. Which do I download? Also do I have to download a separate copy of xcode as well or is it part of the download? Thank you. ...

Where is Xcode located on the hard drive?

I have looked everywhere but couldn't find it anywhere. I installed it successfully but I don't know where it is installed. Shouldn't it show up at the "start menu"? I know how to use pc, but this is my new mac mini and I searched the web for tutorials and basic info which doesn't seem to be easily found. Thank you. ...

XCode not finding statically linked library

Hi Guys, Ok so I have an app that I'm writing that uses a library that someone at work developed. I've included the xcode project in my project and included the output target of that project in my project's target as a framework. I also included the .a file in my target under the "Link Binrary with Libraries" folder. I also have put in ...

How to detect #includes of nonexistant files in gcc

I am using Xcode's modified gcc, and I notice that sometimes when I include a file that doesn't exist, it just silently skips it. How can I get it to give me a warning? ...

.dylib linked in Debug, not found for Release for iPhone in XCode

So I have included the libxml2.2.dylib library into my iPhone XCode project to create some Xml and XPath parsing utilities. When I compile and run in Debug mode for both the Simulator and Device I have no problems, however, When I switch to Release mode I get... "error: libxml/tree.h: No such File or directory" as well as other simila...

iPhone view not displaying

Hi, I am having difficulty geting a very simple view to display. This view has a custom view controller that is manages by a switching view controller. The XIB has one UIViewController component on it with its Image property set. The view controller is as follows: InstructionsViewController.h #import <UIKit/UIKit.h> @interface Instru...

Tips for Moving from VS.NET to Xcode

After developing in VS.NET for many years, I'm starting to do some Xcode development and I'm very much hard-wired to the VS.NET way of doing things. I'm not looking for a debate about which environment is better, but some productivity tips when moving from one to the other. Does anyone have tips, keyboard settings, etc that they found...

Memory leak in removeItemAtPath:error:?

I'm running an app on the iPhone that performs the following action: + (void)performWrite:(NSData *)data { [data retain]; [data writeToFile:@"WriteTest.tst" atomically:YES]; [[NSFileManager defaultManager] removeItemAtPath:@"WriteTest.tst" error:NULL]; [data release]; } When running in Instruments, however, I see a lea...

Automatically import one header into each project .m file in Xcode

I have logger.h file with static logger class. Then I want to add log messages to into each method invocation to trace app execution. In order to do that I have to include logger.h into almost each Xcode .m project file. Is there any way to tell Xcode to automatically import logger.h into each project's .m file. thx ...

Debugging independent unit test bundle for iPhone?

I created an independent 'LogicTest' bundle as described in Apple's latest and greatest instructions for iPhone projects. I've successfully set up and debugged dependent test bundles on Mac OS, just fine. However I have not worked with independent bundles nor test bundles for iPhone before. The test bundle builds and executes tests ju...

how to hide status bar when splash screen appears in iphone?

is there a way to hide the status bar when showing splash screen in iphone? and show again in application ...

How to fix iPhone Simulator trying to launch a Nib that isn't there?

I'm getting this error message when I Build&Go: *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] was unable to load a nib named "TestappViewController"' I created a blank new project and then started to create a RootViewController which ho...