I am using IBM worklight I depoly it on iPhone and when I try to call a soap service using my adapter I get error that I can't understand the cause of it. This is the log I got:
2014-06-24 20:57:26.375 myApp[842:60b] user name XXXXX
2014-06-24 20:57:26.376 myApp[842:60b] [DEBUG] [NONE] establishSSLClientAuth
2014-06-24 20:57:26.378 myApp[842:60b] WLUserAuthManager.getCertificateIdentifierFromEntity: com.worklight.userenrollment.certificate:com.myApp.dev
2014-06-24 20:57:26.381 myApp[842:60b] [DEBUG] [NONE] establishSSLClientAuth isCertificateExists: false
2014-06-24 20:57:26.383 myApp[842:60b] [DEBUG] [NONE] Request[http://192.168.23.1:10080/myApp/apps/services/api/myApp/iphone/query]
2014-06-24 20:57:26.416 myApp[842:60b] [ERROR] [NONE] [http://192.168.23.1:10080/myApp/apps/services/api/myApp/iphone/query] failure. state: 500, response: The application 'myApp' with version=1.0 does not support the iphone environment
2014-06-24 20:57:26.417 myApp[842:60b] Loading stop
2014-06-24 20:57:26.418 myApp[842:60b] MyModel::error::{"status":500,"invocationContext":null,"errorCode":"UNEXPECTED_ERROR","errorMsg":"The application 'myApp' with version=1.0 does not support the iphone environment"}
Note: The app is deployed on Android with no problem.
Edit:
I forgot to say that I deployed the iphone app with no problem. But this message is shown when I try to call an adapter calling a web service.