[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-developers] How to get code compatible with iOS 5?

From: BIENKOWSKI Guillaume
Subject: Re: [Linphone-developers] How to get code compatible with iOS 5?
Date: Sun, 9 Feb 2014 10:40:33 +0100

That was lucky :)
We changed the zrtpcpp submodule URL, so for your complete checkout to work, you'd need a `git submodule sync`:

git clone ...
git checkout 2.1.2-store
git submodule sync
git submodule update --recursive --init


On Sat, Feb 8, 2014 at 1:29 PM, Saumar Hajjar <address@hidden> wrote:
That worked:

git clone git:// --recursive

build submodules
git checkout -f 2.1.2
build the app with XCode

Em 7/2/2014 23:44, Saumar Hajjar escreveu:

Today I cloned the iOS source code using the documented way:
git clone git:// --recursive

After compiling the libraries (make all) and building the XCode project, when trying to run on my iOS 5.1.1 device, I got a crash at LinphoneManager.m:

        //init audio session
        AVAudioSession *audioSession = [AVAudioSession sharedInstance];
        BOOL bAudioInputAvailable= audioSession.inputAvailable; /* HERE */

Because AVAudioSession::inputAvailable requires iOS 6

As the AppStore version obviously works on my iPad 1, I was probably checking out the wrong source.

Browsing the list, I found this thread with a possible solution, where Gillaume instructed some additional steps to get the "right" source code:
git clone git:// --recursive
cd linphone-iphone
git checkout 2.1.2 # get the tag
git submodule update --recursive --init # checkout submodules to the version

But last command gives a bunch of errors that make it impossible to compile the libraries:
Submodule path 'submodules/belle-sip': checked out '13774a023ec843945b87652eb4e3781669add838'
Submodule path 'submodules/externals/srtp': checked out '14027d37c7574b27bf22e57f508137b4e86b6466'
fatal: reference is not a tree: bfbfcab72dfa27862b05607d18bb24b6f8395fcf
Submodule path 'submodules/linphone': checked out 'df6e200585a62d95034032eef996fedf5a3f2015'
Submodule path 'submodules/linphone/mediastreamer2': checked out '785a5d8f76c336a51f8a21997e9dcaee669d4ec4'
Submodule path 'submodules/linphone/oRTP': checked out 'b5d1414e63b21c83eb8e26988a3fe423ff8fc3b3'
Unable to checkout 'bfbfcab72dfa27862b05607d18bb24b6f8395fcf' in submodule path 'submodules/externals/zrtpcpp'

How can I get the correct source code that is still compatible with at least iOS 5?



Linphone-developers mailing list

Linphone-developers mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]