Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes immediately after startup #2

Open
dhermanns opened this issue Nov 14, 2015 · 6 comments
Open

App crashes immediately after startup #2

dhermanns opened this issue Nov 14, 2015 · 6 comments

Comments

@dhermanns
Copy link

When starten the App on the Watch it shows for a Second the current values, but crashes immediately later. This is the same behavior even when startet in Xcode Simulator.

Maybe this has something to do with my Backend-Version (0.8.0) or HTTPS Certificate?

Any advice is welcome ;)

@dhermanns
Copy link
Author

Can this be connected to Watch OS 2. I noticed that your are using NSURLConnection. But in IOS 9 NSURLSession should be used. Have a look at:
http://stackoverflow.com/questions/32664227/nsurl-request-on-watch-os-2

I will try to change this...

@dhermanns
Copy link
Author

The above was not the problem. For me - a simple recompile with the Xcode 7.1.1 helped. I side-loaded the app to my device and it stopped crashing. Maybe this is helpful for someone.

Do you consider to update the current AppStore-App?

@ericmarkmartin
Copy link

I actually just finished switching all of the NSURLConnections to NSURLSessions and it is now running fine on iOS and watch simulators. Of course, there's no data for the watch, but I presume that's to be expected. PR is up.

@dhermanns
Copy link
Author

N1ce ;) Did you check in - I can do a sidedeploy then...
Eric Martin [email protected] schrieb am Mi., 18. Nov. 2015 um
04:20:

I actually just finished switching all of the NSURLConnections to
NSURLSessions and it is now running fine on iOS and watch simulators. Of
course, there's no data for the watch, but I presume that's to be expected.
I can make a pr if you want.


Reply to this email directly or view it on GitHub
#2 (comment)
.

@dhermanns
Copy link
Author

One more thing - have you ever thought about converting your project to
swift? I would like to add a complication but objective c is very hard for
me to read ;)

Another one would be to add a graphical BG Chart. A multi day comparison
would be useful, too. The last one could be added to the companion App.

What do you think about switching to swift?

Eric Martin [email protected] schrieb am Mi., 18. Nov. 2015 um
04:20:

I actually just finished switching all of the NSURLConnections to
NSURLSessions and it is now running fine on iOS and watch simulators. Of
course, there's no data for the watch, but I presume that's to be expected.
I can make a pr if you want.


Reply to this email directly or view it on GitHub
#2 (comment)
.

@iphotostuff
Copy link

did these fixes make any improvement for you guys? when we made the changes and did a new build we still get the ongoing crash issues. still unable to find what's causing the crashes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants