Iotivity iOS reference links. Steps to install Iotivity framework on Mac

290 views Asked by At

I'm trying to build iOS sample application using Iotivity framework. I followed the steps given in official instruction to install. I've stuck on the third step, the following command:

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

Is executed with the error:

path not found.

Is there any sample projects to understand this?

2

There are 2 answers

2
Mats Wichmann On

Those instructions don't look very useful, they may be outdated (although they're only a year old, looks like). Have you followed other steps elsewhere for setting up your environment (git clone, etc)? Does the path you are copying to exist (if you take the literal instruction, the git tree has to be at ~/iotivity-ios-port)? I would actually expect that boost needs to be added to xcode to be useful to the build, rather than have a local copy in extlibs.

0
user3771308 On

I hope to help you.

  1. change "/iotivity-ios-port" folder as your iotivity path.
  2. and make ios/framework.

For example, I use Iotivity folder than use like below.

  1. I go to Iotivity forder.
  2. I find Iotivity/extlibs/boost
  3. I make two folder ios and framework which has same path as below.
  4. in console, I do cp ~/boost.build/ios/framework/boost.framework ~/iotivity-ios-port/extlibs/boost/ios/framework/