8.1 C
New York
Monday, February 24, 2025

xcode – Lacking Data.plist worth error – A worth for the Data.plist key ‘CFBundleIconName’ is lacking (ios 18.2)


I’m a 16-year-old app developer and I’m at the moment dealing with a difficulty when attempting to add my iOS app to TestFlight. The error I get is:

Validation failed (409)

Lacking Data.plist worth. A worth for the Data.plist key 'CFBundlelconName' is lacking within the bundle 'com.Bru-cknerLaurent.Acardia-Journal'. Apps constructed with iOS 11 or later SDK should provide app icons in an asset catalog and should additionally present a worth for this Data,plist key. For extra data see ``http://assist.apple.com/xcode/mac/present/#/`` dev10510b1f7. (ID: 040f6878-fb5d-450e-bf10-74ddd28d4182)

I’ve already tried the next options, however nothing appears to work:

  1. Checked my Data.plist
    I manually added

     CFBundleIconName AppIcon
    

    , however the error persists.
    I additionally tried including

    XSAppIconAssets Property.xcassets/AppIcon.appiconset 
    

    as urged in some boards, however no luck.

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

  3. Checked Construct Phases → Copy Bundle Assets
    My Property.xcassets is included.
    My Data.plist is correctly linked.

  4. Tried a recent Xcode setup
    Deleted DerivedData

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

  6. Deleted and reinstalled Xcode.

  7. Tried submitting with a brand new Data.plist
    Created a recent Data.plist and re-added all keys.
    Nonetheless getting the identical error.

I’ve seen that different individuals had the identical difficulty, however both their options didn’t work for me or they have been utilizing an outdated model of Xcode

I’m utterly caught at this level. If anybody has encountered this difficulty and located an answer, I’d actually respect any assist!
Thanks!

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles