I am getting that error when compiling project in XCode on Mac OSX Mountain Lion
clang: error: no such file or directory: '/Users/bartg/Library/Developer/Xcode/DerivedData/storeq-osx-gifnhelgkswbtpdzwjxydyudncxu/Build/Intermediates/PrecompiledHeaders/storeq-osx-Prefix-dskqrphwleosxlcoaimwmmhoneea/storeq-osx-Prefix.pch.dia'
I spent a lot of time searching the web and found no solution. Anybody knows why this is happening?
If you are using CocoaPods 0.18.0, this might be cause by CocoaPods and is fixed in https://github.com/CocoaPods/CocoaPods/issues/956
Related
Hi I am building an app using ionic2 and recently installed the push plugin (I'm normally a windows user) I wanted to install this on iOS so on my Mac mini I installed push plugin then was required to install cocoa pods which I did.
Now when I try to install my app in Xcode on an actual iPhone device I get the error in Xcode:
ld: library not found for -lPods-MyApp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Showing Recent Errors Only
ld: library not found for -lPods-MyApp
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have no idea how to debug this and am at a complete loss. I have tried ionic platform rm iOS then add iOS but I still get the same error.
Anyone else had this issue or can point in the right direction? A day spent on this so far and still banging my head against the wall!
Thanks
Makesure you are opening the .xcworkspace file not the .xcproject after the PODS installation is completed. You may also refer to this answer: Error "library not found for"
Hi I have iMac with OS X Yosemite version 10.10.3 and I've installed the last Xcode 6.3 beta 2 with Swift 1.2 and when I try to Run the App I receive:
Check dependencies
Unable to determine compiler to use - the abstract compiler specification is missing from this Xcode installation.
and everytime when I open my project with Xcode I receive a warning:
warning: no rule to process file '/Users/Bogdan-iMac/Desktop/My App/My App/My_App.xcdatamodel' of type wrapper for architecture x86_64
and I have to open Build Phases in Compile Sources I have to remove My_App.xcdatamodel and add it again to prevent the warning
Link in Apple Dev Forums: https://devforums.apple.com/thread/263126
I had the same problem. Restart helped, even under Yosemite 10.10.2
I had the same problem here. The error disappeared after upgrading Yosemite to version 10.10.3 (14D87h) from today.
restart XCode-Beta helps me! And my Yosemite is 10.10.3 Xcode is Version 6.3 (6D532l)
This issue appeared after an upgrade from Mountain Lion to Mavericks, with no code changes in between.
I have installed OpenCV 2.4.5 using Homebrew. This isn't the latest version of OpenCV, but I have not upgraded because I had incompatibility issues when I tried before. I have a project in Xcode that built fine pre-Mavericks, but seemed to be unable to find Homebrew's opencv build after the upgrade.
The Xcode project's Header Search Paths have:
/usr/local/Cellar/opencv/2.4.5/include
and the Library Search Paths have:
/usr/local/Cellar/opencv/2.4.5/lib
The project builds fine. When I try to run it, I get:
dyld: Library not loaded: lib/libopencv_video.2.4.dylib
Referenced from: <executable path>
Reason: image not found
/usr/local/Cellar/opencv/2.4.5/lib has the file libopencv_video.2.4.5.dylib in it. It does have an alias libopencv_video.2.4.dylib, which points to libopencv_video.2.4.5.dylib. In the "Build Phases" of my target, under the heading "Link Binary with Libraries", I have libopencv_video.2.4.5.dylib
How can I get Xcode to link with the correct library?
Note:
I have already tried the solution here.
It appears I may be able to do the same thing as here, but that looks super-clumsy.
Appears to be resolved by uninstalling and re-installing the opencv formula through homebrew
I just updated to OS X Mavericks and it seems it messed up my whole compiler setup. Not only do I have to reinstall a JDK in order to use a Java compiler, I get the following error when I'm trying to compile C/C++ using GCC/G++:
/usr/local/Cellar/gcc/4.7.2/gcc/lib/gcc/x86_64-apple-darwin12.2.1/4.7.2/../../../../include/c++/4.7.2/cwchar:46:19: fatal error: wchar.h: No such file or directory
Not sure what to think other than upgrading messed it up. My question is: how do I set up g++ to compile on OS X? If it's already set up, what is the problem here?
If I can provide more information, please let me know.
Note: I've installed gcc 4.7 using homebrew, but it doesn't seem to work. When I use g++-4.7 code.cpp specifically, I get the same error.
Installing the Command Line Tools (OS X Mavericks) for Xcode - Late October 2013 solved it for me. Here is the link:
OSX: Xcode Downloads
The often mentioned xcode-select --install command kept saying it cannot find the requested software.
To clarify: You need to already have gcc-4.7 installed using Homebrew. The update to the latest version of CMD Tools only fixes compatibility issues caused by upgrading from Mountain Lion to Mavericks.
I have a Mac OS X project that compiles fine under 10.6, but then I compile it on my 10.7 machine I get the following link error:
ld: warning: directory not found for option '-L/Developer/SDKs/MacOSX10.7.sdk/usr/lib/gcc/i686-apple-darwin10/4.0.1'
The MacOSX10.7 SDK is installed and it does show up in xcode 4 as one "Latest Mac OS X" in Build Settings. I have "i386 x86_64" for my Valid Architectures setting.
I'm pretty sure it's just some Build Setting I've got wrong, but I can't for the life of me find it. Anyone know what is causing this?