Hi all and specifically those who have already uploaded games to Xcode and then to the App Store: I am having troubles when I put my project into Xcode (i exported as Xcode file from Codea and then put it onto my computer) and I keep getting this error that I have been trying to fix but I cannot figure out how to fix it…
gunzip: /Users/Kyle/Desktop/AirHockey/Libs/libtools.a.gz: not in gzip format Command /bin/sh failed with exit code 1
Hmm it looks like it might be an error that started since we migrated our server to SSL. Are you able to download and extract the files manually from here:
@simeon thanks so much for the help! It seems to work but then I encountered another problem… I have no clue if the errors are related but this is what it gave me:
gunzip: /Projects/Informatica/Software/Vein Camera/VeinCamera 3/Libs/libcodea.a.gz: not in gzip format
note: Downloading Tools Library…
gunzip: /Projects/Informatica/Software/Vein Camera/VeinCamera 3/Libs/libtools.a.gz: not in gzip format
Command /bin/sh failed with exit code 1
I downloaded the files here, and did what you asked, but now I get different warnings:
ld: warning: ignoring file /Projects/Informatica/Software/Vein Camera/VeinCamera 3/Libs/libcodea.a, file was built for unsupported file format ( 0x3C 0x21 0x44 0x4F 0x43 0x54 0x59 0x50 0x45 0x20 0x48 0x54 0x4D 0x4C 0x20 0x50 ) which is not the architecture being linked (arm64): /Projects/Informatica/Software/Vein Camera/VeinCamera 3/Libs/libcodea.a
ld: warning: ignoring file/Projects/Informatica/Software/Vein Camera/VeinCamera 3/Libs/libtools.a, file was built for unsupported file format ( 0x3C 0x21 0x44 0x4F 0x43 0x54 0x59 0x50 0x45 0x20 0x48 0x54 0x4D 0x4C 0x20 0x50 ) which is not the architecture being linked (arm64): /Projects/Informatica/Software/Vein Camera/VeinCamera 3/Libs/libtools.a
Then the following errors:
Undefined symbols for architecture arm64:
“_lua_setglobal”, referenced from:
-[iAdsAddon codea:didCreateLuaState:] in iAdsAddon.o
“_lua_pushcclosure”, referenced from:
-[iAdsAddon codea:didCreateLuaState:] in iAdsAddon.o
“_luaL_checknumber”, referenced from:
_gamecenter_submitScore in GameCenterAddon.o
_gamecenter_submitAchievement in GameCenterAddon.o
“_luaL_checklstring”, referenced from:
_gamecenter_showLeaderboards in GameCenterAddon.o
_gamecenter_submitScore in GameCenterAddon.o
_gamecenter_submitAchievement in GameCenterAddon.o
“_lua_settop”, referenced from:
-[GameCenterAddon codea:didCreateLuaState:] in GameCenterAddon.o
“_lua_createtable”, referenced from:
_luaopen_gamecenter in GameCenterAddon.o
“OBJC_CLASS$_StandaloneCodeaViewController”, referenced from:
objc-class-ref in AppDelegate.o
“_lua_gettop”, referenced from:
_gamecenter_showLeaderboards in GameCenterAddon.o
_gamecenter_submitScore in GameCenterAddon.o
_gamecenter_submitAchievement in GameCenterAddon.o
“_lua_pushboolean”, referenced from:
_gamecenter_enabled in GameCenterAddon.o
“_luaL_setfuncs”, referenced from:
_luaopen_gamecenter in GameCenterAddon.o
“_luaL_requiref”, referenced from:
-[GameCenterAddon codea:didCreateLuaState:] in GameCenterAddon.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)