xcode4

Xcode 4 - removing "Default.png"

Possible Duplicate: Can't remove Default.png? I am using Xcode 4, but I am sure the issue does not pertain to this specific IDE. I have set a "Default.png" using the organizer, but I would like to remove it. At the time I had already created an image in my project which was no longer being used, instead replaced by the image...

LLVM 2.0 can't build for iPhone simulator. GCC 4.2 works fine.

When I build my project (any project, really - I tried creating a new empty project with the same results), it builds fine with GCC 4.2 under either Xcode4 or Xcode 3.2.4. If I build using LLVM 2.0 under Xcode4 or with LLVM 1.5 under Xcode3, I get compile-time build failures, but only when building for the Simulator. The build errors...

How can I clear all entries in the Log Navigator in Xcode4?

Overtime there are many past log entries (for either build or debug sessions) accumulated in the Log Navigator. How can I remove these entries? ...

UINavigationBar - Set title programatically? iPhone SDK 4

Hello, I have a tab bar application with a different view on each tab. Each view has a UINavigationBar with title set on Interface Builder. I am wanting to change the title based on a clause in the ViewDidLoad method, so if x { change the title }. I have tried self.title = @"title" , which I read here on Stackoverflow - but this chang...

Not able to open project in xcode

Hi all In my mac pro i have installed Xcode 4.1, This is the first time i installed xcode in my system. The installation was successful but in my old project the files have not changed to xcode version. They all look like text files. Can any one help me. ...

Xcode 4 compiler doesn't see my instance variable

Hi everyone, So I'm working on iPhone and everything is going swell. Except for the last two hours. I was editing some class, then saved and built and suddenly I had tons of errors in another class implementation file. It seems that all the errors have to do with class members (variables) because the only errors I have are "object undec...

Xcode 4 - ready for production use? Also, console window behaviour.

(Currently using Xcode 3.2, hesitant to move to a newer version until it's stable and practical, but am about to start on new projects.) Q. Is the Xcode 4 preview suitable for production work (i.e. releasing Mac/iOS apps), or should I wait until a final build is released? Q1. I've watched Apple's State of Tools WWDC video, where they t...

libxml2 use for ipad

When I use libxml2 in my ipad project (i use the dylib and add the header flags correctly) it doesn't build and gives the error: /Xcode4/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator3.2.sdk/usr/include/libxml2/libxml/xmlversion.h:24 Expected '=','','.','asm' or 'atrribute' before 'void'. line 23-25 of xmlversion.h ...

How to call a function on a specific time without push notification in iPhone OS4

Hi, I want to call a function in my application on a specific time without any alert or notification to user, how can i do this if the application is closed? any ideas? Thanks in advance Inam ...

Why not use Interface Builder

I have seen some people who refuse to use Interface Builder and prefer to make everything using code. Isn't this a bit tedious and doesn't it take longer? Why would people do that? ...

How to change the keyboard type for a text field in Xcode

I created a text field in XCode, not Interface Builder. In IB you can select different keyboard types. How can you do the same thing in XCode? ...

How to pass a string to a function in Objective-C

I made a method like this: -(void) doSomething:(NSString *)str { } I call it like this doSomething(foo); It doesn't work. ...

Any reason I shouldn't upgrade to Xcode 4?

Any issues? Does it replace 3.2? Appreciate the help/insight. ...

XCode 4 and launching on a device

Hi all, I've asked this on the XCode 4 forums, but thought I'd ask here to. I can run my application in the simulator, launching it from XCode 4 (latest Pre-release). But if I switch to trying to run on a device, it fails to install it or run it and there are no messages in the console log or device log. I'm at a loss as to what is goi...

Getting Xcode4 and using iPhone SDK 3.1.3 with it

I have currently installed version of xcode is 3 and iPhone SDK which I am using is 3.1.3. Now what I want is that I just want the Xcode 4 not iOS 4 sdk. That means I just want to upgrade my Xcode to Xcode 4. How to do that and I am offline. So how to upgrade if I do not have internet on my Mac. ...

Xcode 4 Unit Test Bundle Target is missing

According to the documentation here, there is supposedly a target called 'Unit Test Bundle' for setting up unit tests. However in my XCode4 I cannot find such a target in the 'Add Target' dialog box. Is it a setup issue, or did I miss something? ...

XCode 4 Generating classes from entities in CoreData

Hi guys, Im using XCode 4 and working with CoreData. Now, how do I generate classes for entities? I used to do it in XCode 3 by clicking on a diagram entity, going to File->New and choosing NSManagedObject class. For some reason i cant seem to find it in XCode 4, it's not showing up in the dialog... ...