CFBundleVersion in the Info.plist Upload shows Error - iphone

I developed iPhone app,
I successfully uploaded first version of my app in store few days before, then i made changes in my app and now i want to upload second version of my app, i made first version of app with Bundle version 1.0, and in my updated app i changed my Bundle version to 2.0.
finally when i try to validate my app from Xcode - organizer it shows me this error..
and here is screenshot of my appName-info.plist file
Please help, i am new to iOS..

In info plist add one more row "Bundle version". And set here 2.0

Related

App store download previous version of app instead of latest

I already have an app on app store with version 1.0.0.
Now I submitted the new version of app 2.0.0. This new version is also approved by apple.
It has been more than 5 days since my app is approved and in state 'Ready for sale'.
Now when I download the app from app store on my iphone device it still downloads the previous version (1.0.0) and asks me to update to latest version (2.0.0).
Why app store is not downloading the latest version (2.0.0) of app directly on my device?
My device previously had the app with version 1.0.0 installed from app store but I deleted it and then installed the fresh app from app store.
When I download the same app on my friend's iphone it downloads the latest version (2.0.0). This device never had any version of the app installed.
I had the same problem and have now realised that it is related to iCloud. If you have previously downloaded your app on any device then when you download it on a new device, it will download the same version as you previously downloaded. You then get the option to update to the latest version.
Confused me to start with!
Your iPhone could be outdated / not meeting your defined requirements of the application itself. For example, if you have an iPhone 3G running IOS 6, you can not run an app that only accepts iOS7. Take a look in your xCode and inspect the properties of your application.

how to know if first app launch after update from appstore

I have a version 1.0 on appstore.
I have just got version 1.1 approved for appstore.
When the app on version 1.0 is updated from appstore, there is a crash on the device. but when we download a fresh version of version 1.1, the app doesn't crash.
How can I test this using Xcode?
Please help.
Install your first version application to device through Xcode.
Then install your second version application to the same device through Xcode (Note: Don't delete the previous installed version from your device).
So it will not overwrite the app contends which will be available in your Library or Document Directory.
Then it will crash.. so you can get it the reason through Xcode console.
Maybe problem in your save files?
When in device with app 1.0 user will update to 1.1, then a folders Library/Caches, Library/Preferences, will stay.
When user is redownload a fresh 1.1 version, it seems this folder will be a empty.
For test him, try run 1.0 and after some operations in app, try to update to 1.1 over 1.0. If crash in app, XCode must catch him

How to change the version number in iPhone application

I have an app approved by app store that is version 1.0, and I want to update the app to version 2.0. I changed version to 2.0 in iTunes. It's in the "waitin for upload" state. I have made some code modification in my version 1.0 and changed the bundle version as 2.0. When I am about to upload the appbinary using xcode, it still shows the version as 1.0. If I m to click the validate button, it gives a message that it's already uploaded. Should I change the bundle identifier? I'd be so grateful if you guys could help me out.
You should update the BundleVersion in your Info.plist file prior to compiling your final release build.
Is the iTunes state "Waiting for Upload"? If not, then you have not yet told itunesconnect that you are ready to upload binary.
Delete your build folder and/or check your target to make sure you are building your release target and not trying to send an old release build.

App Store upload. Problem with SDK

I just tried to upload a completed app via iTunes Connect, and I received the following error:
The binary you uploaded was invalid. Apple is not currently accepting applications built with this version of the SDK.
I upgraded to the 4.0 SDK. I got this same exact error with the PREVIOUS version of the SDK as well. 3.?.? (whatever it was). Now in Xcode, I no longer have the option to select a previous version of the SDK.
Any suggestions?
you must download "Application Loader."
Make sure when you build the .app bundle for distribution, that you are building for "Device" and "Distribution" in the drop down menu of the main XCode screen.
Make sure in the "Project Settings" that you have set the base SDK to 4.0 and your deployment target SDK to 3.0 (or whatever you want it to be).. both settings are found in that "Build" menu. Settings are for the "Distribution" configuration
This will build the app with the latest SDK but allow users of 3.0 (or whatever you chose) to use the app so long as you only included API that was available in 3.0 or below.

Minimum OS version number, iPhone app

I've built an iPhone app which is live in the app-store. When originally submitting the app it showed up in App Store as requiring iPhone OS 3.1.3. When later updating the app I made sure my settings in Xcode for the target for the app store build had the Base SDK version set to 3.1.3 and the Deployment Target version set to 3.0, however it still shows up in app store as requiring 3.1.3.
From what I've understood the Deployment Target version is the one setting the requirement in app store?
Or is there any information concerning this that I should have updated in iTunes Connect when submitting the updated app?
Thanks, Michael
Check the MinimumOSVersion key in your info.plist
You can set base SDK for your application from edit Project settings
Base SDK