Error Runing on device Camera Demo

Hi,

I want to try to compile and run the camera demo on the device, I get the following error:
[DCC Error] E2597 NYI lto::isObjectFile
  NYI lto::archName
  ld: warning: directory not found for option '-FC:\Users\Omar Zelaya\Documents\Embarcadero\Studio\SDKs\iPhoneOS10.0.sdk\System\Library\PrivateFrameworks'
  ld: file was built for archive which is not the architecture being linked (arm64): E:\Components\TMS\iCL\librtlhelper.a for architecture arm64

Project settings are Device-64bit-iPhoneOS10
Any hint?

Thanks in advance,

Omar Zelaya

Hi, 


The librtlhelper.a that is deployed through TMS iCL is 32 bit only.
Can you try with these files instead?

http://www.tmssoftware.net/public/librtlhelper_ios.zip

Hi,

Can you give me a hint on how to create librtlhelper.a 64 bit from the sources you have provided or by adding these files to the project will remove the need of the librtlhelper.a file?

Thanks in Advance,

Omar Zelaya

Hi, there are 2 libs included, a 32 and 64 bit version. for a 64-bit version you need to link with the lib file in the folder which has "64" in its name

Hi,

Opps..Sorry...I was looking on a incorrect zip file.

Thanks,

Omar Zelaya

How can I combine the 32 and 64 bit version, because when I compile said project under universal mode when I place the 64bit version of the file it fails when the 32bit version is being link.  

Hi, 


I suppose 32-bit version is no longer supported by Apple on iOS 11?
If you still planning on creating an universal application. You should have a define that can be used to compile between 32 and 64 bit:

http://docwiki.embarcadero.com/RADStudio/Tokyo/en/Conditional_compilation_(Delphi)

Pieter Scheldeman2018-02-05 08:50:54

where in the source code said file is declared.  

Hi, 


The librtlhelper.a is a file Embarcadero has released. It should no longer be necessary to deploy this file with your application, if you are using RAD Studio Tokyo update 2.