当我将 MAUI iOS 应用程序上传到传输应用程序时,我收到此错误。我正在使用自定义的splash.xaml。适用于 Android 和 iOS。我还删除了 MAUI 项目中的默认启动屏幕。我还在 iOS 文件夹中创建了 LaunchScreen.storyboard。
> Asset validation failed (90476)
Invalid bundle. Because your app supports Multitasking on iPad, you need to include the LaunchScreen launch storyboard file in your com.addovation.ios.mobileaction bundle. Use UILaunchScreen instead if the app’s MinimumOSVersion is 14 or higher and you prefer to configure the launch screen without storyboards. For details, see:
https://developer.apple.com/documentation/bundleresources/information_property_list/uilaunchstoryboardname
(ID: 5aeb38d6-340b-4186-b35f-c78b7df8144e)
这是我的信息.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>LSRequiresIPhoneOS</key>
<true/>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>arm64</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>XSAppIconAssets</key>
<string>Assets.xcassets/appicon.appiconset</string>
<key>CFBundleName</key>
<string>Test App</string>
<key>CFBundleDisplayName</key>
<string>Mobile Action</string>
<key>CFBundleIdentifier</key>
<string>test.ios.app</string>
<key>CFBundleShortVersionString</key>
<string>3.0.0</string>
<key>CFBundleVersion</key>
<string>3.0.0</string>
<key>MinimumOSVersion</key>
<string>16.0</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>test.ios.app</string>
<key>CFBundleURLSchemes</key>
<array>
<string>msauth.test.ios.app</string>
</array>
</dict>
</array>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>mailto</string>
</array>
<key>UIBackgroundModes</key>
<array>
<string>fetch</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
</dict>
</plist>