This is source tree for the ACE App for iOS.
This github project is automatically built via Travis.
The .travis.yml
file is what directs these Travis automated builds. This includes all bootstrapping and preparation of a build environment, including all of the steps below.
These are the steps you can follow to build ace-ios locally.
-
Ensure you have Xcode installed
-
Prepare your build environment:
./Tools/prepare.sh
- Pull the ace-ios repo and init the submodules:
git clone git@github.com:VTCSecureLLC/ace-ios.git
cd ace-ios
git submodule update --init --recursive
- (re)Build the SDK:
./prepare.py -C
./prepare.py -d devices -G Ninja -DENABLE_WEBRTC_AEC=YES -DENABLE_VCARD=YES \
--build-all-codecs make -j 8
You should now see a liblinphone-sdk directory with Linphone SDK library build assets.
- Build a debug build of the app:
xcrun xcodebuild -project linphone.xcodeproj \
-scheme linphone \
-sdk iphoneos \
-configuration Debug build \
CODE_SIGNING_REQUIRED=NO \
CODE_SIGN_IDENTITY="" \
CODE_SIGN_ENTITLEMENTS=""
This will build a .app
, but will not generate an archive .ipa
for a device. You will not be able to run this.
- If all of that went well, you should be able to run it in Xcode on your device. Use Xcode "run" to run the app on your device, or archive the app to an
.ipa
to distribute.
For examples of how the Travis build does a release to HockeyApp, see the Tools/release.sh
script.