For Starter edition: solving "Your app is using native code" on new iOS projects

BrendanZagaeskiBrendanZagaeski USForum Administrator, Xamarin Team Xamurai
edited May 2015 in Visual Studio

Error messages

Your app is using native code, which requires Xamarin.iOS Indie edition or higher. Please log in with your Xamarin account to proceed.

Linking with native code requires Indie (or higher) license. (MT9002)

Fix

  1. Remove the following lines from the FinishedLaunching() method:

    #if ENABLE_TEST_CLOUD\nXamarin.Calabash.Start();\n#endif

  2. Remove the "Xamarin.TestCloud.Agent" NuGet package:

Additional information

As part of the updated "New Project Dialog" in Xamarin Studio 5.9, the "iOS -> App" project templates have been updated to include the "Xamarin.TestCloud.Agent" NuGet package. Unfortunately that NuGet package is sufficient to trigger the "Linking with native code" error on Starter edition. So the package must be removed from the project before building.

This problem will be corrected in a future release so that Starter users will not need to adjust new projects before building them.

Text of the error messages

Your app is using native code, which requires Xamarin.iOS Indie edition or higher.
Please log in with your Xamarin account to proceed.

and:

Linking with native code requires Indie (or higher) license. (MT9002)

Posts

This discussion has been closed.