Invalid Bundle Structure - Does not include a Payload Directory - ios

After I've uploaded binary to iTunes, I got "Invalid Binary" and this mail:
Dear Developer,
We have discovered one or more issue with
your recent delivery. To process your delivery, the following issue must be
corrected: Invalid Bundle Structure - Your package contains a bundle
with the following issue: IPA bundle does not include a Payload
Directory. Once these issues have been corrected, you can then
redeliver the corrected binary.
Regards, The App Store team
Used Software/Hardware
1)Game Maker Studio Professional
2)Xcode 5.1.1
Actually in this new version we have added
Facebook score Share
Twitter Score Share
Game Centre
Push-notification
and also added iAds with in-app-purchase to
remove ads for 0.99$.
I don't know what is payload directory.
Can any one help us to solve this issue?
I've unsuccessfully tried:
Invalid Binary Error
I can not find payload folder in my archive
I can not find "CFBundleInfoDictionaryVersion" in my archive.

Just add the following item in your Info.plist:
LSRequiresIPhoneOS | Boolean | YES
Without it, the archive export is building an iOS IPA file with the OSX Applications folder :)

Open your Info.plist file and click plus(+) and write Info Dictionary Version which is 6.0 and clean app and upload it Again. now you get clear Idea.

Related

"SwiftSupport folder is empty" error when publishing to iTunes Connect using Appcelerator

I am trying to publish an iOS app to iTunes Connect using Appcelerator (note: this app was created by another developer).
The app uploaded fine, but iTunes then sends the email with the following error message:
Dear developer,
We have discovered one or more issues with your recent delivery for
"XXXX". To process your delivery, the following issues must
be corrected:
Invalid Swift Support - The SwiftSupport folder is empty. Rebuild your
app using the current public (GM) version of Xcode and resubmit it.
Once these issues have been corrected, you can then redeliver the
corrected binary.
Regards,
The App Store team
I'm quite new to Appcelerator, but I can't seem to find any relevant answers to this problem (although there a few answers relating to X-Code).
You should choose "Save for iOS App Store Deployment" option at the time of exporting ipa file.
Turns out I just needed to update XCode!

Invalid Swift Support : SwiftSupport folder is missing error with Xcode 7

I am trying to upload an ipa with AdHoc distribution profile to iTunesConnect. My app is coded in Swift 2. My Xcode version is 7.0. The app gets uploaded without any errors. But after some time, I get a mail from Apple Developer on my Apple ID as follows :
Dear developer,
We have discovered one or more issues with your recent delivery for "TDGApp". To process your delivery, the following issues must be corrected:
Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it.
Once these issues have been corrected, you can then redeliver the corrected binary.
Regards,
The App Store team
I have set the flag Embedded content contains Swift to YES in Build Settings.
I can see the SwiftSupport folder in the archive(Show package contents) but I cannot see SwiftSupport folder in the ipa(payload). Because of this I am not able to upload my app to even AppStore. Please suggest some solutions.

"Unable to Validate your Application Error" While Uploading a new version of iOS App

I have been trying to upload a new version for my ios App But I always end up receiving this error
"UNABLE TO VALIDATE YOUR APPLICATION,
"The application you have selected does not exist"
From Xcode Archiver.
I followed this question here
Xcode 6.4 The Application You Have Selected Does Not Exist
Which suggests to use Application Loader,
After doing that I ended up getting bunch of errors such as these
ERROR ITMS-90049: "This bundle is invalid. The bundle identifier contains disallowed characters. [See the section of the Application Programming Guide entitled The Application Bundle.]"
ERROR ITMS-90057: "Missing plist key. The Info.plist file is missing the required key: CFBundleShortVersionString."
ERROR ITMS-90056: "This bundle is invalid. The Info.plist file is missing the required key: CFBundleVersion."
The resulting API analysis file is too large. We were unable to validate your API usage prior to delivery. This is just an informational message.
This errors dont make any sense since all the missing keys are already present in my app, along with appropriate bundle ID of my app which has been in the Appstore for an Year now.
Can anybody help me out regarding this,
I seemed to have tried all the solutions I could find, but to no avail, anybody else facing this?
Is this another issue from apples server or maintenance side and I just have to wait a couple of hours before they fix it at thier end??
I was facing the same issue but then i used Application Loader and it worked for me. After validating your app Export your app by selecting option as Save for iOS App Store Deployment and then Just upload your apps ipa using Application Loader.
Workaround Steps Using the Application Loader:
Export your build as a file (Save for iOS App Store Deployment)
Go to Xcode > Open Developer Tool > Application Loader
In Application Loader log in to your account
Select and upload the .ipa file you just exported
Same issue at Xcode 6.4. My workaround.
Rename Xcode 6.4 (Xcode64.app)
Install Xcode 7.1 (Xcode.app)
Build and archive in Xcode 6
Auto launch "Organizer" in Xcode 6 and close
Launch Xcode 7 and Organizer
Submit to App Store
I was with the same issue, Using the Application Loader works for me.
In Organizer, export your app and select the option Save for iOS App Store Deployment I did it and works for me
before that I tried with Save for Ad Hoc Deployment but with no success!
Okay, I was finally able to upload my application heres what was happening, I had used a third party lib., which had an info.plist of its own
this info.plist was the culprit, It didn't had any Bundle Identifier, CFBundleVersion or CFBundleShortVersionString string, so I manually added These 3 keys into that frameworks info.plist and the application got accepted.
Dont know why but this worked, And I was able to upload my app to itunes
Seems to be an issue with Xcode 6.4. Export the ipa and upload it using Application Loader.
Relevant Apple Developer Forum Link
This occurred for me when I accidentally left "Include Bitcode" checkmarked (on by default) in my build despite setting the project to not contain bitcode. Uncheckmarking it resolved this issue.

