Mat*_*att 1 ios xamarin xamarin.forms grpc
我正在尝试使用 Xamarin.Forms 和 Grpc.Core 和 Grpc.Core.Xamarin 构建移动 gRPC 客户端。目前 Android 一切正常,但我的 iOS 项目无法构建。我收到超过 100 个错误(和 1000 个警告),指出“警告:对象文件 (C:/Users/Matt/.nuget/packages/grpc.core.xamarin/2.41.1/build/Xamarin.iOS10/../ ../native/ios/universal/libgrpc.a(server_address.o)) 是为比链接版本 (8.0) 更新的 iOS 模拟器版本 (9.0) 构建的”
现在 iOS .csproj 文件确实显示我的模拟器版本是 8
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{AA8D5164-21F8-4A44-96F9-A8D3E0021486}</ProjectGuid>
<ProjectTypeGuids>{FEACFBD2-3405-455C-9665-78FE426C6842};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
<TemplateGuid>{89a4fe7c-635d-49c9-8d8c-5cd363c0d68d}</TemplateGuid>
<OutputType>Exe</OutputType>
<RootNamespace>myProject.iOS</RootNamespace>
<IPhoneResourcePrefix>Resources</IPhoneResourcePrefix>
<AssemblyName>myProject.iOS</AssemblyName>
<MtouchEnableSGenConc>true</MtouchEnableSGenConc>
<MtouchHttpClientHandler>NSUrlSessionHandler</MtouchHttpClientHandler>
<ProvisioningType>manual</ProvisioningType>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
</PropertyGroup>
Run Code Online (Sandbox Code Playgroud)
正如您在上面看到的,版本是 8.0.30703。然而,我似乎找不到任何有关如何将模拟器更新到版本 9.0 的信息。
感谢任何和所有的帮助,我确信我只是错过了一些简单的东西。
| 归档时间: |
|
| 查看次数: |
1764 次 |
| 最近记录: |