Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.