Xcode 6.2 gives "This bundle is invalid." after upgrading - ios

Right after updating to Xcode 6.2 which was released hours ago, my app stops passing the validation phase. It shows "This bundle is invalid. New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5.1.1 or higher and iOS 7 SDK. Do not submit apps built with beta software."
Well....my Xcode is an official release by Apple and its version is 6.2.
Is this a bug or?
Thanks!

I've found my own solution. Don't waste your time setting configurations etc. What I did was pretty "brutal". Just delete/uninstall the Xcode app and download it from the App Store again. Then it works as before, as it should.

Related

Distribute App with previous version of XCode

Given that iOS9 & XCode7 are officially released, is it possible to submit an app for Apple review using a previous version of XCode (eg. XCode 6.1)?
If the answer is affirmative, will the app submitted through XCode 6.1 be able to be downloaded by iOS9 device (provided that the deployment target set to 5.1.1)?
Platform in use:
iMac 21.5-inch, Late 2009
Mac OSX 10.9.5
XCode version 6.1
Apple hasn't asked developers to refrain from submitting apps from old versions of Xcode yet. So, you will be able to submit you app from Xcode 6.1. And it will run in iOS 9 devices. But, it's not the ideal way to handle the app submission. There could be some bugs when the app is run in iOS 9 devices. It is advisable to verify the app in the latest Xcode version and submit from there.
At the moment App Store Team requires that to publish your application must be compliant with iOS8 and 64bit architecture (so Xcode6.x better last Xcode 6.4). The deadline for iOS9 would be probably February for new app and July for updates.

Non-public API usage

I can't upload an app to iTunes Connect.
Xcode uploader says that I'm using allocBatch:withEntity:count:, allocWithEntity:, IndexForKey:, fastIndexForKnownKey:
I'm not using this methods, and I don't know where they could be. A week ago same code was uploading successfully. What can be the cause of such behavior?
UPDATE
Submitting with older Xcode is not working anymore, this error reveals on binary processing.
I had this exact issue using Yosemite with Xcode 6.1 and using Objective C. I also got a warning on validation saying you can't upload an app created with a beta version of Xcode, which 6.1 is at the time of writing this.
I trashed Xcode 6.1 by dragging it to the trash form Finder then downloaded Xcode 6.0.1 GM from the App Store. I tried twice to install 6.0.1 over the top of 6.1 but it didn't work, hence the trashing of 6.1
Having cleaned and recompiled my app with Xcode 6.0.1 it validated and submitted to the app store with no problem. I hope this helps.
I fixed it by changing the deployment target from iOS4.3 to iOS5.0 all fixed using Xcode 6.1
I encountered the exact same error when using Xcode 6.1 (and its bundled Application Loader) on Mac OS 10.9.5. Clicking "Back" within the Application Loader and re-submitting the same binary worked. In other words, trying a second time succeeded. My app was built with iOS SDK 8.1.
You don't have to delete XCode 6.1. It would become handy in couple days. Just download XCode 6.0.1, copy it somewhere, and use sudo xcode-select --switch /Applications/Xcode601.app/Contents/Developer/. Then start it, and build your great app with it.
The API differs between iOS 7 and iOS 8. I got my App validated by switching to Deployment Target "8.0" - built with XCode 6.1. It might not be the solution to all you guys but you could give it a try.
Might have happened to me because I recently started using UIAlertController -> seems to be an iOS-8-Feature. On iOS 7 this would be UIAlertView. So if you use some nifty new features they might not have been available with previous iOS versions - thus non-public API.
Increasing the version number of my app did the trick for me.
EDIT: Just saw a comment in my bug report to apple
So most likely the version number had nothing to do :D
I got the same problem in Xcode 6.0.1 if I use the archive created by Xcode 6.1. It works if I recreate the archive by Xcode 6.0.1. That means the non-public API is added by Apple in Xcode 6.1.
I tried to delete all DerivedData.
/Users/{user_home_folder}/Library/Developer/Xcode/DerivedData
and I validated successfully.
http://qiita.com/PGMY/items/831618ad416780e0dc7c
i had meet same issue when i cancelled archiving to app store. Apple send me email about this subject. And than i recreate archiving and send to App Store. Everythink is ok for a now.

Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK

Submit for Review in iTunesConnect returns:
"Apps and app updates submitted to the App Store must be built with Xcode 5.1.1 or later, and iOS 7 or later SDK."
The thing is that:
- My build was made with Xcode 6.1
- Deployment Target is 7.0 as well
I Tried to submit it through Xcode and Application Loader.
Still, iTunesConnect keeps giving me same error.
Any help will be appreciated.
Although Xcode 6.1 is names GM it is not yet released and can't be used submit apps right now.
You can use Xcode 6 or 6.0.1

The bundle is invalid. New apps and app updates submitted to the App Store must be built with public

Since yesterday I can not validate the app but in last week it works great and now it didn't. I get the error:
The bundle is invalid. New apps and app updates submitted to the App Store must be built with public.
I'm using xcode 5.1 and SDK 7.1
Have someone any idea?
Problem is not compliance with apple's role. According to apple's news,
Starting May 15, 2014, new apps and app updates submitted to the App
Store must be built with Xcode 5.1.1
Take build with Xcode 5.1.1 and check it. Xcode version info taken into binary during archive process, see this post.
i also had the same problem with Xcode 5.1.1
you have to update your Application loader for resolve this problem because today onwards Apple accept APP Binary only from applications loader,
for latest version of application loader.
go to iTune Connect login with your Apple credential
Go to --> Manage Your Apps
from the bottom links goto Download Application Loader . its 82 MB .dmg
open your project with XCODE 5.1.1
now set your app deployment target to 7.1 or 7.0 (minimum)
now try to upload your binary with latest Application Loader
Thanks

Xcode Bundle Out of Date

An email from apple to its developers said that you could start submitting apps to them for iOS 7. O I have Xcode 5 DPS Version 5.0 (5A11365x) And it says that the version bundle is to old to accept apps for approval. How will this work now because apple said it all would be possible?
You use developer preview version which does not allow to submit app to app store.
Update your XCode to official 5.0 version. (From Mac App Store).
Hope my answer may help..
Its not must actually even you can still submit your apps with iOS6.x version build with your Xcode 4.6.3.
What they trying to convey in that mail is, they are just letting you know that you can now start submitting iOS7 app because there is whole lot of new thing out there with iOS 7.0 sdk.
When I try to convert my iO6.x version to 7.0 with Xcode 5 i didnt face any problem on building or submitting the app.
In order to submit apps to the App Store, you will need Xcode 5.
Submission to the App Store for iOS 7 requires Xcode (build 5A1413 and above).
If you are using any of the Xcode 5 Betas (including the GM Seed), upgrading is necessary. You can either upgrade through the App Store, or download the .dmg through the Apple Developer Portal at developer.apple.com
Do you have the latest version of Xcode 5, which is now the fully released version on the store?

Resources