Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Migrating a forms app to the unified api is full of fail.

$
0
0

The project is currently using forms 1.3.4, and I have tried to convert the iOS portion to the unified api both before and after moving to 1.4.0. Neither seems to work.

The type 'MonoTouch.UIKit.UIApplicationDelegate' is defined in an assembly that is not referenced. You must add a reference to assembly 'monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'.
The type 'MonoTouch.UIKit.UIView' is defined in an assembly that is not referenced. You must add a reference to assembly 'monotouch, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'.

In my AppDelegate.cs file,

public partial class AppDelegate : FormsApplicationDelegate

The FormsApplicationDelegate has the squiggly red underline and says on hover that it comes from Module 'monotouch'.

'monotouch' has been removed from the project references, and 'Xamarin.iOS' added, but it appears the reference 'Xamarin.Forms.Platform.iOS.Classic' tries to reference 'monotouch'.

I've tried googling, and read the migration docs. None of them have helped. It seems to just work for everything else.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>