In my iOS app project I'm using GrabKit Library for importing photos. I followed each and every instruction to integrate the library GrabKit within my app but after final step I got this error,
clang: error: no such file or directory: '/Deepak/..../Library/Developer/Xcode/DerivedData
/MyProject-biphcewlydbubuapltrppubuyjvx/Build/Products/Release-iphoneos/GrabKitLib.a
Also the Grabkitlib.a is shown in RED under Build Phase > Link Binary With Libraries tab.
I am using XCode 5.0.2, and app is for iOS 7. If anyone faced the same the same issue or know the solutions please help me with this.
Thanks
Related
So my app has run and built successfully on the Xcode simulators. The app is a react native app
However when trying to put it onto a device I get the error.
What steps do I need to take to get this to work?
Library not found for -lDoubleConversion
Notes:
-I am running the Xcode workspace file
-I did try use_framework! in the Podfile but I don't think that was right and caused more issues
also tried adding it to the podfile
The reason I had this error is that my iOS version required in my podfile was not the same as that as the min version in xcode.
The error generated by xcode wasn't helpful in this case and pretty ambiguous given the range of answers on the internet
All kind time of day. The project on Swift uses the SDK for blueTouth printer Mini Thermal Printer POS-5805DD. The libPrinterSDK library (included with the printer) has been added to the root of the project.a and the PrinterSDK header file.h, header-file is connected via bridge, when you run the project on a real device-everything works correctly, no errors occur. But when you try to build a project to upload to the AppStore, at the very end when linovke libprintersdk library.a an error appears:
ld: bitcode bundle could not be generated because
'/Users/ivan/Documents/MyProject/PrinterSDK/libPrinterSDK.a
(GCDAsyncSocket.o)' was built without full bitcode. All object files
and libraries for bitcode must be generated from Xcode Archive or
Install build file
'/Users/ivan/Documents/MyProject/PrinterSDK/libPrinterSDK.a' for
architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
If there is any experience of building a project with libPrinterSDK files.a and PrinterSDK.h, I would really appreciate any help. Thanks.
Im not sure your project has turn Enable Bitcode off yet, if not, try to set No like this image below and Archive project again.
If it doesn't work, you can refer here
In xcode 10 I am able to build the project in debug mode but in Release mode, build failed with the following error.
ld: library not found for -lRNTuneSDKBridge
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I am developing the project with React Native. It was working fine in xcode 9, after updating xcode this error comes.
Any one faced this problem? How can I resolve it?
Any help appreciated.
Thanks in advance.
You need to link the package to the library. Just follow this steps:
1- Drag and drop the iOS file of package TuneSDKBridge inside the library in Xcode
2- add it in both build phase and build setting
For more information you can find everything in the following link:
https://facebook.github.io/react-native/docs/linking-libraries-ios
I hope it is useful for you.
I know this has been posted about a million times but I still can't figure out what's going on.
This is an Ionic 3 project that already works and builds fine on Android. I am now trying to build it for iOS and I'm getting this error when building in Xcode. I already checked my Link Binary With Libraries build phase and there are no pod files in there. Also I am in the .xcworkspace file, not the .xcodeproj.
Apple Mach-O Linker Error
Linker command failed with exit code 1
When I build using ionic cordova build ios I get an error code 65 for build command xcodebuild.
Edit: After some more digging I think I found a more specific error, Framework not found FileProvider for architecture x86_64.
I would like to give an alternative here. That is you can use Ionic Package service.
Ionic Packages makes it easy to build a native binary of your app in
the cloud. Perfect for developers using Windows that want to build iOS
apps.
This lets you:
Send your packaged app to others
Build your app for platforms not supported by your computer (e.g. iOS
builds on Windows)
Build .ipa and .apk files that you can submit to app stores
I am currently porting an existing mobile web application to IOS using PhoneGap. I wanted to test the IOS application using Frank/Calabash. I am currently facing the same issue using either of the test frameworks. For both Frank and Calabash when I try to build the app I get the following error
clang: error: no such file or directory: 'UIKit'
clang: error: no such file or directory: 'AVFoundation'
clang: error: no such file or directory: 'CoreMedia'
In fact these frameworks do exist in the iPhoneOS6.1 SDK.
To narrow down the problem I created a demo HelloWorld PhoneGap application and tried Frank and Calabash but got the same error.
Demo app is available at https://github.com/jmadan/phonegap-hello.git
XCODE version used = 4.6.3
Cordova version = 3.0.3
IOS version = 10.8.4
Has anyone else faced the same issue??? If Yes then any suggestions?
We had the same error using calabash and frank. To fix this it was a bit hit and miss but we found that running the cordova build again to create the whole ios app fresh eg. no frank or calabash stuff in there, then putting only calabash into it worked and was able to compile and run tests.
How ever you may later run into issues with CDVViewController.h not being found or you could find that it works but if your trying to automate your tests through an ant script etc. then it will complain about not running the cucumber command in the correct place where cordova compiled your .app file so beware of this. You may need to do some clever file copying and edit your APP_BUNDLE_PATH when you get to this point.
Hope that helps...