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.
Related
I have found similar questions in this and this articles, but neither can solve my problem.
The message given by Apple Store Connect was also "ITMS-90725: SDK Version Issue - This app was built with the iOS 14.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 15 SDK or later, included in Xcode 13 or later."
However, I have checked that I am using xcode 13.2.1 which works with iOS 15.2 SDK, running on macOS Big Sur 11.6.4 (well.... a 2015 iMac, kind of old though). I believe it is capable of building a project with iOS 15.2 SDK, but I just can't find where I shall tune (if necessary) to avoid it keeping using iOS 14.4 SDK to build my project. Could you please help me solve the issue? Thank you very much!!
The figures below show the environment I mentioned above:
Looks like you have multiple Xcodes installed, please make sure you have selected the correct version for your Command Line Tools
I found that it was an embarrassing reason which caused the problem I raised above. I think I am responsible for showing what was going on to all who have read this post, and especially to those who had paused to think about this issue.
In short, Xcode 13.2.1 does build the app using iOS 15.2 SDK.
I was able to successfully archive, verify in Xcode, and uploaded the binary to app store connect. However, I was not familiar with the app store connect and did not aware that there was another binary built with iOS 14.4 SDK which was left by my predecessor.
Though I tried several times rebuild and re-upload, I kept falsely submitting the old binary to Apple's reviewer.
That's it, and no bug or secret about Xcode using older version of iOS SDK to build apps, it is just not true. Xcode does build using its latest SDK. Again my apologies to those who also worried about this issue.
I am trying to make my first application to submit to the App Store using Xcode, but when I was going through validation, it said that I had the wrong SDK version. How can I fix this?
I tried archiving my app 19 more times, but it didn't work.
I tried looking all over the web, but it didn't help.
I also tried updating
the Xcode app, but it said that it was temporarily unavailable.
When I would try to validate it sent me an error message saying that I had the wrong SDK version.
I thought that I did everything correct, but when I was at the last bit of validating it, it said:
"SDK Version Issue. This app was built with the iOS 11.4 SDK. All iOS apps submitted to the App Store must be built with the iOS 11 SDK or later, included in Xcode 9 or later. Further, starting March 2019, all iOS apps submitted to the App Store must be built with the iOS 12.1 SDK or later, included in Xcode 10.1 or later.
Click here to see the image of the error message.
I think what I need to do is just put my app in a certain file and update my Xcode, and validate it again because on the error message it said that I had the wrong version of Xcode. When I said that I got another error message on the App Store
Thanks to everyone who helped me in the comments above - #manishsharma93 -. :D :)
Today I was trying to upload my app to the iOS app store, but was unsuccessful. I tried different techniques like through Application Loader, but nothing worked for me. Then I read at some blog to validate the app first before uploading. And while uploading I got this issue (see screenshot).
I am using Mac OS Sierra, and Xcode 8.2 beta
You are using Xcode 8.2 beta and the error tells you not to use beta. Use the GM version of Xcode 8.2 and macOS Sierra. It's that simple.
I had updated my xcode to the latest version.
I wrote my program in swift and I try to upload it.
I put my Minimum System Version to 7.0 and added the SDK for 7.0 and it compiled fine.. but when I try to upload I get ERROR ITMS-90362 The value for key 'MinimumOSVersion' in bundle is invalid. the minimum value is 8.0.
I had double checked and I saw everywhere that swift supports iOS7. How is this possible?
Another problem is that I get this weird error: ERROR ITMS-90209 Invalid segment alignment. The app binary does not have the proper segment alignment.
I have the latest xcode from the AppStore. I even opened it through there. I tried extracting, clean, Application Loader.
Nothing seems to work.
I'm out of ideas.
Please help
Are you using embedded frameworks in your project?
If so, it could lead to such an error, as even though they work on iOS7, they're not supported on iOS7 and validation fails with a similar message when submitting.
If you're using swift features for ios8 only (e.g. transitions) then your program will still compile when your deployment target is ios7. You need to test it in the simulator with an ios7 device.
You need to use the iOS 8 (or latest) SDK but set the "iOS Deployment Target" to iOS 7.
I had the same error you had when trying to submit my app via xCode 6.1.1
Turns out, you can't mix Swift and dynamic libraries. I had 2 dynamics libraries in my project, and removing them and re-adding them another way (using cocoapods) fix my submission issue.
I keep getting this error, whenever I try to run my app on my iphone, which is running iOS 8.1.-
The Developer Disk Image could not be mounted.
User’s iPhone may be running a version of iOS that is not supported
by this version of Xcode.
I tried restarting my mac and xcode, but problem persists.
Xcode 6 only contains the iOS 8.0 SDK.
If you're running iOS 8.1 on your phone, then you'll need to upgrade to Xcode 6.1, which contains the iOS 8.1 SDK.
Download the latest version of Xcode from the App Store. I had an early version of XCode 6.1 that lacked the 8.1 SDK. Upgrading to the latest fixed the problem.
Restarting my phone cleared this for me.
It started a day after updating to Xcode 6.1 and phone (4s) to 8.1 worked fine to start with then stopped with this message a day later.
Opening project in Xcode 6.1 then again in 6.0.1 seemed to fix issue, if your project is not ready to be compiled in 6.1!
Did you check your apps' base version. If the base version is set to 8 and your device is 7, you will probably get this error.
and if your base version, from what i imagine is 8.1 and your device is not updated to 8.1 it wont work either.
Xcode 6.4 beta would not run iOS 8.3. Switched to Xcode 6.3 fixed the issue. And then when opening it back in 6.4 beta, was working fine.
Just ran into this after absentmindedly upgrading my phone to iOS 8.3. Resolution required an upgrade to OS X Yosemite (10.10) before I could update to a version of Xcode that supports that version of iOS.
I have seen this error before in my experience. It means that the Developer Disk image in your Xcode is not compatible with the one in your iOS device that you are trying to run/develop an app with. One of the easiest way to solve this is update your Xcode installation. Another quick trick that I learned with is by copying Developer Disk image versions into Xcode.app's directory.
I earned some copies of different versions of Developer Disk image from various Macbooks that have updated and outdated Developer Disk images. You could download some resources online, extract it and then place the whole directory on your Xcode's installation directory normally located here: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/.
I hope this helps!