各种版本的应用已发布到Mac应用商店。新版本在应用程序购买中引入。现在,当尝试通过ApplicationLoader交付应用程序时,它失败并显示以下错误消息:
ERROR ITMS-90511:“CFBundleIndetifier Collision.Info.plist CFBundleIdentifier值'com.unity.purchasing.unitypurchasing'的 'SomeApp.app/Contents/Plugins/unitypurchasing.bundle'已经存在 由另一个应用程序使用。
你有什么想法导致这种情况以及如何解决这个问题吗?
一些其他背景信息:
在签署包之前,所有.meta文件都已从包含的库中删除。一个适当的.entit元文件已到位。签署是通过以下方式完成的:
chmod -R a+xr "SomeApp.app"
codesign -f --deep -s '3rd Party Mac Developer Application: SomeDev' --entitlements "SomeApp.entitlements" "SomeAppp.app/Contents/Plugins/unitypurchasing.bundle"
codesign -f --deep -s '3rd Party Mac Developer Application: SomeDev' --entitlements "SomeApp.entitlements" "SomeApp.app"
productbuild --component "SomeApp.app" /Applications --sign "3rd Party Mac Developer Installer: SomeDev" "SomeApp.pkg"
欢迎任何导致问题的原因以及解决方法。谢谢。
答案 0 :(得分:0)
1. codesign -f --deep -s "3rd Party Mac Developer Application: " your.app/Contents/Plugins/unitypurchasing.bundle
2. codesign -f --deep -s "3rd Party Mac Developer Application: " your.app
3. productbuild --component your.app /Applications --sign "3rd Party Mac Developer Installer: " your.pkg
更多信息的结帐链接:
https://docs.unity3d.com/Manual/UnityIAPAppleConfiguration.html
答案 1 :(得分:0)
要解决此问题,请尝试替换 your.app/Contents/Plugins/unitypurchasing.bundle/Contents/Info.plist
<key>CFBundleIdentifier</key>
<string>com.unity.purchasing.unitypurchasing</string>
使用
<key>CFBundleIdentifier</key>
<string>com.your.app.bundle.unitypurchasing</string>
出现与您相同的错误后,只需将应用提交到App Store。