-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core Plot: Unknown class CPTGraphHostingView in Interface Builder file. #491
Comments
The all_load flag should not be the issue. Can you check that the source file that implements -[UIView setCollapsesLayers:] is present in the Pods project? Maybe some categories are missing from the source of the podspec. |
That was my first guess, too. I can confirm that the source file is present in the Pods project (i.e. CPTGraphHostingView.h/.m) |
Strange, I think that there is something fishing going on with your integration. If the file is in the Pod project and it is added to the correct target and that target it is used by your target it should work. |
I found the issue: I removed all files related to CocoaPods and did a new setup. CocoaPods raised the following warning: However, this build setting was empty. I deleted all occurrences of "OTHER_LDFLAGS" in my project.pbxproj and now it is working again. |
@tilowestermann Do you mean that the setting was being overridden on the project level, not the target level? Or was the build setting actually overridden on the target by explicitly setting it to be empty? |
That is a good question! I thought that an empty setting wouldn't cause any problems (there are many empty settings right out of the box). So I don't know which setting was being overridden at which point. |
@tilowestermann When the name of the setting (the left column) is written in bold, then the setting has been explicitly set. An empty value of the setting (the right column) is empty, then this will override (clear) any of the settings from higher levels. But, as you already have it working now, this is more FYI for the next time you run into build setting issues :) |
Good to know, thanks! :-) On 03.09.2012, at 20:28, Eloy Durán notifications@github.com wrote:
|
changed homepage address to appropriate page
I'm using Core Plot via CocoaPods, but when going to a view that contains something related to this library (i.e. using a CPTGraphHostingView), I'm getting the following error:
Searching through the web, people are mentioning a missing "-all_load" flag. Looking at my Pods.xcconfig, there is none
Any suggestion on how to fix this issue will be helpful!
Thanks in advance!
The text was updated successfully, but these errors were encountered: