[Xamarin] Solution for “MT0057” error

今回はちょっと技術系の話! 普段は日本語オンリーですが,英語でも本件に関する情報が見当たらなかったので気分を変えて英語も併記してみます。
This entry deals with a little bit tech-related talk. Usually I write entries only in Japanese, but there seemed to be rare information about this topic so that I will write also in English in this time.

I entered into Xamarin

Recently I participated a study event about Xamarin. Because I thought I would have a lot of time during I had been hospitalized last weekend, I decided to start learning Xamarin.

I encountered error: MT0057

However after when iOS was upgraded to 11.2 and I updated Xcode corresponedly, the following error occurred and I got unable to build Xamarin code.

I wanna resolve this error: MT0057, but there is no related entries even if it is in English, I think. The only that helped me was this web page.

The message from MT0057 is written in this site.

MT0057: Cannot determine the path to Xcode.app from the sdk root ‘*’. Please specify the full path to the Xcode.app bundle.
The path passed using –sdkroot does not specify a valid Xcode app. Please specify a path to an Xcode app.

なんだか,xcode-select --print-pathの返り値がおかしそうな気がしますね。
Somehow what is wrong is the return-value of xcode-select --print-path.

Solution for MT0057

So that let’s confirm my env.

Umm I could see /Library/Developer/CommandLineTools. In fact what is desired here is /Applications/Xcode.app or something like that.

Then what I can do is modify this as following commands.

Here I can see the return-value is exactly /Applications/Xcode.app/Contents/Developer !

That’s all to build Xamarin project. Happy Xamarin with you !!

Share this:

About Author



このサイトはスパムを低減するために Akismet を使っています。コメントデータの処理方法の詳細はこちらをご覧ください


修士(情報理工学;位置情報系機械学習)了。企業にて研究職なう。 Androidアプリ開発者,Flutter勉強中。 出没地域は映画館,本屋,勉強会。御朱印の集印がマイブーム。思い出深い神社は静岡県・伊豆山神社と滋賀県・多賀大社。登山したい。 投資チョットヤッテル。