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

  • Question

  • User54919 posted

    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.

    Friday, January 23, 2015 9:42 AM

All replies

  • User39 posted

    Have you reviewed the build log?

    Please attach it.

    Friday, January 23, 2015 10:22 AM
  • User54919 posted

    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?

    Friday, January 23, 2015 10:43 AM
  • User31231 posted

    Hi @SatyaPrakashParida,

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

    Friday, January 23, 2015 3:31 PM
  • User54919 posted

    Hi Pls find attached log for your reference.

    Friday, January 23, 2015 5:41 PM
  • User54919 posted

    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.

    Sunday, January 25, 2015 6:09 PM
  • User15590 posted

    Had the same error. I was upgrading apps to Native API and 64, I also needed to upgrade XCODE. so I upgraded it but without running it. The build complained about the XCODE license agreement not being accepted.

    So I needed to start XCODE just once to get the accept license agreement screen.

    Monday, March 9, 2015 8:21 PM
  • User15830 posted

    @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.

    Thursday, May 21, 2015 2:53 PM
  • User14586 posted

    Thanks @Satya I did work!

    Tuesday, June 16, 2015 1:43 PM
  • User147422 posted

    @FreFre Thank you sir

    Thursday, September 17, 2015 8:12 PM
  • User159984 posted

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

    Tuesday, September 22, 2015 6:34 PM
  • User10045 posted

    @FreFre Thanks. This also worked for me

    Wednesday, September 23, 2015 6:51 PM
  • User150886 posted

    Thanks FreFre, you saved my life

    Friday, September 25, 2015 11:58 AM
  • User147783 posted

    Worked for me too..thanks.

    Thursday, October 1, 2015 7:40 PM
  • User134110 posted

    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?

    Tuesday, October 13, 2015 6:57 PM
  • User44311 posted

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

    Thursday, October 22, 2015 9:50 AM
  • User51359 posted

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

    Monday, October 26, 2015 6:33 AM
  • User93424 posted

    YES! Thanks! Worked for me too!

    Thursday, November 5, 2015 8:44 AM
  • User186368 posted

    Thanks you saved me :-)

    Saturday, January 9, 2016 2:33 PM
  • User246263 posted

    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.

    Thursday, February 16, 2017 6:44 AM
  • User217287 posted

    @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 :/

    Friday, February 24, 2017 2:45 PM
  • User268145 posted

    I have this problem too, any news ?

    Wednesday, March 1, 2017 5:58 PM
  • User259258 posted

    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.

    Friday, March 3, 2017 5:16 PM
  • User62168 posted

    @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 :)

    Monday, March 6, 2017 3:34 PM
  • User268145 posted

    Thanks, work for me too. :smiley:

    Tuesday, March 7, 2017 7:32 PM
  • User313001 posted

    @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:

    Wednesday, March 29, 2017 12:30 PM
  • User137312 posted

    Changing command line tools helped me too;

    Friday, July 7, 2017 2:33 PM
  • User346865 posted

    @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.

    Thursday, September 14, 2017 4:32 PM
  • User236567 posted

    @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 issues. Please help

    Wednesday, November 29, 2017 6:42 AM
  • User169972 posted

    @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 @rdillin , Its work for me. :wink:

    Monday, December 17, 2018 11:26 AM