User Tools

Site Tools


ios_build_instructions

IOS Build Instructions

To build for IOS, Xcode is required.

To Install Boost on iOS:

◾ 1. Download boost 1.58.0 from http://sourceforge.net/projects/boost/files/boost/1.58.0/boost_1_58_0.tar.bz2/download

◾ 2. Copy boost.sh and boost_1_58_0.tar.bz2 to ~ and execute boost.sh: $ chmod 755 boost.sh && ./boost.sh

◾ 3. Copy ~/boost.build/ios/framework/boost.framework to ~/iotivity-ios-port/extlibs/boost/ios/framework $ cp ~/boost.build/ios/framework/boost.framework ~/iotivity-ios-port/extlibs/boost/ios/framework/

Downloading and unpacking may fail due to network problem or required unpacking tool isn't installed. An message will be displayed, please follow the message to skip it.

To build boost for iOS:

$ cp ~/boost.build/ios/framework/boost.framework ~/iotivity-ios-port/extlibs/boost/ios/framework/

Downloading and unpacking may fail due to a network problem or if a required unpacking tool isn't installed. A message will be displayed explaining what to do if so.

 $ cd <top directory of the project>
 $ scons TARGET_OS=ios TARGET_ARCH=xxx TARGET_TRANSPORT=BLE RELEASE=no LOGGING=YES WITH_TCP=YES

(xxx can be armv7, arm64)

ios_build_instructions.txt · Last modified: 2016/08/04 01:54 by Dave Thaler