iOS application launch after updating to Xcode 5.1.1 - xcode

I upgraded my mac OS to mavericks and also my Xcode 4.6 to Xcode 5.1.1.
I tried to launch my iOS app which was originally built on iOS 6 in the iOS 7.1 simulator.
I get the login page as intended but as soon as the login page is displayed I get an error in the main method exactly at the below line and the execution stops there. The description says "signal SIGKILL". I am not able to figure out a fix for this as all the app delegates call back methods are called fine and there seems to be no issues with the application code. Can anyone please let me know what could be the problem here.
return UIApplicationMain(argc, argv, nil, NSStringFromClass([CommVotesAppDelegate class]));

Related

Xamarin iOS only crash physical iPhone when you open an app

I'm facing a strange error. App only crashes on physical device. But iOS simulator does not. It working fine.
The strange thing is it crashes when you open an app and FinishedLaunching(UIApplication app, NSDictionary options) method does not call at all.
What possibilities might have this issue?
One of the third-party iOS library (nuget package) was configured to iOS-Simulator. not physical iOS.
After the package author released hot-fix, it resolved.
try to change the linker Behaviour use the SDK-Only
go to Xamarin.iOS solution select ios build choose linker behaviour and change it

Simulator under iOS 13.3 (Xcode 11.3.1) not functioning properly

When using the simulator under Xcode 11.3.1 and iPhones simulating iOS 13.3, the simulation does not behave correctly. It works correctly under simulator iOS 12.1.
I get no messages that I don't also get under the iOS 12.1 simulator launch.
The behavior should be when a user starts the app for the first time, he is redirected to the signin screen. Instead it goes to the main screen (grayed out because there is no data). I can navigate manually to the signin screen and signin normally (device registers and appears on my online server) but the app should start downloading the database required to work. It just sits there (no alertview that would normally launch the download). If I relaunch the app, it again starts at the main screen, however at this point an alertview should appear that no database is present. If I manually try to start the download (in a setup screen within the app), the progress bar that normally appears does not, just a label signifying what database is suppose to download.
All of this works properly on the iOS 12.1 simulator (Xcode 10.1) of the same type (iPhone 8 Plus).
Is this an Xcode 11.3.1 bug or iOS 13.3 problem. I have customers using iOS 13.1 without any problems on actual devices. I am on a new iMac running Catalina, is it possible its a security setting to allow database download?
I was facing the same issue and I move back to Xcode 11.3. Guess it was not a stable update at all.

iPad won't run app built in Xcode & it finishes right after building

When I run my application on my iPad, the application opens then closes instantaneously after "build succeeded". I can run my app on iPhones without problems. My iPad iOS version is 8.1 and my Xcode is 6.2.
I get no error message just "CoreFoundation = 1141.140000" as output. I have searched the web up and down, but can't seem to get an answer. Does anybody know what's wrong?
The problem was the Ipad because it was jailbraked. After reinstalling it all worked fine.

Xcode 4.6.2 IOS Simulator

Τhe last few days I experienced a problem with Xcode 4.6.2 when I try to run twice an application, in IOS Simulator only, the program throws an exception.
Somehow the simulator keeps the instance active even though the stop button was pressed and requires to press it again many times in order to run it again,on the other hand in my device Xcode works properly.
Any ideas ?
Xcode 4.6.3 was just released to fix a hang/crash issue with the ios simulator (and lldb debugger), particularly on osx 10.8.4.

IOS Simulator cannot find sdk and the simulated application quit errors

I have been having this Xcode problem for a couple of months where my iOS simulator stops working whenever i run any application on Xcode and says, "The simulated application quit." and "iOS Simulator could not find the SDK. The SDK may need to be reinstalled." I am running Xcode 4.3.3 and have iOS sdk 5.1 and everything updated but it happened on my previous version of Xcode also. I have tried reinstalling Xcode over 10 times now and have been posting this question for a while now. No one has been able to get a solution. I have even sent in a bug report to apple but i don't think they will respond. I have tried doing everything every other person that has this problem has been told to do in other threads. I'm honestly thinking about just buying a new mac and seeing if Xcode will work on that one or taking in my current one to get looked at by apple. So if anyone has any ideas please let me know.
Go to Xcode -> Preferences -> Downloads and make sure the "Target SDK" you have selected in your project is in fact installed under the Downloads windows. For me this magically was uninstalled. Once i installed the SDK that my app was using, all worked again
This worked for me: http://www.colinbowern.com/posts/the-simulated-application-quit
I just deleted the folder "6.1" under ~/Library/Application Support/iPhone Simulator
The I just launched again the app and the simulator recreated correctly the 6.1 folder.
Resetting the simulator settings (iOS Simulator > Reset Contents and Settings) resolved this issue for me.
I had the same issue. For me suddenly all the installed simulators (4.3 through to 6.0) stopped working. I then went to Xcode -> Preferences -> Downloads, and there I had the chance to update at least the 5.0 simulator. This is now working, yet I was not able to get the 4.3 or 5.1 or 6.0 to work.
I have personally experienced a weird thing with xcode regarding this issue. Sometimes the sdk is installed properly but it still gives this error. I have two classes, if I call first class from the app delegate then the ipad simulator works fine but when I call the second class then it gives the error that the sdk needs to be re-installed.
In my case when the error occured, I had two errors in the second class. When I corrected the errors after debugging, the ipad simulator started to work completely fine. This is quite weird but its not the problem with your sdk, the problem is somewhere in the code.
This just happened to me. I tried to launch with iPhone 5.1 Simulator, got the error "iOS Simulator could not find the SDK. The SDK may need to be reinstalled." I tried running iPad 5.1 Sim, which worked. I switched to non-retina iPad. Then I tried running iPhone 5.1 Simulator again, and it worked.

Resources