[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Linphone-developers] (no subject)
From: |
liblinphone |
Subject: |
[Linphone-developers] (no subject) |
Date: |
Thu, 19 Jan 2017 17:30:47 +0100 |
User-agent: |
Horde Application Framework 5 |
hey everyone,
I'm trying since two days to compile an app using the liblinphone sdk
downloaded from here:
http://www.linphone.org/technical-corner/liblinphone/downloads
My Setup:
- Swift 3 app with a an objective-c wrapper class for liblinphone.
- Liblinphone SDK liblinphone-iphone-sdk-3.16.1.zip
- XCode Version 8.2.1 (8C1002)
- Some Dependencies included via cocoapods
I just copied the sdk into my project files folder and then added the
lib and the include folder to my project. Whenever I try to build
(either for simulator or on the device), I get a loooooot of warnings
and errors which are related to the architecture:
[...]
liblinphone-sdk/apple-darwin/lib/libmbedtls.a (3 slices)ld: warning:
ignoring file
/Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libgsm.a, missing required architecture i386 in file /Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libgsm.a (3 slices)ld:
warning:
ignoring file
/Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libbellesip.a, missing required architecture i386 in file /Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libbellesip.a (3
slices)
Undefined symbols for architecture i386:
"_linphone_call_get_play_volume", referenced from:
-[LinphoneWrapper getTrackingParameter] in LinphoneWrapper.o
"_linphone_call_get_average_quality", referenced from:
-[LinphoneWrapper getTrackingParameter] in LinphoneWrapper.o
"_linphone_call_get_duration", referenced from:
[...]
here's one example for the warnings:
ld: warning: ignoring file
/Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libswresample.a, missing required architecture i386 in file /Users/mheicke/Workspaces/XCode/PflegeTabNewProject/Extern/liblinphone-sdk/apple-darwin/lib/libswresample.a (3
slices)
they all look pretty much like this. It's the same for all other
architectures (if I try to build on a different device).
Does anyone know, what I'm doing wrong?
Best regards,
Mats
- [Linphone-developers] (no subject),
liblinphone <=