BelledonneCommunications / linphone-xamarin

Linphone.org mirror for linphone-xamarin (git://git.linphone.org/linphone-xamarin.git)
https://www.linphone.org/
GNU General Public License v3.0
26 stars 21 forks source link

SDK build fails at submodules/linphone #24

Open MrAndrewAu opened 5 years ago

MrAndrewAu commented 5 years ago

Currently trying to build the Xamarin SDK on Mac OS, because the nightly build doesn't work as mentioned by others in Issue #21. I've followed the linphone SDK to setup the development environment. When the build reaches submodules/linphone, I get the following error:

clang: error: invalid argument '-mmacosx-version-min=10.13' not allowed with '-miphoneos-version-min=8.0'

People suggest removing the '-mmacosx-version-min=x.x' flag altogether. Doing that gets me further ahead, but then I end up with hundreds of these errors:

/System/Library/Frameworks/Security.framework/Headers/cssmtype.h:145:5: error: 'CSSM_GUID' is unavailable: not available on iOS

/System/Library/Frameworks/Security.framework/Headers/cssmtype.h:146:5: error: 'CSSM_VERSION' is unavailable: not available on iOS

...

Any help would be greatly appreciated it.