iOS Question SOLVED # This bundle is invalid. The IPA format requires a top-level directory named Payload, containing only a .app

DrManhattan

Member
Licensed User
Hello everyone,

I use iTunes Connect Uploader in B4i with:

User Id: apple developer email
Password: the one used in “private signature key” sign key (which is anyway the same as my apple developer email)

I download the latest Build Realease App and obtain two files
app.ipa and tmp.zip

After selecting app.ipa and downloading I get the following error?

I tried with Transporter on Mac the same

If anyone can point me in the direction of resolving the problem.

 

mcqueccu

Well-Known Member
Licensed User
Longtime User


USERID: Your Apple Developer Email Address
PASSWORD: App specific password in this format: xxxx-xxxx-xxxx-xxxx
Check how to create app specific password: https://support.apple.com/en-us/102654
ARCHIVE FILE: Your IPA or Zipped file (compiled with Store provision profile)
 
Upvote 0

hatzisn

Expert
Licensed User
Longtime User

Use a specific password for the app generated in (I think) appleid.apple.com.
 
Upvote 0

DrManhattan

Member
Licensed User
I encounter an identical problem, I created the application password in the following format xxxx-xxxx-xxxx-xxxx on https://appleid.apple.com/

In apple developer I have for Identifiers created Bundle ID Explicit com.company.appname with the name of the application and Wildcard with com.company.*

 
Upvote 0

DrManhattan

Member
Licensed User
we'll get there soon now I have this error

I have after downloading the latest build:
an app.ipa file
and a tmp.zip folder
the zip folder includes a Payload folder including two folders
name.app.dSYM
And
name.app

I thought I read in different forum messages that the zip file should be called Archive.zip and not contain dSYM ?
 
Last edited:
Upvote 0

hatzisn

Expert
Licensed User
Longtime User

Make sure you have the same bundle ID in the app created in appstore connect and in your app.
 
Upvote 0

DrManhattan

Member
Licensed User
Make sure you have the same bundle ID in the app created in appstore connect and in your app.
I had to change the name in the app store because it already existed.

but in :
#ApplicationLabel:
Build the configuration
and Identifiers from apple developer

the name is the same!
Do you think I should change everything like the name displayed in Apple Store Connect?
 
Upvote 0

DrManhattan

Member
Licensed User
Really not simple at all but I ended up finding it, I'm going to try in my spare time to write a notice, I spent too much time there and I don't find it normal. Time should be allocated to development and not installation.
 
Upvote 0

Rodrigo Vargas

Member
Licensed User
Longtime User
I got the same error ... I renamed the .ipa file to .zip ... deleted the .dSYM folder ... renamed it back to .ipa and it worked!
I did the same and it worked. However, I remember that the file was Archive.zip just a few days ago... I never got the .ipa file from the downloader... not sure why.
 
Upvote 0

f0raster0

Well-Known Member
Licensed User
Longtime User
I did the same and it worked. However, I remember that the file was Archive.zip just a few days ago... I never got the .ipa file from the downloader... not sure why.
.ipa should be inside of that Archive.zip
 
Upvote 0

Rodrigo Vargas

Member
Licensed User
Longtime User
I think the reason why I was getting this ipa file was because I had the provision file and not the store file. By doing as I mention in the previous post it worked. (I don't know why) But obviously that is no the solution.
I just changed the code line. Probably I forgot when creating the release app.
Now I get again the Archive.zip.

provision file:
    '#ProvisionFile: provision.mobileprovision
    #ProvisionFile: store.mobileprovision
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…