on 10-16-2013 12:53 PM
I have issue, my SMP is 2.3.2, xcode 4.6.3 and iOS 6.1.
If I use simulator 6.1, the user is logged ok but I have error "onHttpComunicationEror: errorCode = 63" when click Synchronize.
If use ipad device 6.1 it was not possible to build because of "Apple Mach-O Linker Error".
I cann`t run the application in any way.
anyone can help me, please.
Best Regards
Hello Hector,
The "Apple Mach-O Linker Error" is an architecture error, it can happen when:
1)You try to run the app and don't have the necessary Libraries or Frameworks imported.
2)You try to run the app in an architecture that is not supported by the Libraries or Frameworks.
I remember that it also happened to me when i tried to create a static variable name, that was already created in another class, im not really sure though
Cases for SUP:
1) You are trying to run the app on the device, with the library path pointing at simulator libraries, instead of the physical device libraries.
2) You have imported the simulator libraries in the project, and trying to run the app pointing at the physical device libraries.
Try to import the device physical libraries (of debug mode) and point at them at the debug build (if you are running developer mode), or release version for distribution.
The HTTP Stream error code 63 is caused by:
Unable to connect a socket
Probable cause
The network layer was unable to connect a socket. Check the following:
1) The machine is connected to the network.
2) The socket layer is properly initialized.
3) The correct host machine and port were specified.
4) The host server is running normally and listening on the correct port.
5) The host machine is listening for the proper socket type (TCP/IP vs. UDP).
6) If the client_port option was used, verify that there are no firewall restrictions on the use of the port.
7) If the device has a limit on the number of open sockets, verify that the limit has not been reached.
😎 There are enough system resources available. Free up system resources if they are running low.
Please reward points to answers if they are correct of useful. That way you can get more help
Regards,
Daniel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Hector,
please confirm
1. Is it native app?
2.when you tried on simulator, what is the status of registered user in scc ?online?
3 . what is backend you are connecting to
could you share more details related to the logs
Rgrds,
Jitendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jitendra,
1.- Yes
2.- The status is online. The user registration is correct.
3.- The tutorial SMP101 is sample database sybase
Log user registration with simulator iOS:
2013-10-16 13:12:30.351 SMP101[1568:6e03] ================================================
2013-10-16 13:12:30.351 SMP101[1568:6e03] ================================================
2013-10-16 13:12:30.352 SMP101[1568:6e03] onApplicationSettingsChanged: names = [Default - 1]
2013-10-16 13:12:30.352 SMP101[1568:6e03] ================================================
2013-10-16 13:12:30.352 SMP101[1568:6e03] =================================================
2013-10-16 13:12:30.352 SMP101[1568:6e03] onRegistrationStatusChanged: status = 203, code = 0, message = (null)
2013-10-16 13:12:30.353 SMP101[1568:6e03] =================================================
2013-10-16 13:12:30.889 SMP101[1568:6e03] ================================================
2013-10-16 13:12:30.890 SMP101[1568:6e03] onApplicationSettingsChanged: names = [Default - 1]
2013-10-16 13:12:30.890 SMP101[1568:6e03] ================================================
2013-10-16 13:12:31.511 SMP101[1568:6e03] =================================================
2013-10-16 13:12:31.512 SMP101[1568:6e03] onConnectionStatusChanged: status = 105, code = 0, message =
2013-10-16 13:12:31.512 SMP101[1568:6e03] =================================================
2013-10-16 13:12:31.533 SMP101[1568:6f03] =================================================
2013-10-16 13:12:31.533 SMP101[1568:6f03] onConnectionStatusChanged: status = 105, code = 0, message =
2013-10-16 13:12:31.534 SMP101[1568:6f03] =================================================
2013-10-16 13:12:32.078 SMP101[1568:6a0b] =================================================
2013-10-16 13:12:32.079 SMP101[1568:6a0b] onConnectionStatusChanged: status = 105, code = 0, message =
2013-10-16 13:12:32.079 SMP101[1568:6a0b] =================================================
2013-10-16 13:12:32.641 SMP101[1568:6f07] =================================================
2013-10-16 13:12:32.652 SMP101[1568:6f07] onConnectionStatusChanged: status = 103, code = 0, message =
2013-10-16 13:12:32.652 SMP101[1568:6f07] =================================================
2013-10-16 13:12:33.736 SMP101[1568:6f07] ================================================
2013-10-16 13:12:33.738 SMP101[1568:6f07] onApplicationSettingsChanged: names = [Default - 1]
2013-10-16 13:12:33.738 SMP101[1568:6f07] ================================================
2013-10-16 13:12:34.242 SMP101[1568:6f07] ================================================
2013-10-16 13:12:34.242 SMP101[1568:6f07] onApplicationSettingsChanged: names = [Default - 1]
2013-10-16 13:12:34.242 SMP101[1568:6f07] ================================================
2013-10-16 13:12:34.243 SMP101[1568:6f07] =================================================
2013-10-16 13:12:34.243 SMP101[1568:6f07] onRegistrationStatusChanged: status = 203, code = 0, message = (null)
2013-10-16 13:12:34.243 SMP101[1568:6f07] =================================================
2013-10-16 13:12:35.269 SMP101[1568:6f07] =================================================
2013-10-16 13:12:35.270 SMP101[1568:6f07] onConnectionStatusChanged: status = 105, code = 0, message =
2013-10-16 13:12:35.271 SMP101[1568:6f07] =================================================
2013-10-16 13:12:35.341 SMP101[1568:7607] =================================================
2013-10-16 13:12:35.342 SMP101[1568:7607] onConnectionStatusChanged: status = 105, code = 0, message =
2013-10-16 13:12:35.342 SMP101[1568:7607] =================================================
2013-10-16 13:12:36.133 SMP101[1568:6a0f] =================================================
2013-10-16 13:12:36.134 SMP101[1568:6a0f] onConnectionStatusChanged: status = 105, code = 0, message =
2013-10-16 13:12:36.134 SMP101[1568:6a0f] =================================================
2013-10-16 13:12:36.695 SMP101[1568:760b] =================================================
2013-10-16 13:12:36.696 SMP101[1568:760b] onConnectionStatusChanged: status = 103, code = 0, message =
2013-10-16 13:12:36.697 SMP101[1568:760b] =================================================
2013-10-16 13:12:37.761 SMP101[1568:760b] ================================================
2013-10-16 13:12:37.765 SMP101[1568:760b] onApplicationSettingsChanged: names = [Default - 1]
2013-10-16 13:12:37.766 SMP101[1568:760b] ================================================
2013-10-16 13:12:38.234 SMP101[1568:760b] ================================================
2013-10-16 13:12:38.235 SMP101[1568:760b] onApplicationSettingsChanged: names = [Default - 1]
2013-10-16 13:12:38.236 SMP101[1568:760b] ================================================
2013-10-16 13:12:38.666 SMP101[1568:760b] ================================================
2013-10-16 13:12:38.667 SMP101[1568:760b] onApplicationSettingsChanged: names = [Default - 1]
2013-10-16 13:12:38.668 SMP101[1568:760b] ================================================
Log when push buttom "Synchronize"
2013-10-16 13:12:52.076 SMP101[1568:c07] =================================================
2013-10-16 13:12:52.077 SMP101[1568:c07] onHttpCommunicationError: errorCode = 63
2013-10-16 13:12:52.077 SMP101[1568:c07] =================================================
2013-10-16 13:12:52.101 SMP101[1568:c07] [ERROR] [SubscribeController.m:72] SUPPersistenceException: Sync failed: -1305 (MOBILINK_COMMUNICATIONS_ERROR) %1:63 %2: %3:2;Parameter 1:63;Parameter 2:;Parameter 3:2
Hi Midhun,
Yes the user is online and simulation register. I have to put the port 2480 in some field or is default in the example SMP101.
Now, I have the same error in simulator and device:
2013-10-22 16:15:33.804 SMP101[146:907] =================================================
2013-10-22 16:15:33.806 SMP101[146:907] onHttpCommunicationError: errorCode = 63
2013-10-22 16:15:33.808 SMP101[146:907] =================================================
2013-10-22 16:15:33.810 SMP101[146:907] [ERROR] [SubscribeController.m:72] SUPPersistenceException: SUPPersistenceException from synchronize: -- SUPSynchronizeException: Sync failed: -1305 (MOBILINK_COMMUNICATIONS_ERROR) %1:63 %2: %3:2Details:
StreamErrorCode = 63
StreamErrorMessage =
Hi Hector,
I have tested the same SMP101 app on Android .it worked for me. you can check below link if it can help you.
http://scn.sap.com/docs/DOC-46101
If user is online in SCC, it means request is reaching to smp server successfully.
make sure you are using smp mobile sdk 2.3.2 ios object api in xcode.
Rgrds,
Jitendra
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.