people report to me that my exported mac app gives errors. i've sent them the image loader example of gideros and it also gives this error. i believe this was introduced lately, please look into it, it makes my apps unusable currently.
crash log for image loader mac export:
main.lua:19: attempt to index local 'out' (a nil value)
Comments
also writing to other folders works, only |D| is not working.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
thanks for your help.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Currently I'm working in a new app in my Mac for android... but I haven't got anything error as you say in your post... so I don't know how I could reproduce it.
Have you got some a sample code for test it?
[-] Liasoft
the error occurs already if i mac-export (on my windows machine) the image loader example that comes with gideros (without changing the code).
here is the exported app which gives the error:
https://www.dropbox.com/s/gow9ug7yo6t0lhs/filewrite_test_mac.zip?dl=0
Fragmenter - animated loop machine and IKONOMIKON - the memory game
i assume what you say implies that the mac player is working fine.
did you try also to build a mac-app and run it? in case that works then perhaps the problem appears only when it is built on a windows machine. would be good to know.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
btw i'm not publishing my app on mac store, just sending it directly to people.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
See http://giderosmobile.com/forum/discussion/comment/50609#Comment_50609
xattr -dr com.apple.quarantine /FolderContainingMyApp/
?
if this works that's already great, i will try to let people check this.
is there any chance that this won't be needed in the future?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
i will try this attribute change and get back to you if it works.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
I reinstalled OSX Sierra but when I tried of disable quarantine, system mac denied me permission so currently I can't export projects to Mac OSX Sierra.
Really I don't know how I can fix this.
Yesterday when I tried export to Android Studio... Gideros couldn't load images... so I rebooted my Mac and the problem disappeared...
It was the first thing that happened to me. so I don't know if it is some an isolated fact.
[-] Liasoft
I ran sudo xattr as suggested above.
The player doesn't remember settings (like resolution), gideros studio doesn't pick up that the player was closed, and subsequent runs of my game error out saving to 'D|'. I have to restart the player, point studio to that player, and re-setup the resolution each time I want to run new changes to the app. In other words, it isn't feasible to develop on my mac
[EDIT: If I comment out save/load and hardcode state as a work-around I can work on my mac].
Interestingly, it does save the file. I see it there in the temporary folder. But it can't save there subsequently without restarting the player.
Same thing happens on 2016.12 as 2017.4.1
@hgy29, this issue is quite central, i think there should be a working solution (like xattr or whatever that really works, the simplest possible) somewhere more visible than some forum post. (e.g. upon running mac version and upon exporting mac app there should be a readme about how to run exported unsigned project).
Fragmenter - animated loop machine and IKONOMIKON - the memory game
@hgy29, on the first run inside the mac player, the file is saved. If I cmd-r to restart or run new code, saving the same file fails. Interesting issue!
@hgy29, about your latest link on stackexchange, i have yet to get back reports if it's helping.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh, EricCarr, pie
btw i did not have problems on windows desktop.
thanks a lot
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh, EricCarr
Fragmenter - animated loop machine and IKONOMIKON - the memory game