Xamarin在iPad中构建iOS azure移动直播播放器。 “No Body on Method”,NInterpretException

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Xamarin在iPad中构建iOS azure移动直播播放器。 “No Body on Method”,NInterpretException相关的知识,希望对你有一定的参考价值。

下面是我的ICloudService公共类AzureCloudService:ICloudService {MobileServiceClient客户端;

    public AzureCloudService()
    {
        Microsoft.WindowsAzure.MobileServices.CurrentPlatform.Init();
        client = new MobileServiceClient("https://xxxxxxxxxxxxxx.azurewebsites.net");
    }

    public ICloudTable<T> GetTable<T>() where T : TableData
    {
        return new AzureCloudTable<T>(client);
    }
}

如果我删除'client = new'行,则加载应用程序,否则会抛出错误。

Vizualization Error
No body on method
Microsoft.WindowsAzure.MobileServices.IApplicationStorage
Microsoft.WindowsAzure.MobileServices.IPlatform::get_ApplicationStorage() (NInterpretException)
答案

我使用带有Live Player的iPhone 6也遇到了同样的问题。

如果我将Visual Studio挂接到我的Mac并通过Visual Studio中的iPhone模拟器运行它然后它可以正常工作,所以可能是,Live Player出了问题?

以上是关于Xamarin在iPad中构建iOS azure移动直播播放器。 “No Body on Method”,NInterpretException的主要内容,如果未能解决你的问题,请参考以下文章

Xamarin Forms (iOS) - 从选取器中删除快捷方式栏

将IOS应用程序安装到使用Xamarin在VS中构建的设备时出错

UITabBar 项目位置问题 Xamarin

为啥我无法构建新的 iPad Xamarin 应用程序?

使用 Azure 中的集线器注册推送通知时,Xamarin.iOS 本机崩溃错误 SIGSEGV

Xamarin.iOS 中的 Azure 推送通知不起作用