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
framework not found EVReflection #23
Comments
Do you have an iOS or an OS X target? I believe I added OS X support in a later version than 2.6. As you can see in the readme the 2.6 version is for Swift 1.2. If you use Swift 2.0 then you can just use the latest (currently 2.11) by removing the 2.6 specifier. So your pod file will just have this: pod "EVReflection" |
i'm using iOS |
i tried also on a new project |
after doing a pod install you have to open the workspace and not the project. Did you do that? In your project navigator you should see your project plus a Pods project. And if you do a filter for EVReflection on the files it should find EVReflection.swift |
I see that you have 2 workspaces. I assume that the pod install created the project.xcworkspace. |
i record the steps that I did: https://www.youtube.com/watch?v=R6YzT8IyGEA&feature=youtu.be https://www.youtube.com/watch?v=wsaVHLt-b0s&feature=youtu.be https://www.youtube.com/watch?v=XpmkcyP8Imc&feature=youtu.be where I do mistakes? thank you |
Ah, there is only 1 thing whats not standard. I think the chance is big that this is the problem. |
how do i fix it? thank you |
When you start from scratch with a new project, then assume you create that project in folder /xxx/yyy/newTestApp If you want to fix an existing project, then move the podfile out of the .xcodeproj folder into it's parent folder. |
thank you! I fixed it! just last thing: do i have to open workspace everytime? or i can open the project from xcodeproj ? thank you |
If you open the project, then you wont't have the pod framework. You need that. So you always have to open the workspace. This is default cocoapod behaviour. Once you get used to using libraries with cocoapods you never want to develop without them :) |
I'm having the same error, ld: framework not found EVReflection |
I seem to get framework not found or (library not found) for whatever cocoapod I install. I'm thinking our project file has some non standard setup. :-/ |
@qvivr-cris If you go to your project settings, build phases and look at the link binary with libraries, Do you see a Pods_yourapp.framework there? (after doing a pod install) |
Mac OSX 10.11.1
Xcode 7.1
I installed the library following this steps:
Open Terminal and execute: $ sudo gem install cocoapods
Navigate to my Project folder (example /Users/myName/Documents/APP/APP.xcodeproj).
Setup Cocoapod: pod setup
Create the Podfile: touch Podfile
Open the Podfile: open -e Podfile
Insert code for Podfile:
use_frameworks!
pod "EVReflection", '~> 2.6'
Finally install the Podfile pod install
when I run the app I receive this error:
ld: framework not found EVReflection
clang: error: linker command failed with exit code 1 (use -v to see invocation)
The text was updated successfully, but these errors were encountered: