I want to use OpenCV framework in my project. But while building opencv from source , i am getting errors. I am using this link to install opencv
I am getting this error in terminal of which i am attaching images.
i also used opencv2.framework which is already built and add this in my project but its showing linker error.
Please help me to use openCV.
Thanks in advance. . . .
Here's how to fix it...
Google your error: "xcrun error: could not stat active Xcode path"
Click on the first link and go to
xcrun: Error: could not stat active Xcode path '/Volumes/Xcode/Xcode45-DP1.app/Contents/Developer'. (No such file or directory)
if still unclear try the next couple of links
change xcrun developer path
Resolved: Error “Could not stat active Xcode path”
When Google and SO fail you, come back here explaining what you have tried (and post your text errors as text not image!)
As regards your linker error (what linker error? post it!) my answer here might help
How to resolve iOS Link errors with OpenCV
Related
I'm trying to build a simple app in Xcode however I'm getting this error saying build failed
:0: error: PCH was compiled with module cache path '/Users/apple/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/5JW54F8EE7JD', but the path is currently '/Users/Neil/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/5JW54F8EE7JD'
:0: error: missing required module 'SwiftShims'
what can I do to solve it?
You can try delete derived data of your app and then clean and build app, you can follow the steps of the following link https://programmingwithswift.com/delete-derived-data-xcode/. Also, you can follow this link Fixing Xcode
I am using Xcode 8.2.1, Swift 3, and IOS 10.2 (for iphone simulator). I am trying to follow this tutorial https://www.raywenderlich.com/139322/firebase-tutorial-getting-started-2
I have not gotten to the Firebase stuff. Right now I am just trying to build and compile the starter code (should run fine). When I do this, however, I get the following error:
ld: library not found for -lPods-Grocr
clang: error: linker command failed with exit code 1 (use -v to see invocation)
How do I fix this? PS. I have done a pod install successfully.
When I first began working with Firebase I encountered many issues like this and for a while wondered if scrapping the whole Application and restarting was the best option. In the end the fix was simply, getting rid of the modules inside my app and uninstalling the pods then going back through the process of installing them. Sometimes a file will be place in the wrong directory so when the app goes to build it is looking for something that cannot be found and it fails. Good luck let me know if you have any more questions or issues.
I am using podfile for one of iOS project developed with xcode 7.2. It builds without error with simulator and device, also related libraries works properly.
But when I try to Archive app to create build it fails with error log as
clang: error: no such file or directory: 'Crittercism'
clang: error: no such file or directory: 'DownPicker'
I have tried with reinstalling these two pod-libs from terminal, Cleaning derived data. Also making its search path as recursive and referred many other stack overflow related questions and answered but none of them worked in my case.
This has ruined my life since last day. Please help. Any help is appreciated.
Please check the attached image for more details.
I'm trying to fix an existing project. To make some bugfixes. When I first opened the project, the libraries where missing so I've linked them again. Because the project was on a private Git.
When all libraries were linked again I received this error. I already tried to delete my DirevedData, but there was no change.
Is there anybody who understands this error and who's willing to help me with it?
Thanks!
I've changed the folders of my project so the warnings of "Directory not found are OK" But now I received following error.
I have the following errors in xcode below, any ideas what's causing these?
arm-apple-darwin10-llvm-g++-4.2: /Users/<foldername>/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/libbtexternal.a: No such file or directory
arm-apple-darwin10-llvm-g++-4.2: /Users/<foldername>/Library/Developer/Xcode/DerivedData/Build/Products/Debug-iphoneos/libbtexternal.a: No such file or directory
lipo: can't figure out the architecture type of: /var/folders/1x/_btz9s41381cdzz41ty0r5fm0000gn/T//cc8KPWhc.out
error: linking step of external dylib build failed, probably due to missing framework or library references - check the contents of the btexternal.ios file
Command /bin/sh emitted errors but did not return a nonzero exit code to indicate failure
Please check that are you having the file libbtexternal.a. If not then add it to your project after this go to the project and there is option Build phases. You find here four rows in which you have to select Link Binary with Libraries and add your .a file to the frameworks you are seeing here. I think it will work, If not then tell me.
Hope this helps.