App uploading problem with xcode 4. - iphone

I am trying to upload an app through the xcode 4 archive organizer. Whenever I try to validate or submit I enter in my itunes connect credentials but on the next window it asks for an application record and I get "No Value".
I have an app that is "waiting for upload" on itunes connect and I've made sure my login information is correct. I have no idea what else to try. Please help!
Here is a link to the exact problem I am having on the apple developer forums: https://devforums.apple.com/thread/95610?tstart=0
No one has posted an answer there either. =/
Edit: I ended up downloading application loader and doing it the old fashion xcode3 way and it worked just fine. I don't know why it stopped working in xcode4.

Sounds a bit strange, I have 10 apps in the iTunes store. We are going to need some more information? If it says "prepare for upload" then you still have to login to iTunes Connect and navigate to that screen. You will notice that on the top right of this screen you should see a blue blue button saying "ready to upload binary". Click that unless you have already. But I suspect you have missed this step?
Hmmm, I just did that for one of my apps and then is says "waiting for upload" ok. Not sure now. In xCode have you got all you provisioning profiles installed and the iTunes WWDC (or what ever it is called) certificate installed?

Are you using XCode 4.2? You cannot submit to the app store with it; you must use 4.1 (on Lion) or 4.0.

We were having the same problem and were using Xcode 4.2. We solved the problem by removing Xcode completely, moving everything in the Developer folder into the trash. Then we downloaded and installed the latest build of Xcode 4.2 via the Mac App Store. The problem was probably due to using an earlier build of Xcode or inconsistencies in Xcode from having upgraded from earlier versions over the years.

Related

IOS - Old version of app being installed from the app store

I released an update to my app 2 days ago. Since then I have heard from users that they are getting the old version of the app.
The really odd part is that the user is seeing the new app description and screenshots in the app store.
I have figured out how to reliably reproduce the issue. Is this something that I can fix myself? I've contacted Apple and searched the web but have found nothing so far.
To get the old version:
Go to appstore. Find SocialPar.
Click to install the app.
While it is downloading, go back the iPhone main screen (spingboard). You will see the app installing.
You now have the old version of the app
To get the new version:
Go to appstore. Find SocialPar.
Click to install the app.
Wait in the appstore for the install to complete,
Click open
It will prompt for passwords to itunes account
It will install again
Click open again
You now have the proper version of the app.
I am wasting a lot of money promoting my app right now and its killing me that my marketing efforts are driving people to install an old version of my app.
Can anyone reproduce this with their apps?
Apple is now allowing users to download older versions of your app.
You can prevent this by going to iTunes connect and visiting your app's "Rights and Pricing" section. At the bottom there's a "Manage iCloud download settings for this app" link where you can exclude older version from being available.
This is probably related to iCloud as I was having a very similar problem. 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!

Xcode cannot run using the selected device (Weird error)

I'm trying to debug an application on my iphone. I was able to do it before I updated Facebook client library yesterday. After updating, something weird happened and now I got the "Xcode cannot run using the selected device" error.
Error can be seen from the screenshot. Note that in the upper middle it says "Finished running FacebookSDK on baysungur's iPhone", which is weird because my app's name is different.
I tried some things like adding architectures to build settings, decreasing minimum deployment target, etc. They did not work.
Anyone has any idea?
I'm using Mountain Lion and Xcode 4.4.1. I'm trying to connect to a iphone 4.
Note: I was able to connect to device before updating that facebook client.
edit: Well, a similar thing also happens for simulator. Now I basically can not debug my app in any way.
Facebook library had a file named Info.plist, which caused xcode's head to be confused.
Weird thing is that I was seeing correct settings in project's settings. I mean everything seemed correct in that UI but appearantly xcode was using wrong Info.plist in action.
Deleting that second Info.plist solved the issue.
Is device is connected in organizer? If yes then quit your xcode and also restart your device and choose valid provisioning profile and try again.
thanks

start over iOS app

I have an app published in the store, which i want to change so much its internal working, that i decided to start over. I successfully finished the new version of my app, but when i install the previous version of the app, and run the new version from xcode to check if everything is compatible, i get "Could not change executable permissions on the application".
What i did was to change the bundle identifier of the new version of the app to match the old one, but i cant get it to run under the same name. Do I need to do something else? The app runs great if the old one isn't installed, but when I have the old one installed, and I want to run the new one, so it replaces the old one, i get the error i mentioned above.
Thanks
The problem I had was related with the use of unreleased iOS beta software. It is solved by testing my apps on a device running the last released OS (iOS 5.1.1 at the moment).
i think you should try to remove the app that have same bundle identifier in you iOS device ,
hope this can help you!
I just had this same issue which almost caused me a meltdown. I'm on xcode 5.1 and ios 6. My answer was to delete the app on my iPad by holding my figure over the app icon, then pressing the 'x' that appears next to it. Then I went back into xcode and built the project.

Anyone else having problems installing iPhone Enterprise apps on released IOS 5?

