I am trying to build an share extension, But during upload i got this error
我正在尝试建立共享扩展,但在上传过程中我遇到了这个错误
Error ITMS -90362"Invalid info.plist value. The Value for the key 'NSExtensionActivationRule' in bundle myapp.app/Plugins/myapp.appex is invalid
错误ITMS -90362“无效的info.plist值。捆绑myapp.app/Plugins/myapp.appex中密钥'NSExtensionActivationRule'的值无效
1 个解决方案
#1
6
You are getting two messages I can see the problem for the second one. The Bundle Version needs to match in both targets. You have Bundle Version set to 0.0.6 in the main target and it's set to 1 in the Extension target. Change that to 0.0.6. "Build Version String, short" doesn't matter.
您收到两条消息我可以看到第二条消息的问题。捆绑版本需要在两个目标中匹配。您在主目标中将Bundle Version设置为0.0.6,并在Extension目标中将其设置为1。将其更改为0.0.6。 “Build Version String,short”并不重要。
You'll need to show the values of the NSExtension key in the Extension target to fix the first message.
您需要在Extension目标中显示NSExtension键的值以修复第一条消息。
#1
6
You are getting two messages I can see the problem for the second one. The Bundle Version needs to match in both targets. You have Bundle Version set to 0.0.6 in the main target and it's set to 1 in the Extension target. Change that to 0.0.6. "Build Version String, short" doesn't matter.
您收到两条消息我可以看到第二条消息的问题。捆绑版本需要在两个目标中匹配。您在主目标中将Bundle Version设置为0.0.6,并在Extension目标中将其设置为1。将其更改为0.0.6。 “Build Version String,short”并不重要。
You'll need to show the values of the NSExtension key in the Extension target to fix the first message.
您需要在Extension目标中显示NSExtension键的值以修复第一条消息。