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

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

NSNumber *mike;
mike = [[NSNumber alloc] initWithInt:23];

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

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

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

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

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

"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

"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"

:/

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

That's good to hear :-)