我从 xamarin 表单应用程序的标题中收到错误消息。在我更新 VS2017 之前它没有那个错误。我这样做是因为我需要一些用于统一的库(并加载所有其他与游戏相关的库)。现在我什至无法在 Xamarin Forms 中加载 iOS 部分,它说不可用。这是我的 Info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>MinimumOSVersion</key>
<string>8.0</string>
<key>CFBundleDisplayName</key>
<string>AppPosventa</string>
<key>CFBundleIdentifier</key>
<string>com.companyname.AppPosventa</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>CFBundleName</key>
<string>appPosventa</string>
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIcon.appiconset</string>
<key>NSLocationWhenInUseUsageDescription</key>
<key>UIAppFonts</key>
<array>
<string>fa-solid-900.ttf</string>
</array>
</dict> </plist>
Run Code Online (Sandbox Code Playgroud)