This should also work for Delphi XE6 and AppMethod. If you are using MacInCloud or are unable to debug directly on your IOS device plugged into a Mac this can be a good way to do it. Procedure Log(const AStr: String) overload Result := (NSStr(AStr) as ILocalObject).GetObjectID Here is that function:įunction PNSStr(const AStr: String): PNSString Brian created a wrapper function called Log() which does the conversion from a Delphi string to the IOS string. The NSLog() function is the function that will write out text strings to the Console log which shows up in the Iphone Configuration Utility. Brian Long has a blog post up with 15 different tips about building IOS apps with Delphi Firemonkey and one of those tips is the NSLog() function. However, it also provides you access to the Console output of the IOS device where debug data from IOS itself and the apps running on the device is displayed. The Iphone Configuration Utility for Windows provides an easy way for installing and removing IPA files from your IOS devices (faster than using Itunes). If you are looking for an easy way to debug your Delphi XE5 Firemonkey apps for IOS on Windows you might want to take a look at the Iphone Configuration Utility.
0 Comments
Leave a Reply. |