Missing Info.plist value error - A value for the Info.plist key 'CFBundleIconName' is missing (ios 18.2)

I’m a 16-year-old app developer and I’m currently facing an issue when trying to upload my iOS app to TestFlight. The error I get is:

Validation failed (409)

Missing Info.plist value. A value for the Info.plist key 'CFBundlelconName' is missing in the bundle 'com.Bru-cknerLaurent.Acardia-Journal'. Apps built with iOS 11 or later SDK must supply app icons in an asset catalog and must also provide a value for this Info,plist key. For more information see ``http://help.apple.com/xcode/mac/current/#/`` dev10510b1f7. (ID: 040f6878-fb5d-450e-bf10-74ddd28d4182)

I have already tried the following solutions, but nothing seems to work:

  1. Checked my Info.plist I manually added

     <key>CFBundleIconName</key> <string>AppIcon</string>
    

    , but the error persists. I also tried adding

    <key>XSAppIconAssets</key> <string>Assets.xcassets/AppIcon.appiconset</string> 
    

    as suggested in some forums, but no luck.

  2. Verified my asset catalog My Assets.xcassets contains an AppIcon.appiconset with all required sizes for iPhone and iPad. I checked that my AppIcon.appiconset contains a Contents.json file with "filename": "AppIcon.png" entries.

  3. Checked Build Phases → Copy Bundle Resources My Assets.xcassets is included. My Info.plist is properly linked.

  4. Tried a fresh Xcode setup Deleted DerivedData

    (rm -rf ~/Library/Developer/Xcode/DerivedData)
    
  5. Cleaned the build folder (Cmd + Shift + K)

  6. Deleted and reinstalled Xcode.

  7. Tried submitting with a new Info.plist Created a fresh Info.plist and re-added all keys. Still getting the same error.

I've seen that other people had the same issue, but either their solutions didn’t work for me or they were using an outdated version of Xcode

I’m completely stuck at this point. If anyone has encountered this issue and found a solution, I’d really appreciate any help! Thanks!

Upvotes: 0

Views: 35

Answers (0)

Related Questions