添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

I'm trying to implement the dynamic icon change, I made the settings in info.plist but when I go to validate I get this error message.

"Invalid Info.plist value. The value of the CFBundleIcons.CFBundleAlternateIcons Info.plist key is not valid. Learn more at https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html#//apple_ref/doc/uid/TP40009249-SW14 ."

, here is my info.plist

<key>CFBundleAlternateIcons</key> <key>Icon2</key> <key>CFBundleIconFiles</key> <array> <string>img</string> </array> </dict> <key>Icon</key> <key>CFBundleIconFiles</key> <array> <string>img</string> </array> </dict> <key>UIPrerenderedIcon</key> <false/> </dict> <key>CFBundlePrimaryIcon</key> <key>CFBundleIconFiles</key> <array> <string>img</string> </array> <key>UIPrerenderedIcon</key> <false/> </dict> </dict>
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Developer Forums Participation Agreement and Apple provided code is subject to the Apple Sample Code License .
  • Forums
  • Terms of Use Privacy Policy License Agreements