ld: warning: directory not found for option '-F/Users/igorkhomenko/workspace/quickblox-ios-sdk/Framework'
ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am new to ios development and quickblox
I get this kind of error..what it is about ? M i missing to add some file .
you seem to have used cocoapods to add this library to your project.
Cocoapods creates, and requires you to use, an xcworkspace file to manage your Xcode project.
This is an error that occurs when you are still using the xcodeproj file instead of the xcworkspace.
Either that or your cocoa pods setup is broken. Try running pod install again or see the website to fix it.
Did you add the quicklblox library through Target Settings -> Build Phases -> Link binary with libraries -> + button?
Related
I installed OCMock using cocoapod for my test project
target 'ProjectTests' do
use_frameworks!
pod 'OCMock'
end
In My test project, Build Phases -> Link Binary with Libraries, I added OCMock.framework (Under Pods). But the actual file doesn't seem to exist there. Am I missing something?
In Build setting, updated Header/Library search path with '/Pods/OCMock/Source/**' (recursive).
My headers are getting referenced, but when I try to the tests I get an error
ld: framework not found OCMock
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Can anyone help me resolve the issue?
I'm integrating firebase into my react native application, basically for authentication and firestore database. Although I followed the installation instructions from the React Native Firebase, when I tried to build from the xcode, it gives me an error:
ld: framework not found FIRAnalyticsConnector clang: error: linker command failed with exit code 1 (use -v to see invocation)
I'm using Pods to build the project. Any help on this?
I found the solution to the question.
It's just adding the .framework files into the linked framework.
i.e:
from the xcode, open the Pods folder,
**
Pods -> Pods -> FirebaseAnalytics -> Frameworks ->
FIRAnalyticsConnector.framework
**
and add that file into the General -> Linked Frameworks and Libraries.
After I remove the pod file, I get an error of
ld: framework not found Alamofire
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Wondering where can I remove the framework? Tried to go Targets, then go Linked Framework and Libraries. I can't see the Alamofire framework exists. Also, in the framework search path, I also can't see a path for Alamofire.
Go to other linker flags in target->build settings. Then remove the frameworks.
I tried installing some Cocoapods based on some instructions online and the whole process went as described. But I now get an error:
ld: framework not found Pods_Happ
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I tried installing a pod called "WCLShineButton". I think it has something to do with my app's framework because the "Pods_Happ.framework" is red:
Pods_Happ.framework red
Close the .xcodeproj file and open the .xcworkspace file in Xcode instead.
CocoaPods wraps your Xcode project (.xcodeproj) into an Xcode workspace. After that you should always work with the workspace instead of the project.
I installed the braintree pod a long time ago in my .workspace project and tried to build my app in the .xcodeproj but am getting this error
ld: library not found for -lPayPalMobile
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Afterwards, the .workspace failed for the same reason. I have never had any problems building the app in the .workspace before this. I searched around for the solution, but nothing has worked so far.
I am not actually using braintree in my project and don't mind removing the framework altogether.
edit I tried updating the pod and got this message
[Debug]target overrides theFRAMEWORK_SEARCH_PATHSbuild setting
defined inPods/Target Support Files/Pods/Pods.debug.xcconfig'. This
can lead to problems with the CocoaPods installation
- Use the $(inherited) flag, or
- Remove the build settings from the target.
edit 2 I deleted the braintree pod and its working fine in the .workspace file, but now the .xcodeproj has this error
ld: library not found for -lPods-AFNetworking clang: error: linker
command failed with exit code 1 (use -v to see invocation)
I searched the project and couldn't find there AFNetworking was (but in my command line it says that pod AFNetworking is being used)
A few things. One - Make sure you're only using one .xcworkspace at a time. Also, did you open .xcworkspace or .xcodeproj? Are you trying to build custom configurations? The only other thing I can think of is your schema containing spaces.