You should have already checked out the Mobile SDK source code. If you wish to build the SDK documentation you will also need to download and install AppleDoc. AppleDoc and instructions on how to install it can be found from the Appledoc website. If you do not wish to build the AppleDoc documentation you will need to edit the build script and comment out the command to build the documentation. The troubleshooting section of this documentation has further information on this.
-
Change into the following directory:
~/mobile_sdk/iOS/AlfrescoSDK
-
Run the following shell command: ./scripts/build_package.sh.
You may receive an error as follows:
Error: No developer directory found at /Volumes/Xcode/Xcode.app/Contents/Developer. \ Run /usr/bin/xcode-select to update the developer directory path.
Note: If you want to build a debug version of the SDK use ./scripts/build_package.sh Debug.This will build the libAlfrescoSDKv1.4.x.a static library file, which you will link to your applications that require to use SkyVault functionality.
- ./AlfrescoSDK/build/Release-iphoneos/libAlfrescoSDK-iOSv1.4.x.a
- ./AlfrescoSDK/build/Release-iphonesimulator/libAlfrescoSDK-iOSv1.4.x.a
- ./AlfrescoSDK/build/Release-universal/libAlfrescoSDK-iOSv1.4.x.a
- ./AlfrescoSDK/build/Release-macosx/libAlfrescoSDK-OSXv1.4.x.a