RTC Forums

Subscription => Support => Topic started by: SevenOut on April 30, 2015, 01:48:54 AM



Title: 6.53 and iOS64
Post by: SevenOut on April 30, 2015, 01:48:54 AM
Just installed 6.53 in XE8 and all the components are disabled for iOS64 targets.  Am I doing something wrong?  I've made sure the library path was added to all target types.  No errors during installation.  Not sure what I could have done wrong.  Need to update an iOS app to support 64bit (and Universal) in my next update.

Thanks,
Scott


Title: Re: 6.53 and iOS64
Post by: D.Tkalcec (RTC) on April 30, 2015, 08:09:00 AM
Sorry about that. I forgot to add "pidiOS64" to the [ComponentPlatformsAttribute], so the problem was actually that the Delphi IDE didn't KNOW the components were compatible with iOS64, even though everything would have compiled and worked :)

Anyway ... Thank you for reposting this.

The update to fix this IDE problem is now ready for download (RTC SDK v6.54).

Best Regards,
Danijel Tkalcec


Title: Re: 6.53 and iOS64
Post by: D.Tkalcec (RTC) on April 30, 2015, 11:20:26 AM
PS. After updating RTC SDK files (at least the "Lib" folder) and re-building all the RTC packages in the Delphi IDE, make sure to restart the IDE for changes to take effect. If you would only update files and recompile or rebuild RTC packages, because the IDE is caching component attributes, you wouldn't see the changes before an IDE restart.

Best Regards,
Danijel Tkalcec


Title: Re: 6.53 and iOS64
Post by: SevenOut on May 01, 2015, 12:11:44 AM
Thanks!


Title: Re: 6.53 and iOS64
Post by: SevenOut on May 01, 2015, 12:44:13 AM
I think you may have accidentally enabled iOSDevice64 for the Raw components as well.

BTW, where are these enabled in the components?  I was looking for the setting that enables this but could not find it.

Thanks
Scott


Title: Re: 6.53 and iOS64
Post by: D.Tkalcec (RTC) on May 01, 2015, 02:30:16 AM
There is a new compiler flag [ComponentPlatformsAttribute], which is placed at the top of each class definition (interface section) to declare which platforms a component is compatible with. Without it, Delphi has some special rules to "decide" what platforms a component will be enabled for.  For example, all FireMonkey components are by default cross-platform, while VCL components are only compatible with Windows.

Best Regards,
Danijel Tkalcec