On 06/21/2018 05:27 AM, [email protected] wrote:
> Hi,
> 
> I have downloaded iotivity 1.3.1 version and downloaded boost framework as 
> well. using command terminal, i have generated .a files for different 
> architecture like armv7, armv7s, arm64, i386, x86_64 using following command 
> for release:
> 
> scons TARGET_OS=ios TARGET_ARCH=armv7 TARGET_TRANSPORT=IP SECURED=1 
> RELEASE=YES
> 
> I got .a file which doesn't contain bitcode enabled. Using this .a files, 
> created FAT file and generated IoT ivity static framework. After integrating 
> this framework, i am able to run in simulator but it is giving error for 
> device as screenshot attached. 
> 
> from my understanding, the screenshot says .a files doesn't have bitcode. so 
> please guide me to add script in sconscript file to generate .a file with bit 
> code enabled.
> 
>  
> 
> Also I have given a try in two Sconscript located in 
> 
> * Build_Common/iOS - env.AppendUnique(CCFLAGS= ['-fembed_bitcode'] )
> * Build_Common/darwin - env.AppendUnique(CCFLAGS= ['-arch', target_arch, 
> '-isysroot', sys_root, '-fembed_bitcode'] )
> 
> but got below error, kindly check the screenshot.

my copy of this does not have any screenshots. I can see at least a
couple in-line here:
https://lists.iotivity.org/g/iotivity-dev/message/9722.  In general I'd
suggest against screenshots, please copy in the text instead, or
describe your problem further: if someone is looking through the
archive, searching isn't going to work on images attached and that
really reduces the value of the archive.

Wish I could help further, I don't know anything about the use of
bitcode for iOS beyond what I've read in some brief searches.  We don't
currently have a maintainer for the Mac/iOS port, and in fact it's no
longer a supported port.  If you guys are OCF members, you might see if
any of the people on the dmtools list know more about this
(https://workspace.openconnectivity.org/apps/org/workgroup/dmtools/)...
I believe I've seen that their demos intent to support iPhone - could be
wrong because I can't find that reference now.

> 
> My friend also tried above methods by following IoTivity group members 
> suggestion. Please find attached screenshot of discussion.

you don't nee to do this; it is sufficient to point to the discussion in
the archive - the information on the list is in the footer of every message:

> 


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#9723): 
https://lists.iotivity.org/g/iotivity-dev/message/9723
Mute This Topic: https://lists.iotivity.org/mt/22499995/21656
Group Owner: [email protected]
Unsubscribe: https://lists.iotivity.org/g/iotivity-dev/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to