plist 的 AppLoader 问题 xamarin.ios
AppLoader Issue with plist xamarin.ios
当我尝试为我的 Xamarin.iOS 应用程序使用 AppLoader 时,我一直在与这个问题作斗争,该应用程序也有共享扩展。
当我在 AppLoader 中加载解决方案时,returns 出现以下错误
ERROR ITMS-90362:
"Invalid Info.plist value.
The value for the key 'NSExtensionActivationRule' in bundle MyApp.app/PlugIns/Share.appex is invalid.
Please refer to the App Extension Programming Guide on https://developer.apple.com"
这是我的分机 plist
查看 NSExtensionActivationRule
,除非我做错了其他事情,否则我看不到任何问题。
以防万一,如果您想比较扩展程序 plist
与容器应用程序的 plist
-
这是我的容器应用 plist
P.S. 在调试模式下,我对应用程序进行了全面测试,它在模拟器中运行良好,但 AppLoader 就是不喜欢它。
幸运的是,我发现了这个问题。我做了以下
- 删除了扩展中的
TRUEPREDICTAE
键 plist
- 将扩展 构建版本 与容器构建版本匹配,方法是将其从
1
更改为 1.0
(是的,它必须准确)
希望这对其他人有帮助
当我尝试为我的 Xamarin.iOS 应用程序使用 AppLoader 时,我一直在与这个问题作斗争,该应用程序也有共享扩展。
当我在 AppLoader 中加载解决方案时,returns 出现以下错误
ERROR ITMS-90362:
"Invalid Info.plist value.
The value for the key 'NSExtensionActivationRule' in bundle MyApp.app/PlugIns/Share.appex is invalid.
Please refer to the App Extension Programming Guide on https://developer.apple.com"
这是我的分机 plist
查看 NSExtensionActivationRule
,除非我做错了其他事情,否则我看不到任何问题。
以防万一,如果您想比较扩展程序 plist
与容器应用程序的 plist
-
这是我的容器应用 plist
P.S. 在调试模式下,我对应用程序进行了全面测试,它在模拟器中运行良好,但 AppLoader 就是不喜欢它。
幸运的是,我发现了这个问题。我做了以下
- 删除了扩展中的
TRUEPREDICTAE
键plist
- 将扩展 构建版本 与容器构建版本匹配,方法是将其从
1
更改为1.0
(是的,它必须准确)
希望这对其他人有帮助