Adding smart BASIC to Xcode Tutorial

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: Adding smart BASIC to Xcode Tutorial

Post by Mr. Kibernetik »

Text can be Unicode 8. It should be plain text, not rich text.

Elliot
Posts: 37
Joined: Thu Jun 23, 2016 10:58 am
My devices: iphone
ipad
PC
Flag: United States of America

Re: Adding smart BASIC to Xcode Tutorial

Post by Elliot »

Even more "basic" test: I uploaded one of your example files (circle.txt) from my iPhone and downloaded it to Mac download area using your Dropbox routine. (It did transfer a txt file.) I added it to the Samples folder, changed the AppDelegate.m to #define SB_FILE @"circles.txt"

Then ran iPhone 5 simulator. Message on face of iphone was:
Nothing to execute.
OK

--Any thoughts?

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: Adding smart BASIC to Xcode Tutorial

Post by Mr. Kibernetik »

Elliot wrote:Even more "basic" test: I uploaded one of your example files (circle.txt) from my iPhone and downloaded it to Mac download area using your Dropbox routine. (It did transfer a txt file.) I added it to the Samples folder, changed the AppDelegate.m to #define SB_FILE @"circles.txt"

Then ran iPhone 5 simulator. Message on face of iphone was:
Nothing to execute.
OK

--Any thoughts?
Delete old version of your app in Simulator.

Elliot
Posts: 37
Joined: Thu Jun 23, 2016 10:58 am
My devices: iphone
ipad
PC
Flag: United States of America

Re: Adding smart BASIC to Xcode Tutorial

Post by Elliot »

Sorry--I am not sure what you mean: delete old version of app on simulator? How do I do this?

Elliot
Posts: 37
Joined: Thu Jun 23, 2016 10:58 am
My devices: iphone
ipad
PC
Flag: United States of America

Re: Adding smart BASIC to Xcode Tutorial

Post by Elliot »

I think the problem may be coming from how I have been opening the Turtle project for Xcode. I made a copy of it and put it on the desktop. I have been adding the new text files into the Sample folder from there. Then I open the project by double-clicking on the Application.xcodeproj icon directly. This seems to open the project in Xcode, but perhaps that is creating a problem of not updating or deleting information.

If I open the XCode app first, I get a choice of "Creating a new Xcode project" or "Check out an existing project". There is also a blue box in the upper right that says Appllcation /Desktop/Turtle. This produces the same result as double-clicking on the desktop Project.

The "existing project option" goes to an empty SCM repository.

How should I be opening the project?

Thanks for your patience!

Elliot
Posts: 37
Joined: Thu Jun 23, 2016 10:58 am
My devices: iphone
ipad
PC
Flag: United States of America

Re: Adding smart BASIC to Xcode Tutorial

Post by Elliot »

It's working!! Resetting the simulator did it!

Thanks!

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: Adding smart BASIC to Xcode Tutorial

Post by Mr. Kibernetik »

Elliot wrote:Sorry--I am not sure what you mean: delete old version of app on simulator? How do I do this?
You can do this exactly as on your iPhone.
Run Simulator and you will see its iOS desktop. Then press and hold on your app icon on the desktop (using your mouse) - it will start to tremble. Then delete it as you do it on your device.

Post Reply