Use Poco::Util::Application on iOS

A general discussion forum.
Posts: 1
Joined: 20 Nov 2013, 01:17

Use Poco::Util::Application on iOS

Postby petrify » 20 Nov 2013, 01:43

I am trying to use POCO to handle HTTPS requests. In order to use the codes from NetSSL, here is a class inherited from Poco::Util::Application to contain SSL managers and stream factories.

Code: Select all

class NetSSLApp: public Poco::Util::Application


Every thing works well for Windows, Mac OS X and Android. But I have problems with the code in iOS.
I can compile the latest package of POCO for iOS (both the iPhoneSimulator (i686) and iPhoneOS (armV7, armV7s and arm64) ) without any problems. But when I run the code, it causes an exception when constructing an instance of class NetSSLApp before touching the first line of the constructor NetSSLApp(). So I suspect that something is wrong when the constructor of Poco::Util::Application is called.

The error message from Xcode is as follows.

libc++abi.dylib: terminating with uncaught exception of type Poco::SystemException: System exception

Can any one help me out of this?

Thanks in advance.

Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 1 guest