xcode won't build examples in Cocoa Programming 4th ed -


i'm getting errors , warnings seem indicate 4th edition examples meant osx 10.7 , xcode 4, i'm using osx 10.6 , xcode 3.2.

i edited project settings set xcode 3.2 continue these errors when try build typing tutor. have no idea fixes. first try; presumably same types of errors occur when try other examples. how fix xcode settings of them? there errata file somewhere, include problems?

nick

errors , warnings:  copy of "build failed" :  check dependencies  [warn]deployment target 10.7 architecture 'x86_64' , variant 'normal' greater maximum value 10.6 mac os x 10.6 sdk.  error: unknown property attribute 'strong' @property (strong) nscolor *bgcolor; ^ warning: no 'assign', 'retain', or 'copy' attribute specified - 'assign' assumed @property (strong) nscolor *bgcolor; ^ warning: default property attribute 'assign' not appropriate non-gc object 2 warnings , 1 error generated. 

nnickk

posts: 1 joined: sat dec 31, 2011 10:19 pm

the project using arc (automated reference counting) available in os x 10.7 , ios 5+. project may using storyboards ui means have use xcode 4 , ios 5. rid of error though convert properties strong retain , put nonatomic in if it's not property use in other threads.

@property (retain) nscolor *bgcolor; 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -