1) read the error message and attempt to understand it
2) see if the error message applies and you have in fact included the
product in its own target
3) if 1) and 2) don't work mail the XCode list because this isn't a
cocoa question
Mahaboob wrote:
I changed the Active Build configuration
I changed the Active Build configuration to Distribution and then select the
code signing identity to my distribution profile as suggested in the iPhone
Developer portal. Then I build the application. But,I got the following
message:
File /../.../.../...xxx.app depends on itself. This target might
Kyle Sluder wrote:
One of the following has happened:
Variations:
4. The build configuration that worked last week (e.g. Debug) isn't
the one that's being compiled today (e.g. Release), and there are
differences in something specific to the config, such as lib search
paths, include pat
On Sat, May 23, 2009 at 6:21 AM, Ian Piper wrote:
> (In red) "_TLTableBgColorKey", referenced from:
> (in grey) _TLTableBGColorKey$non_lazy_ptr in
> MyDocument.o
> (in red) "_TLColorChangedNotification", referenced from:
> (in grey)
Hi all,
I hope someone can help me shine some light on this error. I have two
errors coming up on build, but they are not highlighted anywhere in
the code as is normally the case with warnings and errors. This is
what I see in the Errors and Warnings list:
(In red)"_TLTabl
Can anyone tell me what the following means and what is the cause?
I understand that it is a link error. Elsewhere, Graham Cox in
replying to a similar problem by another poster stated "This is a link
error. Add the QuartzCore framework to your project". I did exactly
that to no avail.
Problem solved!
I used the old PPC version of the Framework on my Mac. After
downloading a recompiled version (for Intel) and replacing the PPC
version with the new one in my project the Application builds without
problems.
Thanks,
Sebastian.
2008/11/4 Sebastian Pape <[EMAIL PROTECTED]>:
> Hi,
>
Hi,
I am trying to get CocoaMySQL running in my XCode. So I created an
easy application to query my database. In the Controller.m file I
added the line:
#import
CODE:
__
MCPConnection * mySQLConnection = [[MCPConnection alloc]
initToHost:@"localhos
On 18/04/2008, at 9:54 AM, Kyle Sluder wrote:
GCC is alerting you to the fact that the switch at the end of the
statement is unnecessary.
That's not what GCC is trying to do; GCC is trying to alert you to the
fact that it's invalid syntax. As I just said in my earlier e-mail,
labels must
On Thu, Apr 17, 2008 at 4:54 PM, Kyle Sluder
<[EMAIL PROTECTED]> wrote:
> GCC is alerting you to the fact that the switch at the end of the
> statement is unnecessary. If you really want to do something for all
> cases, use default. Otherwise just omit it. Using the empty
> statement (; by it
GCC is alerting you to the fact that the switch at the end of the
statement is unnecessary. If you really want to do something for all
cases, use default. Otherwise just omit it. Using the empty
statement (; by itself) will fool GCC, but an empty default case is
useless.
--Kyle Sluder
_
On 18/04/2008, at 9:15 AM, Michael Vannorsdel wrote:
Change it to:
- (void)TestFunction
{
switch (1) {
case 1:
{
NSMutableArray *myArray=[[NSMutableArray alloc]
init];
break;
Ah, that did the trick! I love mailing lists!
Many thanks to all who responded.
On Apr 17, 2008, at 7:15 PM, Michael Vannorsdel wrote:
Change it to:
- (void)TestFunction
{
switch (1) {
case 1:
{
NSMutableArray *my
Change it to:
- (void)TestFunction
{
switch (1) {
case 1:
{
NSMutableArray *myArray=[[NSMutableArray alloc]
init];
break;
}
}
}
No need to declare defa
The break isn't required, but something is. You could put
NSLog(@"defaulting"); after default:. Or you could put a semicolon; or
a lovely set of empty braces.
To fix the other problem, try this:
switch (1) {
case 1:
{
NSMutableArray *myArray=[[NSMutableArray a
on 4/17/08 4:56 PM, [EMAIL PROTECTED] purportedly said:
> A break; is not required, but it does cause the compound statement
> error to go away. Even with the break; inserted the other error still
> occurs if the comments are removed.
>
> On Apr 17, 2008, at 6:50 PM, Robert Kukuchka wrote:
>
>>
On Thu, Apr 17, 2008 at 11:47 PM, Don Arnel <[EMAIL PROTECTED]> wrote:
> I've been working on a project for a few weeks now and suddenly today I get
> this error while building (see below). I was getting this same error in one
> of my real classes so after commenting out almost every bit of code an
A break; is not required, but it does cause the compound statement
error to go away. Even with the break; inserted the other error still
occurs if the comments are removed.
On Apr 17, 2008, at 6:50 PM, Robert Kukuchka wrote:
you forgot the break;
___
On Fri, Apr 18, 2008 at 12:47 AM, Don Arnel <[EMAIL PROTECTED]> wrote:
> switch (1) {
> default:
> }
> (x)(error: label at end of compound statement)
You need a statement to execute for the default case. The code you
have written is equivalent to:
- (vo
you forgot the break;
On 17-Apr-08, at 3:47 PM, Don Arnel wrote:
I've been working on a project for a few weeks now and suddenly
today I get this error while building (see below). I was getting
this same error in one of my real classes so after commenting out
almost every bit of code and st
I've been working on a project for a few weeks now and suddenly today
I get this error while building (see below). I was getting this same
error in one of my real classes so after commenting out almost every
bit of code and still seeing the error, I decided to just create a new
TestClass an
21 matches
Mail list logo