On 09/25/2017 05:14 AM, Jonny Rodin wrote:
> Hi,
> 
> I’ve been working on getting IoTivity to build for iOS and recently switched 
> from an earlier IoTivity 1.3.0 build to IoTivity 1.3-rel. With a some small 
> changes I successfully managed to get it to build and run as part of the Sure 
> Universal iOS client.
> 
> The following changes were necessary:
> 
> 1. Correction of the SDK path. This fix is at 
> https://gerrit.iotivity.org/gerrit/#/c/22507/
> 2. Changing line 42 of resource/SConscript to:
> 
>       if target_os not in ['arduino', 'darwin’]:

I assume the original three targets were excluded for some reason, but
have no idea. ios was added fairly recently, in change 7f8ac72a04.

> 3. Insert the following lines to 
> /Users/jrodin/Code/iotivity-repo/iotivity/service/resource-encapsulation/src/common/SConscript
>  instead of line 28:
> 
>       # Add third party libraries
>       lib_env = env.Clone()
>       SConscript('#service/third_party_libs.scons', 'lib_env')
> 
>       resourceClient_env = lib_env.Clone()
> 
>       rcs_common_env = lib_env.Clone()

Perhaps the problem is this same stanza in
service/resource-encapsulation/SConscript should be moved up so it is
before the calls to the SConscripts there.

We can work on those when your patch goes in for review.

> Is there a formal process for me to submit changes 2&3 into the IoTivity code 
> repository?

as noted, git push your patch using the gerrit port so gerrit will
intercept it and turn it into a review request. The first-time setup
should be in the page previously posted.
_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to