Hey in trying to submit my app to iTunes. It passes the validation, but when i submit it's showing an error:
an error occurred uploading to the iTunes store
I have tried all possible solutions that I found during searching about this problem for almost one day .
I tried these lines without any success
cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
I use xcode 4.2 and snow leopard Mac OS .
Just use the newest Application Loader to submit apps. For Snow Leopard Mac OS, you can download Application Loader 2.5 from here to see what the problem really is. If nothing else is wrong, you may get this error:
This bundle is invalid. Apple is not currently accepting applications built with this version of the SDK, xcode.
I am also working on submitting apps with Xcode 4.2, because my macbook is too old to upgrade to Lion and to install Xcode 4.6. It seems that Xcode 4.2 is too old to be supported and the best solution is to install Xcode 4.6.
This error says that there is something wrong with the upload process. I don't believe you can fix it without getting in touch with Apple.
I've had this error once (already some months ago). It was caused by a server side issue by Apple at that day, but today the Apple servers are working without any issues (tried with Xcode 4.6).
Related
I installed the latest osx security update (https://support.apple.com/en-ca/HT207130) and tried to archive an update for my ios app. The archive was successful. However, after uploading the build to itunes connect with the Application loader, I received the following email :
When trying to submit my app for review I got this other error message :
I am clearly not running any beta build of macos or xcode. Here is my setup : OSX El Capitan 10.11.6, Xcode 7.3 (7D175)
Any one having the same issue? How did you get around this?
Since there have been many errors at iTunes Connect which Apple still can't solve on macOS Sierra (10.12) when uploading archives(build) of our applications,
You must use Xcode 8 no matter what on macOS Sierra
These are common errors that is happening when we upload our archive from Xcode 7.3.1 on macOS Sierra (10.12)
ERROR ITMS - 90163 (No.App bundle found)
Now your problem
Changing the build version or Xcode version from info.plist doesn't seen to worked. Believe me, I have tried many alternative hacking ways. Finally I gave up. Instead install Xcode 8 and Xcode 7.3.1 parallel on my mac because I am not ready for migration.
Archive your build from Xcode 7.3.1 and export it's ipa from App Store Release. Then, use Application Loader of Xcode 8 to upload your build to App Store.
Hope this help.
From this thread, try this:
I was able to submit without warnings or errors by digging into the
.xcarchive and modifying the info.plist of the app.
Change the key
<key>BuildMachineOSBuild</key>
<string>15G1004</string>
to the value for the original 10.11.6
<key>BuildMachineOSBuild</key>
<string>15G31</string>
Then export the IPA or submit to the app store as usual.
I didn't test so it could not fix your problem.
From this same thread, this seems to be a recurrent issue when Security Updates are released.
If #marco-santarossa's method does not work, you can wait for Apple to update iTunes Connect so that they accept the new OS build version, or contact support hoping they can speed this up.
I did and after a few hours the same build I had uploaded was submitted for review.
We Really need some help on this one:
We've Struggled with all the Apple Mumbo-Jumbo for the Last two months and can't seem to get our APP on the APPStore...
Right now my problem is after Validating the ARCHIVE compilation and sharing it.. in the Submit Process I Get -
"An error occurred uploading to the iTunes Store"
I Really don't Know what I'm doing wrong and don't seem to find ANYTHING on the Internet that solves the problem...
I've been stugling with this for over a week now... I've tried:
Creating a new Distribution Profile for Code Signing.
Checking All the Target Settings over and over.
Changing the FTP mode from Passive to non-Passive
Connecting from different networks
Reinstalling Xcode4
some other Work Arounds like Downloading the application Loader (Haven't installed it yet, but I Don't Know if I Should)
Please help us, what do you think could be the problem?
Thanks
Hernan
If you are unable to upload Apps to Apple and installed the JavaOSX update (April 3, 2012) this may help you regain your ability to upload Apps:
You can work around this issue by re-creating the old Java 1.5 symlinks:
cd /System/Library/Frameworks/JavaVM.framework/Versions
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5
sudo ln -s CurrentJDK /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0
Edit Oct 5, 2012 Oracle's Java 7
Elaborating on Hackmonford's comment below.
This exact error message also occurs with Oracle's Java SE 7 1.7.0_10 package installed. To resolve, open "Java Preferences" and either change the order to have Apple's Java SE 6 first, or untick Oracle's Java 7 while submitting to the app store. Verify your change by opening the Terminal:
prince$ java -version
java version "1.6.0_35"
I was having this problem this week, and installed the Java for OS X Lion 2012-002 update, and the problem cleared up. Resetting disk permissions had no effect.
This just happened again.
For OSX 10.8.2 users (does not have Java preference), the only way to fix this is to uninstall oracle jdk.
cd /Library/Java/JavaVirtualMachines
sudo rm -rf jdk1.7.0_09.jdk/
I had also a JavaVM / JRE issue. I have installed the JDK 7 preview from Oracle and that mixed up the upload process which told me the known "An error occurred uploading to the iTunes Store".
A quick check of /var/log/system.log (e.g. using tail in a terminal: tail -n 100 /var/log/system.log) brought up the following error message:
Java 1.5, 1.6, or 1.7 is required. Currently, java is the default java version. Please upgrade.
I had installed the MacOS Preview of JDK 7 directly from Oracle. To fix this issue, simply launch the Java Settings app in Utilities and uncheck JDK 7 from Oracle. Of course you should have an alternate JRE from Apple. See the screenshot how my configuration looks. The upload works for me now.
The odd thing is that the Oracle JDK isn't recognized as Java 1.7 by Apple. This seems like a bug.
UPDATE:
The GUI tool was removed from MacOS. Now, the only solution I know of is to remove the JDK 1.7 folder manually. See the JDK 7 docs how to do this:
Navigate to /Library/Java/JavaVirtualMachines and remove the directory whose name matches the following format:
/Library/Java/JavaVirtualMachines/jdk<major>.<minor>.<macro[_update]>.jdk
For example, to uninstall 7u6:
% rm -rf jdk1.7.0_06.jdk
A bit late, I know - but for anyone still having this problem - Look in your /var/log/system.log log file. In my case the problem was that the iTMSTransporter script (used by the Organizer when uploading the file) used 'awk', and I had to replace it with '/usr/bin/awk'.
Completely solved my problem.
Y.
Just in case this is useful for anyone else - for me it was that the Java JRE was not up-to-date. I checked the console and Application Loader was complaining
I had this problem today after installing latest XCode.
I fixed it by running software update and installing latest Java Update.
I tried the same thing as Hernan, but even with application loader 1.3 I wasn't able to upload.
I noticed that this has happened after installing OSx Lion and upgrading XCode to 4.1!
I followed Joe's tip and I found out that JAVA wasn't even installed.
Follow this blog entry:
Unable to Upload App to App Store
My mbp now run Xcode4.2(4D199) on Lion, I installed the latest java for Lion. And finally I sovled this issue.
Many guys said, he can used the old Application Loader app to upload the apps. so I guess the problem is the latest Application Loader app(2.4.1 (190)), and the fact told me I am right
Okie, in short words:
Here is the solution:
1.I hope you guys do not delete the old Xcode(4.1). We Should pick up the old version Application Loader app.
cd <Install Xcode app>/Contents/Resources/Packages
cp ApplicationLoader.pkg ~/Desktop/
Now, you get the ApplicationLoader package.
2.Install the old one.
Tips: you can remove the latest Application Loader app in path: /Developer/Applications/Utilities/ or just remane it.
That's All.
Hope this way can help you and enjoy the new Xcode4.2. Also hope apple developer can saw this problem and test the latest Application Loader app more.
No Problems submitting to AppStore on April 1st. Issue occured on April 9th. Installing the Java for OS X Lion 2012-002 update via Mac-OS software updater and rebooting the machine fixed it.
Just update to the latest JAVA at your Mac Software Update.
Here is the steps to resolve this issue:
To start with I had installed Oracles Java 1.7 JDK, which was really messing things up.
Went to Finder>Applications and entered in Search box - JavaAppletPlugin.plugin
Right clicked and removed to trash.
A check in Terminal for Java version still showed Java 1.7
my-imac:~ my$ java -version
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
1. Finder>Library>Java>JavaVirtualMachines showed the 1.7 SDK (make note of exact name of the Directory name)
Just in case anything went wrong I copied the 1.7 SDK folder to my desktop before doing the next item
2. In terminal type
cd /Library/Java/JavaVirtualMachines
3. You should now be in that directory
sudo rm -rf jdk1.7.0_06.jdk (or whatever the exact name of the directory is in step 1.)
You may have to enter your administrator password
The directory should now be deleted and you can verify in Terminal by
java -version
Mine now showed "Java 1.6_xxx"
Went into Xcode Organizer and distributed my app to the iTunes store without a problem. Whoo,hoo!
I have been hosting my app on a cydia repository for quite some time, and haven't had any problems hosting the app for iOS 5 or iOS 6. However, when I upgraded one of my devices to iOS 7, and tried to install the app it gave me some errors during the installation.
The erros I am getting are,
subprocess dpkg-deb --fsys-tarfile returned error exit status 2
Sub-process /usr/bin/dpkg returned an error code (1)
I've tried googling the errors, but haven't had much luck, and I just reread saurik's post about building a .deb file and creating a cydia repository, here I am still not sure why the package / .deb file would work in iOS 6 but then stop working in iOS 7.
I even created a simple test app with just button in it using Xcode 5, and that simple test app is giving me the same errors as stated above.
Apparently there's some compatibility issues with dpkg, Cydia, and the homebrew release of dpkg. I ended up finding this, which solved the install problem. :)
this error mostly happen if you are using new SDK that has not been jailbroken yet, if you are using Xcode with new SDK you should download older Xcode with SDK that has been jailbroken, then you can compile an app that will load normally.
I'm almost dead now. I've been trying for about 2-3 weeks to fix that problem, but still no result. Hope anyone is able to help me:
I'm writing iOS Apps with Titanium Studio. Until Mac OS X 10.6.8 with Xcode 4.2 everything worked just fine. I was perfectly able to build apps in Xcode und deploy them In-House in our Enterprise. Now I've upgraded to OS X 10.8.2 with Xcode 4.5 and there we go...
Apps can still be built and are runnable on the iOS Simulator, but if I try now to get the app on some devices, I get a message "Unable to download application. -Appname- could not be installed at this time". This happens either through OTA distribution and through iTunes with an USB Cable.
I've searched almost the entire internet, but all I've found didn't work at all.
But if I actually try to deploy the application through Xcode it works though.
Does it have something to do with those Profiles and certificates? I've already tried to revoke them and so on, but nothing helped. I also installed OS X completely new, so that I have a clean keychain. Same result.
Would really really appreciate any kind of help. Thanks!
Finally i found a solution, when i tried to sign the App manually, the console threw an Error message that helped me to fix it again.
The Problem started when i upgraded to Mountain Lion and had to update xCode to 4.5.2
Maybe it helps others who still couldn't find a solution after several days of searching the internet
Unzip the Ipa
unzip Application.ipa
delete _CodeSignature
rm -r "Payload/Application.app/_CodeSignature" "Payload/Application.app/CodeResources" 2> /dev/null | true
if there isn't the right provisioning profile, replace it
cp "ProvisioningProfile.mobileprovision" "Payload/Application.app/embedded.mobileprovision"
The problem for me was this error when i tried to resign the app manually:
"object file format unrecognized, invalid, or unsuitable"
fix it :
export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/usr/bin/codesign_allocate"
resign the app
/usr/bin/codesign -f -s "iPhone Distribution: Company Name" --resource-rules "Payload/Application.app/ResourceRules.plist" "Payload/Application.app"
Zip it
zip -qr "Application.resigned.ipa" Payload
Thanks to
This Question on how to sign an app manually,
the console which got me the error
This Post which helped me to fix the error
Apple which makes our lives too hard
Update
It seems the location for codesigning has changed. The new path would be
export CODESIGN_ALLOCATE="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/codesign_allocate"
As taken from this answer
I had the same “Unable to download application. 'Appname' could not be installed at this time” message, and spent several weeks checking and renewing the certificates, rebuilding, re-doing the OTA distribution, etcetera. It turned out that I simply hadn't added the .mobileprovision files to the project. Just in case this helps anyone…
This question is not a dupe of, but is very similar to, this question which has an accepted answer: Xcode says I have 4.2 installed, but only 4.1 opens.
On my Mac's App Centre, it says Xcode is 'Installed' (and no option to uninstall or upgrade), but my current install of Xcode is actually 4.1 (with iOS 4.3 SDK). Following the advice of others, I've tried running Install Xcode.app from the Applications folder. This launches an installer that says "Installing Xcode 4" (note it doesn't give any minor version info like 4.1 or 4.2) -- it downloads and installs something. After installation, I still have Xcode 4.1 installed.
I've tried many reboots and also tried running the old uninstall-devtools script before running Install Xcode.app again, and no difference.
My machine is a Mid-2011 Mac Mini and it has no pending software updates available via Apple Menu -> Software Update...
Ok, here's what worked for me:
I deleted Install Xcode.app from Applications, and then ran the following script:
/Library/Developer/Shared/uninstall-devtools
This is in a different location to before and I didn't spot it :/
Then run Mac App Store, search for Xcode, you should find there is now the option to install it.