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"
Related
I try to build and deploy my Xamarin WatchOS App on a real Apple Watch Gen.5 and get these three errors.
Native linking failed undefined symbol: _GetProductInfo. Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in.
linker command failed with exit code 1 (use -v to see invocation)
Native linking failed. Please review the build log.
What I figured out so far:
I use the Microsoft Azure Devices Client Package version 1.26 in my App, when I delete any reference to this package, the app builds just fine and I can run the app on my Watch, I think somewhere here is the problem. But in the Simulator my App runs with reference to this Azure package just fine.
Any help would be appreciated!
Environment:
macOS 15.4
Visual Studio for Mac 8.6.3
Xcode 11.5
grpc/grpc.h file not found error when building flutter project in xcode.
I reinstalled and updated all Cocoapods. No errors.
From Terminal, already ran flutter clean, flutter doctor (see below).
flutter build ios returns the following message:
Xcode build done. 5.4s
Failed to build iOS app
Error output from Xcode build:
** BUILD FAILED **
Xcode's output:
↳
In file included from
/Users/.../ios/Pods/gRPC-C++/src/cpp/thread_manager/thread_manager.cc:19:
In file included from
/Users/.../ios/Pods/gRPC-C++/src/cpp/thread_manager/thread_manager.h:27:
/Users/.../Documents/name_gifts_v2_working/ios/Pods/gRPC-C++/src/core/lib/gprpp/sync.h:22:10: fatal error:
'grpc/impl/codegen/port_platform.h' file not found
#include <grpc/impl/codegen/port_platform.h>
1 error generated.
Installing libgrpc++-dev and libgrpc-dev packages fixed this issue for me on Ubuntu. Try to find equivalent packages for your OS.
I've just started a brand new Crystal app, added Kemal, and when building the "Hello World!" app from the Kemal documentation, I get:
$ crystal build --release src/orderprinterlinks.cr
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
On OSX 10.12.4
Any ideas why the library is not being found?
FIXED! Error was unrelated to Crystal / Kemal.. running the below command fixes the issue:
xcode-select --install
Seems the XCode CLI tools are removed silently when upgrading XCode versions, so this adds them back in, then everything works!
$ xcode-select --install
$ xcode-select --switch /Library/Developer/CommandLineTools
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
I trying to install the application into my device, i am getting lots of warning messages and one error.
I am using MAC 10.7 and Xcode 4.1
warning: no rule to process file '$(PROJECT_DIR)/ThirdParty/ShareKit/Customize UI/SHKCustomShareMenu.m' of type sourcecode.c.objc for architecture i386
Error: Command /usr/bin/codesign failed with exit code 1.
can anybody help me
Thanks in advance.
Please check project setting add the Architectue "armv6" if missing, because Apple drops the armv6 architecture in iOS5 and refer this.