Hello!
Can someone write the steps for build a application for Mac?
I tried with this configure [img] [/img]
This is working for windows but for Mac don't work correctly.
Thank you!
Razvan
Standalone application settings Mac sql,SSL ,sqlite
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Standalone application settings Mac sql,SSL ,sqlite
Hi razvan,
1. this is the general (NON platform specific) TAB in the standalone builder!?
2. What do you check on the "Mac" tab?
3. What exactly does "don't work correctly" mean?
Best
Klaus
1. this is the general (NON platform specific) TAB in the standalone builder!?
2. What do you check on the "Mac" tab?
3. What exactly does "don't work correctly" mean?
Best
Klaus
Re: Standalone application settings Mac sql,SSL ,sqlite
I find out where is the problem.The problem is on mergJSON.I used mergJSON-Commercial-1.0.20.
The build it's working well on Androi and Windows but when I try it on MAC OS this one is stuck here:
My all code is here:
If someone knows how to fix it please help me.
Thank you!
Razvan.
The build it's working well on Androi and Windows but when I try it on MAC OS this one is stuck here:
Code: Select all
function JSONToArray pJSON
local tArray,tKeys
repeat for each line tKey in [u]mergJSONDecode[/u](pJSON,"tArray")
put JSONToArray(tArray[tKey]) into tArray[tKey]
end repeat
return tArray
end JSONToArray
My all code is here:
Code: Select all
on mouseUp
global id_crt
put url "http://www.yes-we-move.com/APILog/users/getpass" into tweb
if tweb is not empty then
put ConvertJSON(tweb) into output
repeat for each key tKey in output
put output[ tKey ][ "username" ] into gUsers
end repeat
put gUsers into field "test"
end if
end mouseUp
function ConvertJSON jsonData
if the first char of jsonData is "[" then
replace "[" with "" in jsonData
replace "]" with "" in jsonData
set the itemdelimiter to "},"
local tReturn
put 0 into inc
repeat for each item i in jsonData
add 1 to inc
if the last char of i is "}"
then
delete the last char of i
end if
put i & "}" into pJSON
put JSONToArray(pJSON) into tOut
put tOut into tReturn [inc]
end repeat
return tReturn
else
put JSONToArray(jsonData) into tOut
return tOut
end if
end ConvertJSON
function JSONToArray pJSON
local tArray,tKeys
repeat for each line tKey in mergJSONDecode(pJSON,"tArray")
put JSONToArray(tArray[tKey]) into tArray[tKey]
end repeat
return tArray
end JSONToArray
Thank you!
Razvan.
Re: Standalone application settings Mac sql,SSL ,sqlite
The Issue was in folder Runtime,I forgot to add mergJSON external there.
Thanks.
Thanks.