Error: The application ApplicationName needs to be rebuilt due to an inconsistency between the connected Mac and the local app

Viewed 1844

When trying to build the iOS version of my Xamarin application I received the following error:

The application ApplicationName needs to be rebuilt due to an inconsistency between 
the connected Mac and the local app. Please rebuild the application and try
again.

I am using the following software:

  1. Windows 10

    • Visual studio 2015 Community
    • Xamarin.iOS 9.4.2.24
    • Xamarin 4.0.1.145
  2. OS X 10.11.3 El Capitan.

    • Xcode 7.2.1
    • Xamarin Studio 5.10.3
    • Mono 4.2.3
    • GTK+ 2.24.23
    • Xamarin.iOS 9.4.2.27
    • Xamarin.Android 6.0.2.1

Are there any work arounds for this?

5 Answers

This often happens when you change build agents and there are conflicts between your local cache files and the ones created from your current build.

Delete the project folder created at /Users/{username}/Library/Caches/Xamarin/mtbs/{projectName} on your Mac. Clean, then rebuild.

You'll want to make sure all of the bin and obj folder contents are deleted. You may have to do it manually. Otherwise, the issue will persist.

Related