简体   繁体   English

IOS 应用商店错误:ionic3 中的 Info.plist 文件中缺少目的字符串?

[英]IOS app store error : Missing Purpose String in Info.plist File in ionic3?

Yesterday I've submitted my app for review to the App Store Connect.昨天我已将我的应用程序提交给 App Store Connect 以供审核。 Although the app is still under review, I've received an email to inform me that I have to fix an error.Here is the screenshort of the error:尽管该应用程序仍在审核中,但我已收到一封电子邮件,通知我必须修复错误。以下是错误的屏幕截图:

在此处输入图片说明

I don't know how to access and modify the Info.plist.I don't even use calender,contacts,microphone,motion in my app.so why i received a email regarding above mentioned key?我不知道如何访问和修改 Info.plist。我什至不在我的应用程序中使用日历、联系人、麦克风、动作。为什么我收到了有关上述密钥的电子邮件? Any idea?任何的想法?

this is because even if you don't use those permissions but one of the third party libraries includes them in its info.plist , then you also have to include them and write the usage description into your info.plist file.这是因为即使您不使用这些权限,但第三方库之一将它们包含在其info.plist ,那么您也必须包含它们并将使用说明写入您的info.plist文件。 so, to do so:-所以,这样做: -
1- you can add those keys in the config file: 1-您可以在配置文件中添加这些键:

  1. -for contacts key <edit-config target="NSContactsUsageDescription" file="*-Info.plist" mode="merge"> <string>Your description here</string> </edit-config> - 对于联系人键<edit-config target="NSContactsUsageDescription" file="*-Info.plist" mode="merge"> <string>Your description here</string> </edit-config>
  2. -for calendar key - 日历键
    <edit-config target="NSCalendarsUsageDescription" file="*-Info.plist" mode="merge"> <string>Your description here</string> </edit-config>

  3. -for microphone key - 麦克风键
    <edit-config target="NSMicrophoneUsageDescription" file="*-Info.plist" mode="merge"> <string>Your description here</string> </edit-config>

2- add those keys from xcode 2- 从 xcode 添加这些键

  1. open info.plist in xcode as a source code.在 xcode 中打开 info.plist 作为源代码。
  2. add <key>NSCalendarsUsageDescription</key> <string>your description here </string> add <key>NSCalendarsUsageDescription</key> <string>your description here </string>
  3. repeat for all keys.对所有键重复。
  4. save and close.保存并关闭。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 应用商店在 Info.plist 错误中缺少目的字符串 - App store Missing Purpose String in Info.plist error IOS 应用程序在添加 info.plist 时缺少用途字符串 - IOS app missing purpose string in info.plist while it is added Flutter ios 应用程序提交:Info.plist 中缺少目的字符串 - Flutter ios app submission: Missing Purpose String in Info.plist Appstore 连接错误:Info.plist 文件中缺少目的字符串 - Error Appstore connect : Missing Purpose String in Info.plist File 由于来自appstore的Info.plist文件中缺少目的字符串,拒绝响应本机iOS应用程序 - Rejected react native iOS app due to Missing Purpose String in Info.plist File from appstore Ios react-native 无法部署到应用商店获取 ITMS-90683:Info.plist 中缺少目的字符串 - Ios react-native cant deploy to app store getting ITMS-90683: Missing Purpose String in Info.plist 应用程序因Info.plist文件麦克风中缺少目的字符串而被拒绝,但我无法在info.plist中添加说明 - App got rejected for missing Purpose String in Info.plist File Microphone, but I can't add the description in info.plist “Info.plist文件中缺少用途字符串”实际上并没有丢失 - “Missing Purpose String in Info.plist File” not actually missing Phonegap App Store 提交:ITMS-90683:Info.plist 中缺少目的字符串 - NFCReaderUsageDescription - 未使用插件 - Phonegap App Store Submit: ITMS-90683: Missing Purpose String in Info.plist - NFCReaderUsageDescription - Not Using Plugin Xcode-Info.plist文件中缺少目的字符串 - Xcode - Missing Purpose String in Info.plist File
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM