9
« on: March 12, 2015, 07:39:54 am »
Hi everyone,
Recently i upgraded to stencyl 3.3 so that I am able to build for iOS 64-bit.
I am using 2 custom extensions, one of them I made myself and another is the hypfacebook (which I will try to make work)
If I run the game on the simulator it all builds fine, however if I try to publish a build, i get this error:
In Reverse Order*
stencyl.sw.util.StreamGobbler [openfl] The following build commands failed:
stencyl.sw.util.StreamGobbler [openfl] ** BUILD FAILED **
stencyl.sw.util.StreamGobbler [openfl] clang: error: linker command failed with exit code 1 (use -v to see invocation)
stencyl.sw.util.StreamGobbler [openfl] ld: symbol(s) not found for architecture arm64
stencyl.sw.util.StreamGobbler [openfl] _main in Main.o
stencyl.sw.util.StreamGobbler [openfl] "_hypfacebook_register_prims", referenced from:
stencyl.sw.util.StreamGobbler [openfl] _main in Main.o
stencyl.sw.util.StreamGobbler [openfl] "_myextension_register_prims", referenced from:
stencyl.sw.util.StreamGobbler [openfl] Undefined symbols for architecture arm64:
stencyl.sw.util.StreamGobbler [openfl] ld: warning: ignoring file /Users/Me/stencylworks/games-generated/Game/Export/ios/Game/lib/arm64/libfacebook_ios_sdk.a, missing required architecture arm64 in file /Users/Me/stencylworks/games-generated/Game/Export/ios/Game/lib/arm64/libfacebook_ios_sdk.a (3 slices)
stencyl.sw.util.StreamGobbler [openfl] ld: warning: ignoring file /Users/Me/stencylworks/games-generated/Game/Export/ios/Game/lib/arm64/libhypfacebook.a, file was built for archive which is not the architecture being linked (arm64): /Users/Me/stencylworks/games-generated/Game/Export/ios/Game/lib/arm64/libhypfacebook.a
stencyl.sw.util.StreamGobbler [openfl] ld: warning: ignoring file /Users/Me/stencylworks/games-generated/Game/Export/ios/Game/lib/arm64/libmyextension.a, file was built for archive which is not the architecture being linked (arm64): /Users/Me/stencylworks/games-generated/Game/Export/ios/Game/lib/arm64/libmyextension.a
stencyl.sw.util.StreamGobbler [openfl] ld: warning: ignoring file /Users/Me/stencylworks/games-generated/Game/Export/ios/Game/lib/armv7/libfacebook_ios_sdk.a, missing required architecture arm64 in file /Users/Me/stencylworks/games-generated/Game/Export/ios/Game/lib/armv7/libfacebook_ios_sdk.a (3 slices)
I'm guessing the warnings that lead to excluding the files lead to the error "ld: symbol(s) not found for architecture arm64"
I have rebuilt both extensions and both have generated a the 64 bit file in the ndll folder "libmyextension.iphoneos-64.a".
Did I miss something?
Thanks in advance.