Application Loader cannot choose zip file of my Mac app - cocoa

The status of my Mac app is "Waiting for upload". When I launch Application Loader, I can select it from the list. However when I click on "Choose...", I cannot select the zip file of my app (or any other file of any kind). I tried uploading an iPhone app to see if Application Loader has a problem and it works just fine. Am I missing something here? or has Apple changed anything lately with the launch of XCode 4?. Thank you guys!

You need to give Application Loader a PKG for Mac apps or an IPA for iPhone apps. You cannot upload a ZIP file. You can generate these files in Xcode 4 by doing Product > Archive and then exporting from the Archives panel of the Organizer.

I downloaded Xcode 4 and used its new way of uploading binary files to iTunes Connect and it worked. But I really wonder why Application Loader didn't manage to upload the file.

Related

Wireless Distribution of AD-HOC Builds in XCODE

Currently i use TestFariy for beta app distribution, which works some of the time.
Reading its apparently possible to build own .ipa file place it on a web server and using safari to download it onto devices.
I have been having a play but don't seem to be able to get it working.
We have a standard developer license.
I archived app and included the manifest file.
I placed both files onto the webserver along with a html file that basically provides an event to download the file
Install App
Now in safari on devices when i hit the button on the link i get the popup asking if i like to install, i select yes and i then just get a new icon with 'Waiting' and it hangs here, no error messages just stays on 'Waiting'.
Anyone any ideas?
Thanks

How to create an .ipa file out of phonegap 3.5.0 project?

I'm very new to OS X and facing difficulties even in finding the menu options in xcode.
I tried all the resources available online. All I'm trying is to make an .ipa file out of the phonegap project which uses push notifications. I have tried phonegap build this way:
Created .p12 key and development provision file according to the instructions in the following link:
http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
It's not working out. So, I started to use xcode to do it. But I don't find an option to edit scheme anywhere.
Kindly help me.
Change you device from iPhone/iPad in XCode to iOS Device then in the project build menu, select Archive. You will be prompted by Xcode to sign the app and if you don't have provisioning profile Xcode will assign you one.
Follow the archive menu to create an download the packaged IPA.

How to launch an iOS application in Simulator from Terminal and AppleScript

I have made an iOS application in Xcode and built it. It has created an .app bundle. I am able to launch the app in Simulator or on the device successfully from Xcode or iTunes, but now I want to launch it in Simulator through AppleScript from Terminal.
I am able to build the app from Terminal, but unable to launch it in Simulator. Somehow I found out that an .ipa file is needed to run the app from Terminal.
Is there a way to launch an iOS app I built in Simulator from Terminal?
I found an .ipa file that I wanted using iTunes and copied it over to my desktop. After that I changed the extension to .zip and extracted it. Next I found the Payload folder and moved the application inside to my desktop. Finally I moved that application to my iPhone simulators applications folder found at: "Your disk name">Developer>Platforms>iPhoneSimulator.platform>Developer>SDKs> iPhoneSimulator4.3.sdk>Applications
Hope this helps! (Note: Some apps crash more often than others.)

Where to find Application Loader app in Mac?

