Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

George S-T
George S-T
6,624 Points

Errors that I get which he doesn't get in the video?

I seem to have used this code and got this error, his had no errors and I did exactly what he did:

[IMG]http://i41.tinypic.com/1tsnc0.png[/IMG]

4 Answers

Thomas Nilsen
Thomas Nilsen
14,957 Points
NSNumber *mike;
mike = [[NSNumber alloc] initWithInt:23];

you wrote 'initwithint'. Supposed to be: 'initWithInt'

George S-T
George S-T
6,624 Points

Thanks, didn't relise the Caps were needed. Im still getting this error: [IMG]http://i44.tinypic.com/o6k6tg.png[/IMG]

Holger Liesegang
Holger Liesegang
50,595 Points

Hi George Symes-Thompson ,

At first please try a product clean. To accomplish this just go to the

menu Product-->Clean.

Does this solve your problem?

Kind Regards Holger

George S-T
George S-T
6,624 Points

The error went but came back as soon as I ran the program. Thanks.

Holger Liesegang
Holger Liesegang
50,595 Points

Can you please copy&paste the full error description here?

George S-T
George S-T
6,624 Points

"error: -fobjc-arc is not supported with fragile abi Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1"

:/ Amit Bijlani

George S-T
George S-T
6,624 Points

"error: -fobjc-arc is not supported with fragile abi Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1"

:/

George S-T
George S-T
6,624 Points

No worries, updated my Xcode version and that seemed to fix it. Thanks for all the help.