I've got a python project I've been making in terminal with vim etc.. I've read that XCode supports Python development at that it supports SVN (which I am using) but I can't find documentation on how to start a new XCode project from an existing code repository.
Other developers are working on the project not using XCode - They won't mi...
I'm banging my head up against Cocoa and Xcode, and have been for months. I never seem to be able to get away from the tutorials, which are often incomplete, or Apple developer documentation, which is sparse on samples. I've watched videos, downloaded source code and asked developers for help. I still feel like I haven't gotten that audi...
I am a long time Microsoft developer and I am new to iPhone development using XCode. So, I am reading a book and going through examples trying to teach myself how to write an iPhone application using Objective-C. All has been good so far, however, once in a while I run into the generic 'objc_exception_throw' message at runtime. When t...
Is it possible to create a simple objective C object in xcode that has some basic test code, and then execute just this object, ala execute an alternative main()?
ie I have an LdapWrapper class and I want to write an LdapWrapperTest class that I can run on demand (it cant be part of the build process as it depends on access to an ldap s...
I was trying to hack up a tool to visualize shaders for my game and I figured I would try using python and cocoa. I have ran into a brick wall of sorts though. Maybe its my somewhat poor understand of objective c but I can not seem to get this code for a view I was trying to write working:
from objc import YES, NO, IBAction, IBOutlet
fr...
I'm trying to build for multiple targets in Xcode, to simplify the process of creating a "lite" and "pro" version of my application. In theory, this is great and I can pass defines to GCC_PREPROCESSOR_DEFINITIONS for use in my code. However, I'm having problems actually getting it to work due to an error trying to launch the second tar...
Hi, in my application I am getting an exception: MyApp(38431,0xa004ffa0) malloc: *** error for object 0xa08be760: pointer being freed was not allocated
Is there a way for XCode to show me where this pointer is? How can I find where the problem is?
I know that I can type info line*[address] and it may show me where the line is. But now ...
I'm using DarwiinRemote's WiiRemote.framework in my app.
I already fixed some issues by downloading the source code and requiring garbage collection, and building for 10.5. However, when I try to add it to my project, I get the console error:
dyld: Library not loaded: @executable_path/../Frameworks/WiiRemote.framework/Versions/A/WiiRe...
For example, when I type
[UIView commitAni
then I would expect that it finishes it like:
[UIView commitAnimations
so that I have:
[UIView commitAnimations];
but here, it doesn't. Although I have included CoreGraphics.framework
Strange: When I try with other animation related stuff, it works:
[UIView setAnimationDura
will be ...
Like I understand it, if I would take the View XIB, I had an Content View where I can put UI control elements inside.
But what's an Window then? Isn't that pretty much the same thing?
...
I wonder why that file extension is called "nib" or "xib".
I guess that the "ib" in "nib" is "Interface Builder". But the n? Or the x? Any idea?
...
What are the settings in Xcode to strip symbols for an iphone application?
I use these settings in Xcode but still see classnames and their methods in
the executable using a binary file editor.
Deployment:
1) Deployment Postprocessing (checked)
2) Strip Debug Symbols During Copy (checked)
3) Strip Linked Product (checked)
4) Use Separ...
I’m porting a C++ sdk from Windows to Mac OSX 10.5. I have a problem in Xcode where my breakpoints in certain files will only be hit if I set them while debugging. If I stop debugging and then restart, the breakpoints no longer get hit. If I add them while not debugging, they don't get hit. This is only in certain files and my breakpoint...
Disclaimer: I am an Xcode / iPhone SDK Noob.
I am trying to establish a client-side TCP/IP connection to an existing server. Upon connection, I expect to receive some data about the server (version, etc.).
When my connection is made, the NSStreamEventOpenCompleted event fires, so I know the connection is made. Next the NSStreamEventHas...
XCode Newbie Alert!
I am reading data from a TCP/IP stream and am successfully receiving a byte array from the pre-existing server. I am now trying to find a way to convert that array to an NSString. I have found several examples, but am having a hard time getting my desired results.
case NSStreamEventHasBytesAvailable:
{
NSDat...
Hi. This is the blurb accompanying the Audio Services function AudioServicesSetProperty. Its a bit over my head. Can someone give me an example of how to actually use this. Thanks.
AudioServicesSetProperty Sets the
value for a specified System Sound
Services property.
OSStatus AudioServicesSetProperty (
AudioServicesProper...
I have a breakpoint action and am using the Log option from the drop down. I'd like to print out the string (summary) value. I'm doing this:
the person name is: @p.name@
but that prints the memory address. I can switch to the Debugger Command option and do
po f.name
but then I loose my description, as used in the first option. ...
Just as you can set a breakpoint for objc_exception_throw, is there an equivalent for EXC_BAD_ACCESS?
...
I often find myself wanting to open Xcode and do a little coding on international flights and while I'm away from power, but it's a quick way to empty my MacBook Pro's battery.
What settings do you use to preserve battery life while running Xcode?
...
I have an iPhone (Xcode) Project that was working fine. Something must have been changed, because all of a sudden I am getting errors that pertain to NSLog, UIActionSheet, and several other items I have been using JUST FINE until now. What am I missing? Any assistance would be GREATLY appreciated!
Checking Dependencies
Ld /Users/markgo...