xcode simulate for smart basic question

Post Reply
chjchjch
Posts: 13
Joined: Wed Jun 10, 2015 12:40 am
My devices: iphone 4s / iphone.5

xcode simulate for smart basic question

Post by chjchjch »

first , sorry
i dont speack english very well

i really like SmartBasic app
Thank you to make this.

I make smartbasic code and
read your sdk instruction.

first time
i success. xcode was my code in smartbasic simulating

but second time.
failed

xcode simulation run
then
pop up message
"nothing the execute"

i dont know how do i

my english is very bad
then sorry
i wait your reply
thank you kibernetik!

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: xcode simulate for smart basic question

Post by Mr. Kibernetik »

You forgot to copy your program to "Samples" folder.

chjchjch
Posts: 13
Joined: Wed Jun 10, 2015 12:40 am
My devices: iphone 4s / iphone.5

Re: xcode simulate for smart basic question

Post by chjchjch »

thankyou to your reply

but i was code.txt copy

samples folder

and

i was all do sdk's instruction

so i dont know how do

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: xcode simulate for smart basic question

Post by Mr. Kibernetik »

Then you forgot to follow this step:

"In file "BASIC/AppDelegate.m" inside empty quotes write down name of program file which you want to run (in our case: turtle.txt)."

chjchjch
Posts: 13
Joined: Wed Jun 10, 2015 12:40 am
My devices: iphone 4s / iphone.5

Re: xcode simulate for smart basic question

Post by chjchjch »

really sorry
mr. kirbernetik.

but i was do that,too

In file "BASIC/AppDelegate.m" inside empty quotes write down name of program file which you want to run (in my case: SRR.txt).

I don't know what the problem is it
T_T

i was do all

and
in case
in my iphone's smart basic app
no problem my program code..

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: xcode simulate for smart basic question

Post by Mr. Kibernetik »

This error message means that smart BASIC cannot find your file in "Samples" folder.

chjchjch
Posts: 13
Joined: Wed Jun 10, 2015 12:40 am
My devices: iphone 4s / iphone.5

Re: xcode simulate for smart basic question

Post by chjchjch »

please see this capture

samples folder ok.
appdelegate.m setting ok.

but nothing to execute..
Attachments
image.jpg
image.jpg (4.22 MiB) Viewed 5569 times
image.jpg
image.jpg (1.71 MiB) Viewed 5569 times

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: xcode simulate for smart basic question

Post by Mr. Kibernetik »

You can try Xcode menu command "Product" > "Clean".

If this does not help then can you also show screenshot of your "SRR.txt" file in "Samples" folder?

chjchjch
Posts: 13
Joined: Wed Jun 10, 2015 12:40 am
My devices: iphone 4s / iphone.5

Re: xcode simulate for smart basic question

Post by chjchjch »

thanks to your support.

I have solved
I don't know exactly.
it was xcode's ios simulator's problem


thankyou.
i really like SMART basic.

Post Reply