Hi guys. Please help with a problem. Trying to build the library linphone for iphone, do everything as written in the README, but there are errors in the build. Please help me how to fix it. Thank you.
libtool: link: xcrun ar cru .libs/libmssilk.a silk_dec.o silk_enc.o
libtool: link: xcrun ranlib .libs/libmssilk.a
Making install in sdk
/Applications/Xcode.app/Contents/Developer/usr/bin/make install-am
cd SILK_SDK_SRC_v1.0.9/SILK_SDK_SRC_FIX_v1.0.9 && /Applications/Xcode.app/Contents/Developer/usr/bin/make AS="as" AR="xcrun ar" RANLIB="xcrun ranlib" CC="xcrun clang -std=c99 -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk -miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS -fms-extensions -Wall" LD="xcrun ld -arch i386" lib
make[5]: Nothing to be done for `lib'.
make[5]: Nothing to be done for `install-exec-am'.
/usr/bin/install -c -D SILK_SDK_SRC_v1.0.9/SILK_SDK_SRC_FIX_v1.0.9/libSKP_SILK_SDK.a /Users/maksim/Sources/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/lib/libSKP_SILK_SDK.a
/usr/bin/install: illegal option -- D
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 file2
install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
[-o owner] file1 ... fileN directory
install -d [-v] [-g group] [-m mode] [-o owner] directory ...
make[5]: *** [install-data-local] Error 64
make[4]: *** [install-am] Error 2
make[3]: *** [install] Error 2
make[2]: *** [install-recursive] Error 1
make[1]: *** [build-mssilk] Error 2
make: *** [build] Error 2