I have created a static library in XCode that requires several dynamic libraries (e.g. libsqlite3.0.dylib). I can create an application that is dependent upon my static library using cross-project references in XCode, but it seems that I have to manually add all of the required dynamic libraries to each of my application projects to get...
Ok bit of a newbie type question.
I want to use Core Data, together with Tab and Navigation controllers.
In XCode if I create a Navigation Based Application I get the option to choose Core Data. Whereas If I create a Tab Bar Application I don't get the choice.
I understand that Tab Bars display view controllers so it kinda makes sen...
I had upgraded my OS into Snow Leopard, and I'm using Xcode 3.2 with iPhone SDK 3.0 for Snow Leopard.
I had cleaned up the existing Developer Tools, uninstall, and I deleted the /Developer directory, and I reinstall.
But, the problem is, Interface Builder is showing 3 pop up alerts with this message:
Assertion Message: Interface Build...
how to access the mp3 stored in iPhone iTune_controls directory. When i want to see the mp3 it is not visible for me in my applcation.
...
Debugger Error:
Failed to load debugging library at:
/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Contents/Resources/PBGDBIntrospectionSupport.A.dylib
Custom data formatters are disabled.
Error message was: 0x400a45 "dlopen(/Developer/Applications/Xcode.app/Contents/PlugIns/GDBMIDebugging.xcplugin/Conten...
In the Xcode breakpoints panel, it has a column of 'checkbox' (between Breakpoint column and Location column). My question is why some breakpoint has 'a Check' some has a '-' and some are empty? I think 'a Check' means enabled.
I have one breakpoint which I manually make it to 'enabled' (a Check) but as soon as I 'debug' my program in...
Hi,
is there a way to have Xcode append a closing bracket ")" when I type the opening one "("? I know that it does this for those {}. I really miss Textmate :( A generic way to define which chars should be automatically inserted when the opening ones are entered would be kickass.
...
Hello, world!
My iPhone application has several views and some viewControllers for that views.
I need to test how viewControllers react to device rotations (switch between Portrait and Landscape device orientations).
I found some info about OCMock and google-toolbox-for-mac frameworks but not found any answers on this topic.
Some vie...
Generally speaking, I am very happy with the changes in Xcode 3.2. However, there is one thing which is driving me crazy: the "find in file" dialog has been jettisoned for the "find banner." But what is missing in this nifty little banner are the good-old options: starts-with, contains, whole-word, ignore-case, &c
On my dev machine, th...
When I build my iPhone project, I get warnings from xcode about a few of my xibs saying:
Specifying a title shadow offset in
Interface Builder is not supported by
the iPhone SDK for iPhone OS versions
prior to 3.0.
Thing is, I'm building for 3.0, and the base SDK is set to 3.0. I've done some poking around and can't find anyt...
Can someone explain the difference between these two, the first one is taken from allowing xcode to automatically generate the declaration, the last one is taken from an example in "Cocoa Programming" by Aaron Hillegass.
- (NSString*)planetName {
return [[planetName retain] autorelease];
}
.
- (NSString*)planetName {
return p...
I'm trying to compile a bundle that uses a third party library. I've had this working a while ago, but now it just refuses to link. Here's a sample of the errors:
"lwpp::GlobalBase<char const* ()(char const*)>::globPtr", referenced from:
__ZN4lwpp10GlobalBaseIFPKcS2_EE7globPtrE$non_lazy_ptr in main.o
__ZN4lwpp10GlobalBaseIFPKcS2_E...
I have a project for Mac OS X 10.5 that I'm building on 10.6 using Xcode 3.2. When I use GCC 4.2 for Debug build and hit a breakpoint, Xcode debugger displays local variable information normally. If I choose LLVM GCC 4.2 or Clang LLVM, when I hit breakpoint, local symbols are not available, and GDB says No symbol 'self' in current contex...
Right now I'm using a few scripts to generate files that I'm including as resources in XCode. The thing is I'm running the script, then deleting from the project, then adding back into the project. There must be a way to automate this last step, so that the script can generate the files and automatically add them into the xcode project...
I am on Xcode 3.1.4 and hitting the dreaded ""the executable was signed with invalid entitlements." error.
I am trying to add Entitlement.plist in the BUILD option but I cannot find where to put it.
This option used to exist above the "Code Signing Identity". I think it was called "Code Signing Entitlement" or something.
Is this missi...
I have a really standard splash screen, just a simple Default.png, but for whatever reason, no matter what I try, it simply will not load. Is there any way to fix this and/or a way to set a property in tw info.plist to directly call a custom image? Thank you!
...
The compiler complains about this, after I activated all kind of warnings:
#ifdef __OBJC__
#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
#endif
warning: #import is a GCC extension
What does that mean?
...
The compiler complains about this, after I activated all kind of warnings:
For MyApp_Prefix.pch the compiler says:
warning: -Wuninitialized is not
supported without -O
What does that mean?
...
The compiler complains about this, after I activated all kind of warnings:
I create an NSNumber like this:
NSNumber *num = [NSNumber numberWithBool:YES];
warning: passing argument 1 of 'numberWithBool:' with different width due to prototype
it complains about the value I provided. What's wrong with "YES"?
What does that mean?
...
The compiler complains about this, after I activated all kind of warnings:
I have an app delegate like this:
#import <UIKit/UIKit.h>
@class MyViewController;
@interface TestAppDelegate : NSObject <UIApplicationDelegate> {
UIWindow *window;
MyViewController *myViewController;
}
@property (nonatomic, retain) IBOutlet UIWindow ...