Marcelo Vitoria
Marcelo Vitoria

Reputation: 601

"The codesign tool could not be found" from Xamarin Studio

I'm trying to generate an IPA file for my App from Xamarin Studio, on Mac, and i'm getting this error:

"The codesign tool could not be found"

I checked the certificates, provisioning profiles, etc. I generated apps before in this machine, using the same developer account.

From Terminal i can see that codesign command is being recognized, but maybe Xamarin Studio is looking for it in a different place.

Similar problem in XCode

I tried to generate the IPA from a random project in XCode and it gave me a similar error:

"can't exec 'codesign'"

Then i found an issue on stackoverflow that said to copy the codesign program from /usr/bin to /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u‌​sr/bin

I did that and everything worked fine in XCode, but still getting the same error from Xamarin Studio.

Any ideas?

Thanks in advance!

Upvotes: 0

Views: 208

Answers (2)

Marcelo Vitoria
Marcelo Vitoria

Reputation: 601

Since i was totally out of time, and needed a workaround, i reinstalled the OS and all the tools, and it did the job for me.

I'm sorry i couldn't get to a more concrete solution for this problem.

Upvotes: 0

rfrittelli
rfrittelli

Reputation: 1211

I don't know anything about xamarin, but chances are you don't have command line tools installed. Go to preferences and downloads. I think it comes standard with Xcode 5 now, but maybe not.

Upvotes: 1

Related Questions