This bundle is invalid — 24 hours of . error

Abdoelrhman Mohamed
2 min readSep 20, 2018
Apple reply after every upload!

This bundle is invalid — The file extension must be .zip.

Yesterday was a rough day due the upper message, I kept uploading my app to the store like almost 10 times, that’s almost 1 GB * 9 of my internet quota, and the issue isn’t very clear what’s going on with it!

So I went to our usual friend stackoverflow, and It had a consistent message:

  • Clean your project
  • Remove old certificates, create new ones
  • Reinstall pods mmm update?

This all seems like a pretty normal steps to follow, so I kept doing them all day, by the end I got bored and to drill more into more answers?

That’s what I did, got it from an answer that says: Apple doesn’t allow using .App in your app name, I got stunned and looked to my app, and I was doing it, my app was XXX.App.

I immediately renamed it, and Voi la! It’s working again!

I think it’s a part of apple bundle process that it uses .app their somewhere so it’s making a conflict with your file, though they should mention it in the error message, but developers are lazy sometimes? or they’re hiding their extension? 🤷🏼‍♂️

So next time, take notes to not name your apps with .app in their end.

Happy coding!

--

--

Abdoelrhman Mohamed

Staff Mobile engineer @Adevinta, working with swift and iOS mainly, and community founder @SwiftCairo @LintSchool