How to upload Xcode project built in beta version? - app-store

I built project in Xcode 9 beta version. I want to upload to Appstore but projects built in beta version are not allowed in app store. What could be the possible solution ?

You have two options.
Build your project in Xcode 8.3.
Wait for Apple to allow developers to submit projects built with Xcode 9 to the App Store. This option should be available soon because Apple usually releases new iOS versions in mid-September.

Related

When you update XCode, does it automatically update the sdks for your projects?

I'm trying to test my apps on my phone, but my phone is running iOS 8.2, and the sdks on my apps are 8.1
If I update my XCode, will it update the SDK of my app automatically?
If you look at the App Store page for Xcode 6.2 it says it includes SDKs for iOS 8.2. So you can re-build your app once you have the new Xcode.
I don't think I have ever needed to manually add SDKs for the latest iOS. I have had to add an SDK when I want to support an older version - like supporting iOS 7 with a new version of Xcode.

ios SDK 4.3 on Xcode 4.2?

I have upgraded to Xcode 4.2 Beta with iOS SDK 5, however, it turned out that the apps built in SDK 5 are not accepted by app store, although the target is set to be 4.0.
Since sdk 4.3 seems to be downloaded with Xcode 4, but I still want to keep the newer Xcode, how can I import SDK 4.3 in Xcode 4.2?
(I tried to reinstall the Xcode 4 with SDK 4.3, but a lot of crashes and errors with no luck. I am also on iTune 10.5.)
You should be able to install Xcode 4.0 (release) in addition to Xcode 4.2 beta.
Try deleting the directories for both, and re-installing...
Since we can't really talk about 4.2 because of the NDA, try asking over at the Apple Developer Forums.
I myself run both 'next to each other'. I have the latest official xCode installed under /Developer and downloaded the latest BETA version which I installed to /Developer/iOSBETA. For updates on old apps I use the official release, archive and release to the AppStore. For new and ongoing projects I use the BETA. This way you have the best of both worlds, in my opinion.

iOS 4 Build SDK

I installed the iOS 4 SDK yesterday. I previously had the 3.1.2, 3.1.3 and 3.2 SDKs installed. Since installing the iOS 4 SDK, I only have 3.2 and 4.0 available in Xcode. When I load an Xcode project that was targeting an older version (say 3.1.2), it says "Base SDK Missing" in the toolbar.
I've been able to reset the project to target iOS 4 instead - and have successfully built. However, I need to do some ad hoc builds for users who may not have iOS 4 installed on their devices yet. If I give them a build that was done for iOS 4 (not using any iOS 4 features - it's the same code I used to build with 3.1.2), will this execute on their device ok?
Unfortunately I don't have any non-upgraded devices to test this on myself!
Thanks,
John
To target older iPhone OS's with the new iOS 4 SDK, Select your XCode project -> Get Info, and then select "iPhone Device 4.0" as the Base SDK, and then select the lowest iPhone OS version from iPhone OS Deployment Target that you need to support with your ad hoc app.
You needed to install XCode beta to an alternative folder /DeveloperBeta (for example) and use the stable xcode for older SDK builds.
You can still do that actually.

iTunes Connect rejects my binary because I used a pre-release version of the SDK, what should I do?

I downloaded a pre-release version of the iPhone SDK and tried to update one of my existing apps using a binary I built with it. Obviously you are not supposed to do this but I had forgotten about the warning when I installed the pre-release SDK. Anyway - I have two questions:
Can I simply set the base SDK to an earlier version in the build settings and get around this problem?
If not, then what should I do?
You need to download the release version of Xcode with the release iPhone SDK. You can't use the SDK downloaded from the iPad beta version for any release products.
Just go to http://developer.apple.com/iphone/index.action and click on iPhone SDK 3.1 and download it. Then build your app bundle with that and submit it to Apple.
Before you download a pre-release version of the SDK from developer.apple.com, there are several prominent warnings, one of which clearly states that pre-release versions of Xcode / iPhone SDK can NOT be used to build production binaries. So the answer to 1. is an emphatic no.
As far as I can tell, the only option to be able to build production binaries that iTunes Connect will accept is to delete the pre-release version of Xcode / iPhone SDK and re-install the older stable version.
If you upgraded using the beta download (as opposed to installing on a fresh box that has never seen SDK or Xcode), set the base SDK to a released version of the OS. Compile a Distribution build, submit to the app store. The old SDK is still there, so that will get used. All of the prominent warnings I have seen state the the SDK cannot be used, without mention of Xcode.
Before anyone scoffs, note that I submitted an app on March 13 using the version of Xcode (3.2.2) included in Beta 4, setting Base SDK to 3.1. It was approved on the 15th. I've also done this during the 3.0 beta for 2.x apps.
EDIT: on the other hand, acceptance apparently isn't always guaranteed (note that this person had also submitted an app that did get accepted): The binary you uploaded was invalid. A pre-release beta version of the SDK was used to build the application

App Store submission problem: A pre-release beta version of the SDK was used to build the application

I upload my app to app store, I already build my apps using device - 3.1 , which should be the a release version of app store. How can I avoid this warning? thz....
You can not use the Beta version of XCode to build, even when you build against an older SDK. You can install the Beta 3.2 and the official 3.1 in two different directories. This question was answered before btw.
You've answered your own question. You're using an SDK which is currently in beta, I'm assuming 3.2. Go to the Apple dev center and download the 3.1.3 SDK:
http://developer.apple.com/iphone
What version of Xcode and the iPhone SDK are you using? It sounds like you might be using an old (or very new) version of the build tools.