缺少Info.plist密钥无法解决

时间:2017-11-28 12:47:09

标签: ios iphone xcode itunes

我已经收到了几天的错误,如下所述。我决不会找到解决方案。

  

亲爱的开发人员,

     

我们发现您最近交付的一个或多个问题   "申请名称"。要处理您的交货,请出现以下问题   必须纠正:

     

缺少Info.plist键 - 此应用尝试访问隐私敏感   没有使用说明的数据。该应用的Info.plist必须包含一个   NSPhotoLibraryUsageDescription键,其字符串值解释为   用户应用程序如何使用此数据。

     

缺少Info.plist键 - 此应用尝试访问隐私敏感   没有使用说明的数据。该应用的Info.plist必须包含一个   NSCameraUsageDescription键,用字符串值解释   用户应用程序如何使用此数据。

     

一旦这些问题得到纠正,您就可以重新发送   纠正二进制。

     

此致

     

App Store团队

我想在info.plist文件中添加。我该如何改变?我很高兴你帮助了我。

我的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>CFBundleDevelopmentRegion</key>
	<string>$(DEVELOPMENT_LANGUAGE)</string>
	<key>CFBundleDisplayName</key>
	<string>OneSignalNotificationServiceExtension</string>
	<key>CFBundleExecutable</key>
	<string>$(EXECUTABLE_NAME)</string>
	<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>$(PRODUCT_NAME)</string>
	<key>CFBundlePackageType</key>
	<string>XPC!</string>
	<key>CFBundleShortVersionString</key>
	<string>2.4</string>
	<key>CFBundleVersion</key>
	<string>2.4.4</string>
	<key>NSCameraUsageDescription</key>
	<string>We, however, intend to record the members' profile pictures and not to take photographs of the products they will use in their orders.</string>
	<key>NSExtension</key>
	<dict>
		<key>NSExtensionPointIdentifier</key>
		<string>com.apple.usernotifications.service</string>
		<key>NSExtensionPrincipalClass</key>
		<string>NotificationService</string>
	</dict>
	<key>NSPhotoLibraryUsageDescription</key>
	<string>However, we aim to record the members' profile pictures and to select photographs of the products they use in their orders.</string>
</dict>
</plist>
&#13;
&#13;
&#13;

0 个答案:

没有答案
相关问题