Uncaught NSException Error

BASIC SDK для Xcode
User avatar
GeorgeMcGinn
Posts: 435
Joined: Sat Sep 10, 2016 6:37 am
My devices: IPad Pro 10.5in
IMac
Linux i386
Windows 7 & 10
Location: Venice, FL
Flag: United States of America
Contact:

Re: Uncaught NSException Error

Post by GeorgeMcGinn »

This is the line that is getting the error:

return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));

THREAD 1 SIGNAL SIGABRT
George McGinn
Computer Scientist/Cosmologist/Writer/Photographer
Member: IEEE, IEEE Computer Society
IEEE Sensors Council & IoT Technical Community
American Association for the Advancement of Science (AAAS)

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Uncaught NSException Error

Post by Mr. Kibernetik »

GeorgeMcGinn wrote:
Mon Mar 12, 2018 7:41 pm
I need you to define "application" as it runs inSb IDE, but has never been created as an App by Xcode.

I can't get it out of XCODE! No Application has been created.
"Application" means it is compiled in Xcode and installed on the device. When program runs in smart BASIC IDE it is not an application - it is a program in smart BASIC.
I understood that your app rises an exception when you run it is Simulator.
So, my question is:
Does your program fails to run as an application on your device? Not in Simulator, but on your device.

User avatar
GeorgeMcGinn
Posts: 435
Joined: Sat Sep 10, 2016 6:37 am
My devices: IPad Pro 10.5in
IMac
Linux i386
Windows 7 & 10
Location: Venice, FL
Flag: United States of America
Contact:

Re: Uncaught NSException Error

Post by GeorgeMcGinn »

Never ran on my device. Not as an Application based on your definition.

I can't get it to compile XCode to create an App. FileCompare works, but DateCalc does not.

Mr. Kibernetik wrote:
Mon Mar 12, 2018 8:02 pm
GeorgeMcGinn wrote:
Mon Mar 12, 2018 7:41 pm
I need you to define "application" as it runs inSb IDE, but has never been created as an App by Xcode.

I can't get it out of XCODE! No Application has been created.
"Application" means it is compiled in Xcode and installed on the device. When program runs in smart BASIC IDE it is not an application - it is a program in smart BASIC.
I understood that your app rises an exception when you run it is Simulator.
So, my question is:
Does your program fails to run as an application on your device? Not in Simulator, but on your device.
George McGinn
Computer Scientist/Cosmologist/Writer/Photographer
Member: IEEE, IEEE Computer Society
IEEE Sensors Council & IoT Technical Community
American Association for the Advancement of Science (AAAS)

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Uncaught NSException Error

Post by Mr. Kibernetik »

GeorgeMcGinn wrote:
Mon Mar 12, 2018 9:24 pm
I can't get it to compile XCode to create an App.
Why you cannot?

1. You successfully compile your app.
2. It is successfully installed in your Simulator.
3. It is launched in Simulator and then it raises this runtime exception.

This means that you can compile, install your app on your device and try to execute it.

User avatar
GeorgeMcGinn
Posts: 435
Joined: Sat Sep 10, 2016 6:37 am
My devices: IPad Pro 10.5in
IMac
Linux i386
Windows 7 & 10
Location: Venice, FL
Flag: United States of America
Contact:

Re: Uncaught NSException Error

Post by GeorgeMcGinn »

No I don't. I don't even get warnings. It compiles clean.

Today I amm going to try to compile a new program that has some sliders and another that does not.

If you want to try it for yourself, the code is at: viewtopic.php?f=20&t=2142

The only changes that I made were: Changed the graphics and wrote a new routine to deal with Gregorian Calendar dates, as the algorhitm provided converts GD to Julian dates, and is inaccurate when a Gregorian date falls on a leap year before the month of February.

If you want the actual code and image files, send me an email to gjmcginn@icloud.com and I will send it.
Mr. Kibernetik wrote:
Tue Mar 13, 2018 7:39 am
GeorgeMcGinn wrote:
Mon Mar 12, 2018 9:24 pm
I can't get it to compile XCode to create an App.
Do you get XCode compilation errors?
George McGinn
Computer Scientist/Cosmologist/Writer/Photographer
Member: IEEE, IEEE Computer Society
IEEE Sensors Council & IoT Technical Community
American Association for the Advancement of Science (AAAS)

User avatar
GeorgeMcGinn
Posts: 435
Joined: Sat Sep 10, 2016 6:37 am
My devices: IPad Pro 10.5in
IMac
Linux i386
Windows 7 & 10
Location: Venice, FL
Flag: United States of America
Contact:

Re: Uncaught NSException Error

Post by GeorgeMcGinn »

Mr K - I have tested 6 programs in Xcode and there is a problem with the SLIDER statement.

Apple may have changed the the way SLIDER works in iOS, and the object code for SmartBASIC either needs to be changed, or recompiled.

I found a similar issue with TechBASIC and the PICKER statement. Mike at Byteworks verified my suspicions about the problem with his product not in sync with the changes Apple made.

My question is are you going to look into why the SLIDER statement isn't working?

I have reached a point where I cannot create my App in Xcode and submit it to iTunes, as I do not have access to make the changes.

Please let me know if you are going to fix this issue.

Thanks.
George McGinn
Computer Scientist/Cosmologist/Writer/Photographer
Member: IEEE, IEEE Computer Society
IEEE Sensors Council & IoT Technical Community
American Association for the Advancement of Science (AAAS)

User avatar
Mr. Kibernetik
Site Admin
Posts: 4786
Joined: Mon Nov 19, 2012 10:16 pm
My devices: iPhone, iPad, MacBook
Location: Russia
Flag: Russia

Re: Uncaught NSException Error

Post by Mr. Kibernetik »

Thank you for the report.
LibSB is "smart BASIC" engine and it is the same code as in "smart BASIC" application - it runs your BASIC program. If smart BASIC will be updated then LibSB file in SDK will be also updated.
Yes, it is a big problem that Apple updates make software incimpatible.

Post Reply