Forum Xamarin.iOS
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

mtouch command line: error MT0096: No reference to Xamarin.iOS.dll was found.

If I execute this command in the msbuild directory where the exe has been placed:
mtouch blabla.exe --sdk=13.1 --sdkroot /Applications/

I get the following output:
Xamarin.iOS (xcode11.1): e37549bc) using framework: /Applications/ error MT0096: No reference to Xamarin.iOS.dll was found.

Any idea how I can make that work? I couldn't find anything helpful using Google.


  • LandLuLandLu Member, Xamarin Team Xamurai

    If you consumed the command below:

    mtouch --sdkroot /Applications/ -launchsim

    Will it be deployed on the simulator?
    It seems your XCode lacks the corresponding iOS SDK. What's the version of your XCode and Xamarin.iOS?

  • FlorianStruckFlorianStruck USMember ✭✭

    Hi LandLu, thanks for your answer.

    mtouch --sdkroot /Applications/ -launchsim
    gives me an
    error MT1212: Failed to create a simulator where type = iPhone 4s ( and runtime = iOS 13.1 (13.1 - 17A844) -

    But this works and will correctly be deployed to the simulator:
    mtouch --sdkroot /Applications/ -launchsim --device=","

    I use XCode 11.1, Xamarin.iOS, VS 8.3.4

  • LandLuLandLu Member, Xamarin Team Xamurai

    This is because you are trying to deploy your iOS 13 application on an iPhone 4s.
    iPhone 4s is no longer supported by iOS 13. And this is a very old type device I don't think we need to test this device.

Sign In or Register to comment.