我想通過NuGet在PCL iOS項目中安裝Xamarin.Mobile,我正在處理這個錯誤!無法在PCL iOS項目中安裝Xamarin.Mobile
無法安裝軟件包'xamstore-xamarin.mobile 0.7.1'。您是 嘗試將此軟件包安裝到目標爲 'Xamarin.iOS,版本= v1.0'的項目中,但軟件包不包含任何 程序集引用或與該 框架兼容的內容文件。有關更多信息,請聯繫軟件包作者。
這是我的AppDelegate
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as listening (and optionally responding) to
// application events from iOS.
[Register("AppDelegate")]
public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate
{
//
// This method is invoked when the application has loaded and is ready to run. In this
// method you should instantiate the window, load the UI into it and then make the window
// visible.
//
// You have 17 seconds to return from this method, or iOS will terminate your application.
//
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
global::Xamarin.Forms.Forms.Init();
Xamarin.FormsMaps.Init();
LoadApplication(new App());
return base.FinishedLaunching(app, options);
}
}
我的SDK版本是10.1。
Xamarin.Mobile在Android項目中工作正常。
任何想法如何解決這個問題?
Thx !!它正在工作 –