-1

Getting a bundle display name length too long when trying the validate the archive to upload to the App Store.

enter image description here

Where is the Bundle Display Name stored? Unless I am confused I think my display name is only 8 characters long???

Here is the info.plist entry.

enter image description here

Edward Hasted
  • 3,201
  • 8
  • 30
  • 48
  • 2
    Here's how you can change it: https://stackoverflow.com/a/34968739/3151675 – Tamás Sengel Jun 28 '21 at 19:17
  • Many thanks - I was using the info.plist but clearly got it incorrect. – Edward Hasted Jun 28 '21 at 20:56
  • Made that change and still getting the same error. Bundle display name = AbcdefghiJK The name is 11 characters - where is it getting the 399 from! – Edward Hasted Jun 28 '21 at 21:19
  • All you have shown us is a photo of an Xcode dialog. Show _screenshots_ or _code_ and show us how _you_ think the bundle display name gets set. Best way is to open the archived built app and look right at the Info.plist and the corresponding strings file(s). – matt Jun 28 '21 at 21:24
  • I have added the info.plist to the original question as couldn't work out how to add it in as a comment. – Edward Hasted Jun 29 '21 at 07:44
  • I am still getting the same 399 character error which is erroneous. The Bundle creator OS Type code switched to ???? so has been reset back to APPL. The Bundle display name is 8 characters and matches the project and the App title on the iPhone. – Edward Hasted Jun 29 '21 at 08:30
  • I suspect you are showing us the wrong info plist? This is some framework. – matt Jun 29 '21 at 08:34

1 Answers1

1

You are showing the wrong Info.plist. There are two types: the app has Bundle OS Type Code APPL and Bundle Creator OS Type Code ????, while a framework has Bundle OS Type Code FMWK and Bundle Creator OS Type Code ????.

So apparently what you've found is some framework Info.plist. Moreover, have now lamed it by changing the Bundle Creator OS Type Code to a wrong value.

You need to fix this one so it work again, and then go find the real one, the one belonging to the app. My guess is that you have lamed that one in some way too.

matt
  • 515,959
  • 87
  • 875
  • 1,141
  • This makes a lot of sense. Which of the two options you describe - Bundle OS Type Code and Bundle Creator OS Type Code should I be using? How to I reset/repair the Info.plist when I have located it? Did a clean on the file system and then got a better quality of error message saying that there was a corrupt character in the plist??? Still get the 399 length error when the bundle name length is 8! – Edward Hasted Jun 30 '21 at 14:11
  • I believe I've answered to the full extent possible given the material you've provided. You've messed up this info.plist and I'm guessing you've messed up the other one(s) but that's all that can be said at this distance. – matt Jun 30 '21 at 19:32
  • I am sure the Info.plist if the culprit and many thanks on honing in on it. – Edward Hasted Jul 01 '21 at 08:24
  • This Project has got into a real mess with its info.plist and will start a new question with all the associated detail. – Edward Hasted Jul 01 '21 at 10:44