RTC Forums
November 24, 2024, 01:49:27 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Have you looked at iOS support for XE4 ?  (Read 5140 times)
mthand
RTC Expired
*
Posts: 17


« on: June 21, 2013, 01:34:06 PM »

It looks like XE4 does not use the FPC stuff anymore.  That's better as far as creating native iOS apps, but seems like it causes a problem for using RTC on iOS.

Have you done any investigation into getting RTC to work with iOS in XE4 ?
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: June 21, 2013, 01:40:47 PM »

Have you tried the latest RTC SDK version with XE4 for iOS?
Logged
mthand
RTC Expired
*
Posts: 17


« Reply #2 on: June 21, 2013, 07:27:31 PM »

I had no idea it even existed.
Maybe I need to check on my subscription status - that news never got to me.

But I'm really looking forwards to seeing it - thanks !
Logged
mthand
RTC Expired
*
Posts: 17


« Reply #3 on: July 06, 2013, 02:15:27 AM »

Well I got XE4, working well to make IOS programs, and RTC works in a VCL program, but I got stuck when I started trying to add RTC in a FireMonkey Mobile project.

When i try to compile there is an error message

Code:
Checking project dependencies...
Compiling Project2.dproj (Debug, iOSDevice)
dcc command line for "Project2.dpr"
  c:\program files (x86)\embarcadero\rad studio\11.0\bin\dcciosarm.exe -$O- --no-config -M -Q -TX. -AGenerics.Collections=System.Generics.Collections;
  Generics.Defaults=System.Generics.Defaults;WinTypes=Winapi.Windows;WinProcs=Winapi.Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE -DDEBUG
  -E.\iOSDevice\Debug -I"c:\program files (x86)\embarcadero\rad studio\11.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\rad
  studio\11.0\lib\iOSDevice\Release";E:\rtcxe4\Lib -LE"C:\Users\Public\Documents\RAD Studio\11.0\Bpl\iOSDevice" -LN"C:\Users\Public\Documents\RAD
  Studio\11.0\Dcp\iOSDevice" -NU.\iOSDevice\Debug -NSSystem;Xml;Data;Datasnap;Web;Soap; -O"c:\program files (x86)\embarcadero\rad
  studio\11.0\lib\iOSDevice\Release";E:\rtcxe4\Lib -R"c:\program files (x86)\embarcadero\rad studio\11.0\lib\iOSDevice\Release";E:\rtcxe4\Lib
  -U"c:\program files (x86)\embarcadero\rad studio\11.0\lib\iOSDevice\debug";"c:\program files (x86)\embarcadero\rad studio\11.0\lib\iOSDevice\Release";
  E:\rtcxe4\Lib --syslibroot:"C:\Users\Mitchell\Documents\RAD Studio\SDKs\iPhoneOS6.1.sdk" --frameworkpath:"C:\Users\Mitchell\Documents\RAD
  Studio\SDKs\iPhoneOS6.1.sdk\System\Library\Frameworks";"C:\Users\Mitchell\Documents\RAD Studio\SDKs\iPhoneOS6.1.sdk\System\Library\PrivateFrameworks"
  -V -VN --linker-option:"-arch armv7" -NO.\iOSDevice\Debug   Project2.dpr   
[DCC Error] rtcThrPool.pas(970): E2197 Constant object cannot be passed as var parameter
[DCC Fatal Error] rtcTimer.pas(651): F2063 Could not compile used unit 'rtcThrPool.pas'
Failed
Elapsed time: 00:00:00.3
[Warning] W1000 Symbol 'TList' is deprecated


This is the line causing the error :

Code:
destructor TRtcWorkerThread.Destroy;
  begin
  try
    ClosingThread(self);  // <------ right here

    RtcFreeAndNil(Run);
    inherited;
  except
    on E:Exception do
      begin
      if LOG_AV_ERRORS then
        Log('TRtcWorkerThread.Destroy',E,'ERROR');
      raise;
      end;
    end;
  end;

This is SDK version 6.15.

I do realize this is in beta.  I am hoping this may be just a simple compiler option setting, but I can't understand what the error is.  And again, this program works when used in a VCL program.

Thanks for your time, have a nice weekend.






Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #4 on: July 06, 2013, 12:36:21 PM »

Sorry about that. Two changes I've released since the first iOS BETA have broken compatibility with the NextGen iOS compiler in Delphi XE4. I've fixed that now. Please download the RealThinClient SDK v6.17 (just released) and let me know if you bump into any other problems.

Best Regards,
Danijel Tkalcec
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.025 seconds with 16 queries.