-
-
Notifications
You must be signed in to change notification settings - Fork 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
cannot compile ios charts because of Ream environment missing. #733
Comments
As README said, you have to remove all the Realm related stuff if you don't need it. |
ok, thanks much |
How did you solve this? I'm having the same problem after I add the Charts dependency via cocoapods. |
Realm is now separate framework, so if you want to import it - you need |
Just make sure you are working with 2.2.2 or later |
I hate to be a noob. But I'm using 2.2.1 since that's what came in via the cocoapod and I also am only using Charts functionality, not Realm. However, I'm getting this sort of output from the linker whenever I try to compile:
I feel like it may be something obvious, but I'm just too inexperienced. |
As I said, use 2.2.2 and your problems will be solved. |
I was looking through the issues and it seems that cocoapod 2.2.1 is the 2.2.2 branch in the main repo if I'm reading #725 correctly. Anyways, my problem was a combination of not knowing how to use cocoapods in general and some weird setting issues. I would recommend future newbies like me this tutorial--main thing is that when you use pods you have to open your project from the .xcworkspace file instead of the .xcodeproj file. Also, this stackoverflow question helped me when I was getting errors about overriding project configs using the pods. Thanks for the help though, Daniel! |
Oh another add, the reason I was getting the error from above was because I was using the 2.2.1 framework added manually and then switched to cocoa pods. But when I switched XCode still had a cache of my previous builds so I needed to delete that cache for it to build from scratch again. Another tip for troubleshooting... |
greetings. I am trying to build my app with ios charts. Everything seems to import ok, i get code completion when i am writing. but when i tried to build, i get this error.
ld: framework not found Realm for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
i know that it's written here that I don't have to use Realm, but removing the Realm directory and checking it as "optional" did not help at all.
i am using xcode 7.2
thanks for any tips
The text was updated successfully, but these errors were encountered: