MTOUCHTASK: Error MT5206: Failed to create the a fat library. Please review the build log. (MT5206)

SatyaPrakashParidaSatyaPrakashParida Satya Prakash ParidaUSMember ✭✭

Hi Team,

I have updated to Xamarin.iOS 8.6.0 and and installed Xcode 6.1.1. After that I am unable to build the application on the device. I am getting MTOUCHTASK: Error MT5206: Failed to create the a fat library. Please review the build log. (MT5206) error every time.
If you have any resolution steps please let me know.

But it's working fine in simulator.

Posts

  • RolfBjarneKvingeRolfBjarneKvinge Rolf Bjarne Kvinge USXamarin Team Xamurai

    Have you reviewed the build log?

    Please attach it.

  • SatyaPrakashParidaSatyaPrakashParida Satya Prakash Parida USMember ✭✭

    I have checked Xamarin Studio->Help->Open Log Directory. But I canot see any build logs there. Can you please tell me where exactly I can see those logs?

  • KMullinsKMullins Kevin Mullins USXamarin Team Xamurai

    Hi @SatyaPrakashParida,

    If you view the Errors pad, the last option is to view the Build Output. See the attached image.

  • SatyaPrakashParidaSatyaPrakashParida Satya Prakash Parida USMember ✭✭

    Hi Pls find attached log for your reference.

  • TomWaeltiTomWaelti Tom Waelti CHMember

    @FreFre Thanks, your solution worked for me. After heavy updating of my environment, got the same error. Launched XCode, accepted the agreement, installer did some final lifting - Problem solved.

  • EndeavourSupportEndeavourSupport Endeavour Support USUniversity

    Thanks @Satya I did work!

  • mac10688mac10688 Matthew Cooper USMember ✭✭

    @FreFre Thank you sir

  • SamCSamC Sam C USMember

    Anyway to make this a "sticky"? I suspect many more users are going to run into this same issue ... ;-}

  • RobertGenzelRobertGenzel Robert Genzel NLMember ✭✭

    @FreFre Thanks. This also worked for me

  • stechmannstechmann Gustaf Stechmann USMember

    Thanks FreFre, you saved my life

  • kirankumar.8746kirankumar.8746 kiran kumar USMember

    Worked for me too..thanks.

  • Matt_HMatt_H Matthew Hirons USUniversity

    Thanks FreFre. Using Visual Studio, just had to start XCode on the Mac and accept the new license. Wonder why they can't display a more meaningful message?

  • MaartenMensink.6775MaartenMensink.6775 Maarten Mensink NLMember

    Starting XCode and accepting the license agreement worked like charm. Many thanks!!

  • CybrosysCybrosys Mikael Nensén USMember ✭✭

    Thanks @FreFre! Starting Xcode and accepting the license agreement worked like a charm!

  • PAOLOSANTINONPAOLOSANTINON PAOLO SANTINON ITMember ✭✭

    YES! Thanks! Worked for me too!

  • VisionsInCodeVisionsInCode Göran Halvarsson USMember

    Thanks you saved me :-)

  • Prajakta.ShindePrajakta.Shinde Prajakta Shinde INUniversity ✭✭
    edited February 16

    I am having same issue. Failed to create the a fat library. Please review the build log.
    Build log is saying
    unable to find utility "lipo", not a developer tool or in PATH

    I had reopened the visual studio. Also run Hello XCode project in xcode on mac. still getting the same error. My project was running successfully yesterday but today morning getting this unexpected error. Please help.

  • DottorPagliacciusDottorPagliaccius Ma Be ITMember ✭✭

    @Prajakta.Shinde said:
    I am having same issue. Failed to create the a fat library. Please review the build log.
    Build log is saying
    unable to find utility "lipo", not a developer tool or in PATH

    I had reopened the visual studio. Also run Hello XCode project in xcode on mac. still getting the same error. My project was running successfully yesterday but today morning getting this unexpected error. Please help.

    I have the same problem after upgrading xamarin to the latest stable :/

  • Rafael.SantosRafael.Santos Rafael Santos PTUniversity ✭✭

    I have this problem too, any news ?

  • Norman.9105Norman.9105 Norman USMember ✭✭

    @rdillin said:
    I fixed this issue today by opening Xcode, going to Preferences, going to Locations and then changing the command line tools back to 8.2.1 from 7.3.1. I'm guessing that the latest Xamarin update must have inadvertently changed them for some reason.

    It worked, thanks :)

  • Rafael.SantosRafael.Santos Rafael Santos PTUniversity ✭✭

    Thanks, work for me too. :smiley:

  • PritamJPritamJ Pritam Jadhav INMember

    @rdillin said:
    I fixed this issue today by opening Xcode, going to Preferences, going to Locations and then changing the command line tools back to 8.2.1 from 7.3.1. I'm guessing that the latest Xamarin update must have inadvertently changed them for some reason.

    Thanks man :smiley:

  • VolodymyrSavchenkoVolodymyrSavchenko Volodymyr Savchenko UAMember ✭✭✭

    Changing command line tools helped me too;

  • lavkeshlavkesh lavkesh agrawal INMember

    @SatyaPrakashParida said:
    I got the resolution. Xamarin was unable to select the default X Code version. Done it by changing "sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer" command.

    Thanks its work for me.

Sign In or Register to comment.