Why does my swift app crash whenever I go offline? [closed] - ios

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I have an app that requires the user to leave the app to connect to another device's wifi network. However, when I change to that wifi network and come back to the app, it seems as if Firebase or 'Google Data transport support' crashes the app saying 'there's no internet connection' when I already know there's no connection so how would I just ignore the error and carry on.
I used a breakpoint exception to find out where in code is causing the error and it's pointing me to this:
Nowhere in my code that I've written should cause that error as I'm not using firebase to query anything yet.

Run pod update to pick up the fix that released today.
Details at https://github.com/firebase/firebase-ios-sdk/issues/3530

Related

Thread 5 : SIGABRT error while running the app in my device (Works fine in simulator) [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
Just started messing around with xcode 11.3.1 and I am pretty new to this . Now learned some things through a lot of tutorials and created an application which runs pretty good in the builtin simulator . But when i try to run the same app in my own device (iPhone 6s) it gives me an error saying as in the picture . Any help is appreciated.
It is because you are using a microphone in your application without getting privacy access from the user.
You should add Privacy - Microphone Usage Description in your info.plist
The console in the bottom right of picture clearly describe the problem.

iOS9 - Can't Verify Any Apps [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 years ago.
Improve this question
I was in the middle of woking on a App in XCode 7 and was pushing it to my phone after making changes. All of a sudden, i was getting a general "security" error.
The app had already been verified and the developer trusted. The XCode console outsputs:
error: failed to launch '/private/var/mobile/Containers/Bundle/Application/C684E25D-F370-4DFC-B39F-C4508B653EA1/myapp.app' -- process launch failed: Security
If I go to System Preferences > Profile in my phone and try to verify it, it doesn't do anything and doesn't report any feedback.
I've tried deleting the app, restarting xcode, restarting my phone, etc..
And now, none of my apps will install on my phone for development -- note, I'm only talking about directly launching an app from Xcode to my phone. I'm not using the App Store.
It seems the server Apple uses to verify apps is down again. This has happened before: iOS 9 enterprise app verify failed
All we can do for now is wait until they resolve the issue.
Having the same issue as you, hitting VERIFY does nothing except briefly change my email at the top to 'Verifying", and then changes back. No feedback or notification.
My first thought would be as Dominic said is that the server on Apples side is down. Not sure if that server is listed here:
https://developer.apple.com/system-status/
But they all seem to be operational, so I guess all we have to do is wait.
Edit: As per Dominic's post, this is the proper site: ppq.apple.com, which is currently down.
http://www.isitdownrightnow.com/ppq.apple.com.html
For any future people with this error:
If you are having trouble verifying apps on your device, check the above site, if it is down that is almost certainly the cause.

Twitter unavailable on ios simulator [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 7 years ago.
Improve this question
Twitter says unavailable in ios simulator next to the logo in the settings. I still logged in perfectly, but why does it say unavailable.
The UNAVAILABLE you're seeing is actually a button that takes you to the Twitter app in the App Store. The App Store is not available on the simulator, so the UNAVAILABLE button is shown. It's not stating that logging into Twitter through the simulator's settings are unavailable.

iPhone 5 crash after app store update [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
My applications update just entered the appstore. The problem is the application is crashing in iPhone 5, it doesn't start. I tested it in iPhone 4 and iPad and it is fine.
Does anyone have an idea why this is happening, or why the update was accepted in the store?
It doesn't crash when running from the xcode.
To reproduce your error install the previous version on your iPhone, then start the current version from xcode with debugging.
Sometimes such crashes happen for example when your previous version stored something in NSUserDefaults and your new version expects something different. Therefore it's very important to test the update scenario.
Apple does accept applications that crash but do not crash very often. I have experienced several of my apps still crashing have been accepted by Apple. May be they don't test it comprehensively or they ignore some crashes that happen only when a certain functionality is targeted i.e don't crash too often.

Error submitting app via XCode [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 7 years ago.
Improve this question
I'm trying to submit an app tonight and I can validate the app find but when I go to submit, get the following errors:
Apple's web service operation was not successful
Unable to Authenticate the package
exception occurred when creating MZContentProviderUpload
Has anyone else seen this error?
Just had this happen on Xcode 7. Quit Xcode, opened it back up, resubmitted and it worked fine.
EDIT: I agree with #arlomedia in the comments, this is a problem on Apple's side. Just had it happen again and restarting did not fix it. Maybe I just got lucky the first time :)
That seems like a temporary issue from Apple's side. It should have been fixed by now. Try uploading again.
I saw a slightly different error message, six times in a row:
Exception occurred when creating MZContentProviderUpload for provider. (1004)
Restarted my mac, resubmitted and boom - worked.
Can't say for sure if it was the restart, could have just been something on Apple's servers as the other answers point out.
I kept getting it for several days until I changed Deployment Target from 3.1.3 to 4.3.
My error also said "The bundle does not contain icon for iPad exactly '72x72' pixels". I checked the icon and updated it like 5 times :)

Resources