In the CPTestApp, ive started coding it from scratch for my own use. All is fine, but it crashes saying Unknown Class CPLayerHostingView in IB, [UIView setHostedLayer:] unrecognized selector.
In IB, i can see that the MainWIndow.xib is fine, everything identical, set up properly. But in the individual xib files, for each individual UIView, the view outlet is connected to files owner but in yellow and the alert reads:
The view outlet of Files Owner is connected to Layer Hosting View but CPLayerHostingView is not a kind of UIView as specified by the outlet type...
any ideas? Ive tried starting the file from scratch again but i get the same error.
In the CPTestApp, ive started coding it from scratch for my own use. All is fine, but it crashes saying Unknown Class CPLayerHostingView in IB, [UIView setHostedLayer:] unrecognized selector.
In IB, i can see that the MainWIndow.xib is fine, everything identical, set up properly. But in the individual xib files, for each individual UIView, the view outlet is connected to files owner but in yellow and the alert reads:
The view outlet of Files Owner is connected to Layer Hosting View but CPLayerHostingView is not a kind of UIView as specified by the outlet type...
any ideas? Ive tried starting the file from scratch again but i get the same error.
hi
I'm using CorePlot in my App and i'm having the same warning.. curious but my app doesn't crash.
Can anyone provide some light as to why this warming comes up?
hi
I'm using CorePlot in my App and i'm having the same warning.. curious but my app doesn't crash.
Can anyone provide some light as to why this warming comes up?
Last edited by marciokoko; 02-09-2010 at 09:41 AM.
i got it to work....ok, i added the -all_load -ObjC flag in the Target>Settings....I think this is where everyone gets confused...
There are 2 places where to put the other link and header search paths, in Project Settings and in Target Settings...I found these following things confusing:
1) where to add the Header Search Paths &IF Recursive or not &IF framework/ &OR framework/iPhoneonly &OR framework/Source &IF to check Always Search User Paths or not.
2) where to add the Other Links &IF to check Link with Std Libraries or Not