ITunes Test flight Issue while submitting app to app store

I received the following issues from Apple Developer while uploading my app to app store, recently updated to Xcode 7.0. Uplaoding first time after updating to Xcode 7.0. This is mail i am getting from itunes.
Dear developer,
We have discovered one or more issues with your recent delivery for
"*********". To process your delivery, the following issues must be
corrected:
Invalid Bundle - A nested bundle doesn't have the right platforms
listed in CFBundleSupportedPlatforms Info.plist key.
Once these issues have been corrected, you can then redeliver the
corrected binary.
Regards,
The App Store team
Tried to delete the CFBundleSupportedPlatforms key in the info.plist, but the same issue raising again.Help me to sort out this issue.
I solved the issue, if anyone face the same the same problem,follow the below steps might be useful to anyone,
Remove CFBundleSupportedPlatforms and other related CFBundle keys from the info.plist(ITMS-90535 issue).
Executable file key in the info.plist should not be left empty and should be as $(EXECUTABLE_NAME).
Thanks a lot.
Before uploading to the store, have you run the validate on the archive? Does it report the same problem? If so, there may be additional information in the error.
What bundles are in your app? Do you have a watch app and watch extension?
In info list add Required device capabilities—>armv7

Invalid Bundle - A nested bundle doesn't have the right platforms listed in CFBundleSupportedPlatforms Info.plist key

I uploaded an app to the iOS App Store testflight.
I received the following email in response from iOS App Store:
Invalid Bundle - A nested bundle doesn't have the right platforms listed in CFBundleSupportedPlatforms Info.plist key. Once these issues
have been corrected, you can then redeliver the corrected binary.
What should I do to resolve this and get my App approved?
Archiving and submitting my app with older xcode version (6.3.1) solved the problem for me. I think it's xcode 7 bug.
I had the same problem here, I solve it by searching for key CFBundleSupportedPlatforms and delete it from any info.plist file I found.
using Xcode 7.0.1
update: After I fixed this error I uploaded new binary and it got finish the processing right away, and the old binary (with Invalid Bundle error) still processing until now.
I updated to Xcode7.1 and I'm no longer receiving any of those Invalid Bundle emails from iTunes connect. Beforehand I contacted apple and they verified there was nothing wrong with the IPA:
I’ve looked at your IPA, and there is nothing that I see which will
cause a CFBundleSupportedPlatforms error as you are seeing.
Could you please try uploading your app one more time to see if it still fails? It’s possible iTunes Connect had an intermittent problem in validating your app.
If this upload still fails, please let me know. The next step will be for me to escalate this to iTunes Connect to understand why your app is failing validation. This step can take some time, which is why I want to rule out an intermittent problem first.
After that mail I retried by creating a new archive in Xcode7.1 and uploading it to the app store. And all went well
Some plist file in your app (it could be also a framework's file) has CFBundleSupportedPlatforms key with wrong value. You should find it and change it to "iPhoneOS". To do it you could use a grep command. Open Terminal and run:
grep -r "CFBundleSupportedPlatforms" /YourProjectPathHere
It will show you all files that have a CFBundleSupportedPlatforms string

Resources