Building extension doesn't output iphoneos-64 in the obj folder

heshamg

  • Posts: 90
hi all

i followed all the instructions for building a 64 bit extension.. I even took a ready made one and tried to rebuild it
sometimes it outputs everything perfectly and i even use the rebuilt extension (like i did when i updated and fixed the notifications extension)
other times it doesnt work properly!! absolutely random!
So when it's not working properly, it outputs the correct ndll files but the libnotifications.iphoneos-64.a is identical as the libnotifications.iphoneos.a even with the same size etc. so it gives an error in stencyl
i notice that the libnotifications.iphoneos-64.a is always bigger usually.

i really didn't change anything, it just randomly switches from working properly to not.

so when i delete the obj folder.. and it regenerates it i notice there is no iphoneos-64 folder (when its not working properly)

any ideas why that's happening?
Thanks!

« Last Edit: June 21, 2015, 07:02:09 am by heshamg »

heshamg

  • Posts: 90
for some reason... i was trying that after a restart and it didnt work
but after i tried running my game on stencyl THEN doing the build for the extension it worked.. in case it happens to anyone.. maybe that fixes it

heshamg

  • Posts: 90
now suddenly it stopped working for i386 ... did anyone experience something like that?

heshamg

  • Posts: 90
it literally compiles new files (without changing the code) at various stages..
like if a compile failed in stencyl because of the architecture issues a new set of files is generated when i run the build!!!
so weird.. now i cant create extensions anymore.. the extension ive been working on the past weeks is messed up :(

this error appears when i run the game with the modified extension:

jar:file:/Users/Hesham/Documents/Stencyl/Stencyl-full%20(1)/sw.jar!/res/logview4j/images/info.gif   false   INFO   1434896220516009480   stencyl.sw.util.StreamGobbler   [openfl] clang: error: linker command failed with exit code 1 (use -v to see invocation)
jar:file:/Users/Hesham/Documents/Stencyl/Stencyl-full%20(1)/sw.jar!/res/logview4j/images/info.gif   false   INFO   1434896220516009479   stencyl.sw.util.StreamGobbler   [openfl] ld: symbol(s) not found for architecture armv7
jar:file:/Users/Hesham/Documents/Stencyl/Stencyl-full%20(1)/sw.jar!/res/logview4j/images/info.gif   false   INFO   1434896220516009478   stencyl.sw.util.StreamGobbler   [openfl]       objc-class-ref in libnotifications.a(220faf4b_Notifications.o)
jar:file:/Users/Hesham/Documents/Stencyl/Stencyl-full%20(1)/sw.jar!/res/logview4j/images/info.gif   false   INFO   1434896220516009477   stencyl.sw.util.StreamGobbler   [openfl]   "_OBJC_CLASS_$_AFHTTPRequestOperation", referenced from:
jar:file:/Users/Hesham/Documents/Stencyl/Stencyl-full%20(1)/sw.jar!/res/logview4j/images/info.gif   false   INFO   1434896220516009476   stencyl.sw.util.StreamGobbler   [openfl] Undefined symbols for architecture armv7: