I am using PjSIP for SIP calling. I have integrated PjSIP project as per the instruction on
https://code.google.com/p/siphon/wiki/Compilation & How To Build and Compile PJSIP for Xcode, Using sample code IPJSUA to test?.
But when I opened the project, I found so many library with .a extensions are missing. Please find the screenshot for the same.
Is there anything which is missed by me or do I need to make changes or update anything ?
Also, let me know if any other library available for SIP calling.
Thanks in Advance.
Aakil.
It shows that library files are missing for compiling the project. Either you wrongly build your Project or you had changed the path of the library file into another place it doesn't know to access the library files.
To Build Your PJSIP project, Follow the below link to build for iphone:
Source: https://trac.pjsip.org/repos/wiki/Getting-Started/iPhone
To Add the missed library files into your project, go to your project target and select the Build phases tab. Click "+" in Link Binary with Library option in that tab and add your missed library.
Follow below link:
Source: adding an external library to a project in XCode 4.3
Related
I get errors of not finding the React/reactLog.h file and more files from various react native libraries.
Have tried cocapods and it says it is installing, but it seems as if it's not installed in any libraries.
The error is:
'FBSDKSharekit/FBSDKSharekit.h' file not found
Well, in any case you have to follow the instructions again from this link and double check everything:
https://github.com/facebook/react-native-fbsdk
However, in my opinion this error occurs if you don't download and put the FacebookSDK in your document folder and drag and drop it into your project. So check if you have downloaded it and put it there please. After Putting it there, you should go in your Xcode project in the Library -> RCTFBSDK.xcodeproj path and drag and drop FBSDKSharekit file from your facebook SDK folder(In your document folder) into the framework folder. You have to do the same thing with FBSDKCore and FBSDKLogin.
In addition you should check these two points:
1- FBSDK[Core, Login, Share]Kit.framework show up in the Link Binary with Libraries section of your build target's Build Phases.
2- Make sure that ~/Documents/FacebookSDK is in the Framework Search Path of your build target's Build Settings.
Then try to clean and compile the project. I hope it helps you.
I'm integrating unity project to native ios project in c++. But I'm getting error
ld: library not found for -lVuforia
clang: error: linker command failed with exit code 1 (use -v to see invocation)
while building xcode project.
I'm using
xCode : 8.2.1
Unity : 5.6.1f1
It doesn't look like you have the "Vuforia" library included in your build.
Under your Unity project, look for a file called Vuforia.framework. This file's inspector should have "iOS" marked in it, so it gets included in the generated Xcode project.
If you integrated a Unity scene using Vuforia, you should be able to see those libraries libVuforia.a and libVuforiaUnityPlayer.a at the path Demo/Vendor/Unity/Libraries/Plugins/iOS/
If you don't see those libraries you should try to integrate your Unity scene once again. If they're here, in Xcode go to Build Phases, then Link Binary With Libraries and make sure you have those above libraries as well as libiPhone.a (those are the libraries given by your Unity scene and you definitely need them), if not add them.
Also, I believe you followed a tutorial to integrate a normal Unity scene, however when you use Vuforia you need to make some other steps. For instance, you'll have to add the folder references of Data AND QCAR. I recommend you to try once again your integration with this tutorial which is more relevant to what you want to do.
I hope this will be useful to you and I wish you good luck in your integration.
Because your code cannot find libVuforia.a, which is library. You have to set "Library search path" at "Build Setting"
or use vuforia sdk
1. download vuforia sdk https://developer.vuforia.com/downloads/sdk
2. create or put your source code put in Sample folder in vuforia-sdk-ios-7-0-43
enter image description here
3.In your project Go to Target > Build Setting > Search Paths > Library Search Path. and Click +
../../build/lib/arm
4.In your project Go to Target > Build Setting > Search Paths > Header Search Path. and Click +
../../build/include
5.Run
I need to compile a library written in C in Xcode. For this I need to use a make file. How can I include a make file in my project?
Any link for writing a make file or sample of a make file for running on the iOS simulator would be helpful.
Also if I use cmake, then what commands do I use in the terminal to create a static Library for iOS simulator?
Thanks
First, your project generator is either Xcode or Make. You can't have a makefile in Xcode.
If you want to generate an iOS library from C/C++ sources, take a look at this google project. The project wiki explains how to use the iOS CMake toolchain. This will give you a .xcodeproj file. You can build and then link to that library from other iOS projects. Also there's this fork available on Github which you could take a look at.
If the target system is exclusively iOS, you could alternatively create a new iOS library project from scratch (no CMake) and throw in your sources manually.
I am newbie of IOS developer. I am facing some problems that is I want to use external libraries on my xcode project. These are libraries that i need to use..
I would like to know that How to add the external libraries on xcode. I put these libraries to the "include" folder under root folder of project. I facing this error.
but library files are already exist in that folder. please help me. Thanks.
You have to add the external library in your Build Phases further you can get easy help from this link or reply in comment
adding an external library to a project in XCode 4.3
Or go the project Choose Build Phases -> click the + sign to add one and then
Or in the above image click the button Add Other where you can tell the further path for the external library or click the link below for more help
https://developer.apple.com/library/ios/recipes/xcode_help-project_editor/Articles/AddingaLibrarytoaTarget.html
I want to use DCMTK in my application and have successfully compiled DCMTK 3.6.0 for the iOS Simulator. Then I created a workspace into which I added the DCMTK project and my application. I added the .a files as target dependencies and linked the binaries. I think I am missing the part where I have to set the header/library search paths. I try to include a header file say #include "dcm2xml.h" and it says file not found. What am I doing wrong?
I have seen this. -> How to use DCMTK in an iPhone project But I think there's a simpler way without using that framework.
you can find some info on how to compile dctmk for ios and simulator here,
and from here you can download a demo project which make use of the dcmtk. It will not display the image but will print the information found in some tags found in the file. I hope it will help you start.