Anyone having problems deploying Enterprise apps on iPhone/iPads running the released version of iOS 5 using the OTA ("over the air") methodology?
During the installation process, we get the alert box: "the app could not be installed at this time". Tapping the Retry button does nothing. In some cases, repeated tapping of the Retry button eventually results in a gray, empty launch icon being left on the home screen. No app installed. No other errors.
Anyone else seeing this or have a resolution?
The below description is a bit involved, but please bear with me as it may help others who run into the situation. I will post the resolution if get a resolution from Apple. So far, no joy there.
Our app refuses to install OTA on iOS 5. This same app WILL install on iPhone/iPad devices running iOS 4.x.x AND the same app will install on iOS 5 devices physically connected to a desktop machine using the iTunes app.
The Apple Developer forums under the IOS 5 Beta category complained about the problem but no indication of resolution as of last week just before the official release of iOS 5.
Cookies are set to be accepted.
Bowser cache and history cleared.
Using mobile safari originally installed with original iOS version 4.x.x.
System hardware and operating system configuration
iPad 2, iPhone 4 or any iPhone device running iOS 5 RELEASED version.
Browser and version
Mobile safari that is installed with iOS 4 on ipad2. Don't know if mobile safari upgrades with ios 5 upgrade.
Using a corporate wifi network. Yes, we are behind a firewall and use a proxy server. Since iOS4 devices install without problems, I don't think installation being blocked by the proxy or firewall.
Enterprise app built with Xcode 4 and ios5 sdk provided with it. Built to be backward compatible with iOS 4.0.
Distribution provisioning profile is correct as we have been using it for several weeks.
This app installs properly on iOS 4 devices both over the air and via iTunes application method.
This app installs properly on ios5 devices through the physical connection with iTunes application on the Mac desktop.
Steps to reproduce:
User types in the URL in mobile safari on iPhone/iPad running ios5.
The resulting webpage shows the download app link.
User taps on the link and is asked if they want to install the app.
User taps the yes, install button.
App proceeds to install.
A gray launch icon shows up on the home screen with the progress bar empty at the bottom of the icon.
Message below the icon indicates "loading".
Seconds later, user gets the "cannot download app at this time" error message as seen in screen shot attached.
Tapping the retry button results in the same action just described.
Tapping done results in the download stopping.
If you tap retry several times, user sometimes is left with the gray empty launch icon, which will not launch and cannot be deleted.
Note: In the apple developer forums, under the iOS 5 beta category, people are describing the exact same problem with no resolution.
Had the same problem, and was able to resolve it. However, the error noted is not specific to a single cause that handles every case... some detailed investigation needs to occur.
Your best bet is to connect the device to your Mac, and using the Organizer of xCode view the console logs while you are attempting to do a wireless deployment. There will be some useful information available -- please post the logs.
For my case -- the icon files were missing from the build, as a result of moving from xCode3 to xCode4 and also, the distribution plist was referencing an image that returned a 404. Both were logged in the console, but not very clearly.
Also, as a sanity check, manually verify the URL to your IPA file also.
I had this same problem and was sure everything was correct in my project; but restarting Xcode and doing a clean revealed my Enterprise scheme had somehow defaulted to the wrong provisioning profile.
Re-selecting the correct profile and re-archiving the app fixed the issue for me, I'm able to install an enterprise app on both iOS4 and 5.
I wanted to chime in after fighting this for a few hours. It is iOS 5 specific.
We had an htaccess password protection on the directory. Removing this allowed the app to finally download. So if you have htaccess, perhaps you can point the user to a parent directory that is password protected, then navigate to the subdirectory containing the app that isn't password protected. This is a temporary solution, apple needs to fix this.
Another thing to consider is the URL you specified in your over-the-air Application.plist file. I received the same error message ("-application- could not be installed at this time") because the URL I specified was too unspecific. Rather than writing "directory/directory/application.ipa", I had written "directory/directory/". You must include your application in the complete URL of the plist file's configuration.
If you didn't do this, don't fret! You don't have to rebuild the entire thing from step one, you can open your .plist file in any standard text editor and simply change the URL.
We had the same thing.
Our mistake was to point to a wrong 512.png icon in the manifest.
Which was no problem on iOS4 but turned out to stop iOS5 into a "...at this time" alert.
Wanted to chime in on my experience.
In my case, we were changing the address where the IPA file was hosted. Although I updated the PLIST file with the proper URL to the IPA file, iOS was still going after the old URL almost as if it cached the PLIST data. Creating a copy of the PLIST file and renaming it resolved the issue (data within the file remained unchanged)
I met the same problem today. The app can be installed in ios4, but failed in ios5 with "** could not be installed at this time" alert.
According to patricksan's suggestion, I download iPhone Configuration Utility 3.5 for Mac OS X, and try to catch the log while install the app through OTA.
The log helped me finally, one sentence of the log says entitlement 'get-task-allow' has value not permitted by a provisioning profile. It remind me that if the code signing identity in build settings of Project and Targets are correct, after checking them in Xcode, I found the code signing identity are not correct one, they should be iPhone distribution:.... other than iPhone developer:..... After correcting them, and re-Archiving the ipa file, it can be installed in iOS 5 now.
Check your Info.plist for Required device capabilities property. I recommend to delete completely this property if you haven't any restrictions on use.

How to submit an archived app to App Store manually

XCode 3.2.5 is giving me grief. Nothing is wrong either in the app in App Store or in the App. "Validate..." succeeds, "Submit..." has no complaints. But after 10 seconds or so I get "an error occurred uploading to the itunes store".
I've uploaded two apps previously, this is the first one since XCode 3.2.5.
I've downloaded the .dmg of Application Loader 1.3 from the similar thread, but without a link to Apple saying this is the solution, I won't downgrade.
The alternative, I guess, is to somehow just get the file up there. Is it allowed / possible and how do I do it if so?
Edit: At first I thought App Loader was a component of XCode, but apparently it's a standalone application. So it should be downgradable if you have problems with getting the answer to work, but 1.4 worked fine for me.
Right click the archive and "Reveal in Finder". You will find a .app bundle inside it. Compress it and upload the Zip using Application Loader.
Oflate, the XCode's built in app submission is showing some strange errors.