I dont know if this fits stackoverflow.com, but I cant even open Xcode. It just gives me this error "The MAC OS X platform is missing - cannot set default platform."
I have just installed Xcode. I dont get the error message, and I have never seen it before. Cant find anything on google.
Is there anyone who can give me a hint in form of...
I have included the ScriptingBridge.framework in the target, and it currently shows under Link Binary with Libraries.
I generated a header using:
sdef "/Applications/Address Book.app" | sdp -fh --basename AddressBook
The header was generated ok. However, at compile time, I get the following error:
Undefined symbols:
".objc_class_n...
I tried to install XCode + the iPhone SDK on my mac, but the installer ran out of space during install and I'm left with something to the effect of 30 MB free on my hard disk. How do i remove it?
...
I have this macro in my header file:
#define UIColorFromRGB(rgbValue) \
[UIColor colorWithRed:((float)((rgbValue
So I want to ask everyone is this better or should I use this approach:
cell.textColor = [UIColor colorWithRed:66/255.0
green:33/255.0
blue:33/255....
So this is probably really simple but for some reason I can't figure it out. When I run the below code I can't get it to go into the if statement even though when I go into the debugger console in xcode and I execute po [resultObject valueForKey:@"type"] it returns 0. What am I doing wrong? Thanks for your help!
NSManagedObject *resu...
When debugging in Xcode, how do I simulate a user starting my Cocoa droplet application by dropping one or more files onto it's application icon?
The app just opens, processes the files while displaying it's progress and then closes again.
Passing arguments (via the "Arguments" tab of the entry under "Executables") should allow this, b...
Update: It appears that a recent XCode update may have changed this macro, please see this Question & Answer for more information: http://stackoverflow.com/questions/2292694/obtaining-older-sdkroot-behavior-in-xcode
Situation: I'm using libxml2 on an iPhone project and I've added it as relative to the SDK version. However, in order to...
When the IBAction login is invoked it supposed to use a response from SOAP Web Services of either true or false, false meaning the user is not authorized to use the app.
I have it using these if statements after it gets the response, but for some reason it runs both true and false ifs.
{
[soapResults appendString: string];
NSLog(soa...
I'd like to be able to pass command line arguments to programs that are run/debugged under Xcode. I want to do this so that I can command-line enable debug modes using Cocoa's NSUserDefaults and NSArgumentDomain.
How to do that?
Thanks!
...
After a login screen which sends the username/password to a webservice and gets back a response of either true(which is supposed to start the rest of the app) or false(incorrect username/password or unauthorized). The app gives the alert view that you are authenticated but it doesnt load the rest of the view?
if ([soapResults isEqualToS...
There are a few tutorials online (For example) having to do with configuring emacs to work with XCode, but they all seem to be for old versions, and I haven't found one that ties neatly to XCode 3.x + Emacs 23.1 in a way that I can unpack.
So, I'm running XCode 3.1.2 and the Mac Cocoa application build of Emacs 23.1. I have a passing f...
Hi Everyone!
I have .wav files that have been stored in a central database. I need to play them in Mac C++ code. The .wav files have lots of different formats - some of them are quite old - for example 4bit.
I got code using AudioHardware interfaces to work for the main formats. But, these work only if the sample rate in the .wav...
-(id)viewWillDisappear:(BOOL)animated
{
report_memory_str(@"BEFORE RELEASE viewWillDisappear");
self.view = nil;
report_memory_str(@"AFTER RELEASE viewWillDisappear");
}
When my view Disappear, i try to release current view before push to another controller,
i don't get more free memory, why ? How to get more free memory ?
2009-08-10...
Hi, I downloaded the lastest version of cocos2d but I am confused as to how to use it with my current project. Can anyone show me how to use it with xcode. I'm looking to design a 2D maze. Do i have to import something ? Any sort of help would be appreciated.
...
I'm new to Cocoa, and I've been having a problem that is absolutely maddening. I'm trying to write a simple NSString to an NSTextView, and for some reason it just won't respond. No compiler warnings, no runtime errors, just a blank textview.
I'm able to use other methods of NSTextView like selectAll, delete, setSelectedRanges, etc. ...
Hi, I'm new to Cocos2d and was wondering if anyone can show me how to create a human character or any type of character using Cocos2d for my iphone app. Also show me how to get started with a maze would be helpful. THanks
...
For my App I have a property list and I can't figure out how to make it change from "Item 1" or "Item 2" to anything else..
Any thoughts?
...
OS X 10.5.7 (genuine Mac)
Xcode 3.1.3
iPhone SDK 3.0
When I try to execute my iPhone application in simulator, I get the dreaded error message:
Failed to launch simulated application: Unknown error.
My application has two targets, but this error occurs on both of them.
When error occurs, the simulatoed OS hangs it displays blac...
I'm just starting iPhone development (coming fron a .Net world) and have been going through many "Hello World" applications to get the hang of this new development platform. One area I have been confused with is the instantiation of a view controller. On an Apple "Hello World" tutorial, they start by creating a Window Based App, which by...
Hi,
I am developing an application in cocoa.I need to debug some JAVA files in xcode.I tried by setting a normal breakpint,but the debugger is not hitting the breakpoint in java files.Is there any settings i need to change?..Looking for a solution...
...