cancel
Showing results for 
Search instead for 
Did you mean: 

ios App running only once in device

Former Member
0 Kudos

hi all,

i have created an application with ios and sup2.1.3. Application got deployed in iphone.

Following are the steps i followed

1. created a user in scc

2. used crtificate to deploy

My app is runing  fine once in device. If i want to run it again i shud  remove that app and reinstall it again. Why its like that.

i know its something regarding application id.

But i am not ableto identify it

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi All,

i am sorry,since the quesiton was nt clear..

My app when deploying to device for first time is working fine. If want to run it again then

i was getting an exception like

SUPPerisitenceException from getConfigProperty:--MessagingClientException: RuntimeException: Failure in getConfigProperty

So i put breakpoints in my connection code.

And i found out that i am getting that exception from

[properties setNetworkProtocol:http];

so i simply commented those line of code, and its working fine now.

But i am not sure that whether it is the correct solution for that.

Answers (3)

Answers (3)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Ponnu,

what happens when you run the existing app in iPhone? doesnt it open?

i am not clear with your query. it should not happen actually.

My app is runing  fine once in device. If i want to run it again i shud  remove that app and reinstall it again.

Regards,

Jitendra

midhun_vp
Active Contributor
0 Kudos

Are you testing the app in a hardware or a simulator?

In case of simulators similar issue happens due recreation of device id.

DoanManhQuynh
Active Contributor
0 Kudos

Hi Ponnu.

If you going to create native app on iphone, i think it could be your connection profile or synchronize profile does not match with one you create in SCC. if you are using simulator, please dont close your simulator, just redeploy project then your application id will not change (you can imagine that everytime you open a new simulator then it mean a new device is assigned). That is my experience...or could you put more error message returned?.