iOS7 and new Xcode: Linker fail/trans fail

Monkey Targets Forums/iOS/iOS7 and new Xcode: Linker fail/trans fail

chimaera(Posted 2013) [#1]
Hi,

I upgraded to new new Xcode and when compiling I now get the following error. If I open Xcode and run it it works though.

The following build commands failed:
	Ld build/Debug-iphonesimulator/MonkeyGame.app/MonkeyGame normal i386
(1 failure)
TRANS FAILED: Error executing 'xcodebuild -configuration Debug -sdk iphonesimulator', return code=16640
[Finished in 3.7s with exit code 255]


Any help?


computercoder(Posted 2013) [#2]
Which version of Monkey are you using? If you have an older one, try getting either 74a (stable) or 75d (experimental) and then delete all your build folders. Recompile in the newer version of monkey and see how it goes.


Snader(Posted 2013) [#3]
Exact same problem here Chimaera. Complete clean install of Xcode, monkey (74d).


computercoder(Posted 2013) [#4]
Perhaps try setting the target SDK to 4.3 from whatever Monkey has now. Mark recently posted a fix to this on the GitHub that you could download and try as well.


Snader(Posted 2013) [#5]
See also this topic:

http://www.monkeycoder.co.nz/Community/posts.php?topic=5923


chimaera(Posted 2013) [#6]
Ah! I solved it my going into target and setting it to 5.0. Then the linker works. Thanks!