I have downloaded applicationloader_1.3.dmg and installed in the destination Macintosh HD.
The messages show The installation was successfully done. But, there is the ApplicationLoader app that doesn't appear anywhere.
How to install and get the Applicationloader app in Application->Utility folder?
I'm using Mac OSX version 10.6.8.
In more modern versions of Xcode, you'll find "Application Loader" under the "Xcode" menu (the first menu to the right of the Apple in the menu bar) and it'll be hiding in the "Open Developer Tools" submenu.
As of Xcode 11, "Application Loader is no longer included with Xcode", per the Xcode 11 Release Notes:
Xcode supports uploading apps from the Organizer window or from the command line with xcodebuild or xcrun altool. Application Loader is no longer included with Xcode. (29008875)
The Xcode Help page, Upload an app to App Store Connect, explains how to upload from the Xcode Archives Organizer.
Transporter
In October 2019, Apple announced the Transporter app for macOS, now available in the Mac App Store.
With Transporter you can:
Upload your .ipa or .pkg files to App Store Connect.
View delivery progress, including validation warnings, errors, and delivery logs, so you can quickly fix any issues.
See a history of past deliveries, including date and time.
This was previously a download from iTunes Connect for qualified partners (FAQ)
Notes on Using the Command Line
I've uploaded non-Xcode builds with xcrun altool --upload-app -f path-to-build.ipa -u your-account#apple.com. It won't show any progress, but you can see the network traffic in Activity Monitor. It finishes with No errors uploading 'path-to-build.ipa'.
See xcrun altool --help for usage. If your account has 2FA enabled, first visit https://appleid.apple.com/ and generate an app password.
You can download Application Loader from Itunes Connect.
Go to https://itunesconnect.apple.com/ , sign in, and click on Manage Your Apps.
There is a Download Application Loader link at the bottom.
At the time of writing, this link is: https://itunesconnect.apple.com/apploader/ApplicationLoader_3.1.dmg
I didn't find application loader anywhere, even in spotlight. You can open it through xcode.
Go to Xcode > Open Developer Tools > Application Loader
With Xcode 11, Application Loader has been removed. The Mac App store now has an app called Transporter.
https://apps.apple.com/us/app/transporter/id1450874784?mt=12
For anyone finding this now (23/09/2019) Application Loader has been removed from Xcode.
If you have built the application in Xcode you should be able to follow these instructions to upload your and distribute your project Upload an app
I am not sure what to do if you have been given a .ipa file, for example when building an Expo project, I'll update this post when i have an answer.
In the mean time more info can be found here.
Developer Apple - Whats new
application loader page:
https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/resources_page
application loader 3.1:
https://itunesconnect.apple.com//apploader/ApplicationLoader_3.1.dmg
I have found in following way :
Go to https://itunesconnect.apple.com/ , sign in
Click "Resources and Help"
you can find it by going to xcode > open developer tool > application Loader
You can also upload an app using the Application Loader tool by using it from the terminal:
MacBook-Pro:~ denis$ altool --upload-app -f "ios-app.ipa" -u "applestore#email.com" -p "yourpassword"
To use altool from anywhere in the terminal you could add it to your
PATH env variable by typing in terminal:
MacBook-Pro:~ denis$ export PATH=$PATH:/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/
MacBook-Pro:~ denis$ source ~/.bash_profile
Now you can upload your app binary with the Transporter app.
You can download Transporter from Mac AppStore Here
Here apple mentioned its used for uploading.
Application Loader now moved to tools
https://itunespartner.apple.com/en/apps/tools
It's in Applications > Xcode > Show package contents > Contents > Applications - but easier to open from Xcode!
This error had me really scared because I make my app using Adobe AIR, so once my AIR builder (FDT) tells me it has packaged it, I really have very little I can do if it fails.
I got this error when I uploaded my ipa through the Application Loader (v3.0 [620]) that I had downloaded from the link they provide when submitting the binary. I tried uploading the ipa through Xcode > Application Loader (v3.6 [1020]) and it worked fine.
I am going to write to Apple about this once my blood pressure returns to normal.
With Application Loader now gone from Xcode I had a look around to see how to upload an .ipa file, since I use UE4 and I don't touch Xcode at all during development. Turns out it's pretty hidden away, You need to go to Window, Organiser, Archives. The archive will only appear if you ticked the "Generate Xcode Archive Package" tickbox in Project Settings. Then you just click Distribute and it's just does it.
Application Loader has been removed from XCode 11, the alternative app is Transporter. you can download it from the appstore with the following link:
https://apps.apple.com/ca/app/transporter/id1450874784?mt=12
Now you can use Transporter app instead of Application Loader.
Download Transporter App from this link: https://apps.apple.com/us/app/transporter/id1450874784?mt=12
If anybody is still looking for the Application loader, it has been removed and replaced with Apple Transporter. Download from the mac AppStore.

How do you export your finished application from Xcode?

I feel silly for having to ask this. I've got an application to a point where I want to send someone a beta to test on their machine, but I don't know how to get Xcode to produce a .app file for me to send to them. Help?
This has changed in Xcode 4.
Now Apps can be exported from the "Organizer"
If you haven't already, you need to create an Archive.
On the menu go to Product -> Archive
Once you're in the Organizer - Archives screen click Share or Distribute... (Xcode 4.3.3 or newer)
Then choose the format you want to export.
the app is generally under your
project_dir/build/Debug/Name Of App
project_dir/build/Release/Name Of App
project_dir/build/Distribution/Name Of App
depending on which configuration of build you did or want to send.
On Xcode 13 you need to choose Product -> Destination -> Any iOS device (arm64).
Then afterwards you can run Product -> Archive.
to get to the .app application you have to go into the folder where you created it into build the your app will be there

Resources