I have created an ad-hoc distribution ipa file along with a plist file and uploaded it onto a website. I have then navigated to the website and clicked the download link. It pops up saying:
www.mywebsite.co.uk would like to install "myApp"
So I click install.
It then reverts to the home screen to show the icon and the progress bar of the download/install.
Once the bar has reached c.3/4 it then shows another pop up saying:
Unable to download application
"My App" could not be installed at this time.
Any thoughts on what is going wrong here?
For completeness..
I had migrated my project from one laptop to another during the build and had forgotten about it. I had therefore migrated all my profiles but not my private and public shared keys in keychain. Ultimately. I have to delete all certificates and profiles and start again from Keychain.
Actually, once I have decided to start all over again, it was probably only 15 mins to a full distribution profile working. Not bad considering the number hours scratching my head beforehand. But still - Apple...surely you can think of a more slick way of allowing us to test and distribute apps?????
Related
I want GUARANTEED steps to get this to work.
I've pulled my hair out on this task many times since I started doing this work 6 months ago, and the feedback from itunes and the organizer is non-existent.
I have full access, I can go into the apple dev centre and do whatever is necessary and I know my way around xcode now.
Currently, when I connect my iPhone and click applications under the iphone [on the left in the organizer] the add and remove buttons are disabled and I can't click and drag ipa files into it.
If I open itunes and click and drag my app into the applications area for my macbook, it works and overwrites the current app, but when I try to click update, then sync, it successfully syncs, but still has the button saying "update" instead of "install", and when I view the phone it says " failed to install" or some other ridiculously generic message.
I've also tried to create a new profile, but when i use the add button in the organizer to attempt to add it to my iPhone it accept the file, but doesn't shot i on the list. I click and drag and it's the same thing, no error and it looks like it'll accept it, but it doesn't show up on the list. So I can't seem to attempt to add a new profile.
BTW, The device is in the devices list and has a valid profile [and the profile has the device in the list of devices (and the UDIDs match)].
I'm looking for some solid steps to guarantee the app will be installed on the phone without these headaches.
Xcode: 4.5.1
iphone: 6.1.3
Any help you can give would be greatly appreciated. Honestly, I'm ready to quit my job because the stress this software is causing me, this is ridiculous.
(my frustration: I've had compilation errors that are resolved by restarting xcode, I've had to restart my computer to resolve profile issues, and far too many times I've had to flush everything just to deploy to the app store... I've never dealt with such a terrible awful piece of software and toolchain in my entire life [and I've used Windows and VS!])
Check out TestFlight - http://testflightapp.com
They give step by step instructions on how to distribute ad-hoc versions. Its very easy to set up.
Set up your provisioning profiles, build/archive your app, then distribute it via TestFlight.
See http://help.testflightapp.com/ for help.
Follow the Steps:
1 - Create a provision profile Distribution for your app ( don't forget to add the devices, witch will test this. Its very important because case you dont add then, they will not have permition to install the app.). After create download and double click it. Don't delete yet, you will need it to upload after.
2 - Go to your project, Build / Targets / Build Settings / Code Signing and set the provision profile you create.
3 - Build the project. If its ok, click in product, archive
4 - Click in Distribute, Save for Enterprise or Ad-Hoc Deployment. Save your .ipa
5 - Go to TestFlight Create the app and upload the build.
6 - Go to Apps Builds and click in your app.
7 - Go to Permitions and Upload the Provision Profile!! Now you can choose in this list who you want to notify about the app to download!
8 - (Optional) Go to People and create/manage your team giving the right priorities.
You should implement the SDK case you want to manage the Sessions. Its Very simple, just follow the tutorial Documentation and the sdk iOS SDK Download
Follow below steps to install .ipa file without using testflight
Extract the folder which contains files .ipa and .mobileprovision .
Open iTunes and connect your device.
Drag and drop .mobileprovision on Library->Apps group section of
iTunes.
Repeat above step with .ipa .
Sync your device and it's done.
This is driving me crazy. I've tried searching for answers and nothing quite matches my problem.
I've successfully archived my app and need to upload it to iTunes Connect. Apple recommends Application Loader but first needs to be done in Xcode. When I attempt to validate or Distribute the app in Xcode, I get an error saying "No Identities are available for signing"
I'm confused because I've wiped my certificates and profiles clean but I continue to get this message. Any ideas what I'm missing?
"No identities available for signing" can get frustrating. What you should do is regenerate your distribution certificate and profile, that should fix the issue.
If you need help regenerating: Download and open the new distribution certificate, which will store it in your keychain. Then, drag-and-drop the profile into your Xcode organizer. Next, your going to click on the project in the upper left (it has a blue icon next to it), that will bring up the projects info. There should be 2 tabs at the top of the screen, "Info" and "Build Settings". When you click on Build Settings, the option to change the code signing is about halfway down the screen. When I ran into this issue, I had to change every single one of the code signing options to iPhone Distribution. (It might not be necessary to change every field, but I did). You should be good to go after this, let me know if you have anymore issues.
I solved the problem by deleting ALL dev profiles and recreating a single provisional profile for Distribution and Developing each. Xcode then selected the profiles automatically without me having to import them into Xcode.
I got 2 errors when I tried to validate my app with the appstore.
How could I solve this ?
The approach i took to upload my build;
When I set Build configuration to Ad Hoc it Archives correctly (and displays in Organizer), but when I set Build configuration to Release, the archive file doesn't get displayed in the organizer. I have a different question on this on SO, but haven't got any replies yet.
So I clicked on the archived file (which was obtained after I set the Build configuration to Ad Hoc), and clicked on Validate.
Here is the screen shot, can someone tell me what I should be doing to get rid of this error ?
NOTE: Actually I know why the 1st error occurred, but I have no clue why the 2nd one occurred, and need guidance to solve it
SOLUTION TO ERROR-1:
Make sure your app icon is added to your project bundle and Also it is exactly 57 x 57 pixels PNG image.
SOLUTION TO ERROR-2:
Make sure you have set the Distribution Certificate and not Development Certificate in both Project and Target Settings.
You need to cross check it.
Also please cross check whether you are archiving the correct scheme, which you are setting the Distribution Certificate for.
EDIT FOR PRIVATE KEY ISSUE:
I have found louie's answer from the link iPhone app signing: A valid signing identity matching this profile could not be found in your keychain which was helpful to me once with same private key issue:
Here is what Louie's answer is:
I had the same problem: I first downloaded my certificates to my small
MacBook while on the run. When trying to install the certificates on
my iMac... then I ran into the problems described on this page.
After spending hours pulling my hair out like many of you, I performed
the following steps to fix it:
Close all your stuff except your webpage that should be logged into
App Dev center.
Open Xcode. Click WINDOW > ORGANIZER > select "Provisioning Profiles"
on the left. That should bring up your provisioning profiles.
Highlight one by one (if more than 1), right click and delete profile.
Yes, just do it! Delete them all! (I kept making a new one after a new
one trying to make the thing work.)
From the first page you see after logging into the App Dev Center on
the right side click "iOS PROVISIONING PORTAL" > (do not "launch
assistant"). Instead click on the left side. Select CERTIFICATES. You
will probably have just one line listed with your name/company - from
there click on the right side REVOKE. Click OK to verify that's what
you want to do.
On the same page click DEVICES. Click the box next to your device you
are trying to provision and click REMOVE SELECTED. Again click OK to
verify.
Wait about 2 minutes to let Apple do their thing.
Now click on "HOME" that is on the left side navigation.
Click "Launch Assistant"
create a new app ID - call it whatever you want. Just make sure it's
unique enough to know that's the one you just created because the
others you've been messing with all day will not be deleted from
Apples Dev Center.
You should be able to follow the rest of the Assistant without
troubles -- the main thing is you just had to delete your old
provision profiles and start over.
Hope this helps you.
Well... Your screenshot says that you have some problem with your icon and codesign verification.
Icon should be 57x57 pixel, put in your app bundle, correctly added to your target membership and set in your info.plist.
Then you need an iPhone Distribution Certificate from iOS Provisioning Portal.
If you checked icon and certificate and everything it's OK, maybe it is a problem in your uplader: I had same problem in the past (my icon was in my app bundle, but uploader wasn't recognizing it). Try software update to get latest uploader.
I am creating a newsstand application. the application is ready, now i am trying to upload the app in apple store using Application Loader. While uploading the zip file its showing the error message as
Unable to process application info.plist validation at this time due to a general error (1095)
I googled this in the net, but did not find the solution still.
This is clearly an Apple server issue, not an Xcode/iOS/OSX issue. Just wait patiently and Apple's servers will catch up to the traffic, or solve whatever issues they're having at their end.
If you're anxious, feel free to just sit there and restart Xcode until it works - but it's not restarting Xcode, only the time you waste that's solving the issue.
While you're waiting, run your apps in Instruments and solve some performance issues ;)
I just had this error. I waited an hour and tried again with the exact same build and it was all good. Vote for it being Apple's temporary glitch.
I had the same problem. I closed Xcode, restart my computer and it worked.
One possible problem to this is corrupted png files. The png files should not be interlaced
I found a solution to the problem.
If you're using Xcode 4+, you don't have to use Application Loader anymore. Instead you should archive your project in Xcode (Product->Archive). It will then open the organizer, where 3 buttons are displayed. Hit the submit button.
If you've created an entry for your app with Itunes Connect, you should be able to choose that from the list, and then select your distribution profile. Then hit the next button, and you should get a message, that tells you, that your app has been submitted.
At least that worked for me.
Use Application Loader.
I'm getting this a lot today.
Application Loader worked.
XCode > Project > Archive
XCode > Organizer > Distribute > Enterprise/add Hoc > Save As
Saves as YOURAPP.ipa.
Make sure Save for Enterprise Deploy remains UNCHECKED.
Download latest Application Loader.
tap 'Deliver Your App'
make sure new version in itunes connect in WAITING FOR UPLOAD state
Click on Activity... button
TIP: open Console.app to see XCode Validation errors
Click on ALL MESSAGE on list of logs on right.
Then in search enter 'XCode' or 'Application Loader'
to monitor any errors with your upload.
Note:
I did all this and still got email about missing 120x120 icons.
Forgot to update them in Build Target > General Tab
List of new icon requirements for iOS7
http://www.icenium.com/resources/forums/icenium-general-discussion/missing-recommended-icon-file
Another reason why this can happen is the duplicate product name. Despite your app names, executable names, display names or bundle IDs are different, if the product name exists in your current apps this error is gonna occur.
"The server returned an invalid response. This may indicate that a network proxy is interfering with communication, or that Apple servers are having issues. Please try your request again later.""
Reset The internet connection.
Reopen the xcode.
Set the profile again.
Clean build.
And Archive the build.
Works perfect for me (With in 5 minutes no need to wait).
Thanks
It's just the time, because you can't control Apple's Server's traffic problem, We all merely become the victim of that..So cut the long story short...
By restarting XCODE may work but everyone as in my case, i tried by restarting XCODE, SYSTEM, ROUTER and anything and everything possible, only error name had changed from "The network connection was lost" to "The request timed out" and vice Versa..!
Just think at what time less people would be accessing the sever...
PS: Only perseverance can help you in this way..keep redialing..And WAIT and WATCH:P
I solved ... :)
Please remove all your icons and splash image also remove icon Files and icons File( IOS 5 ) from info.plist and then add all your icons to app bundle ...
After this update info.plist iconFiles field add desired name of icons....
And last but not least remove Provisioning profile from developer portal and recreate it ...
Clean your build and Archive it and using Application Loader submit it to AppStore ...
it work for me and i think it may help you...
Not every time not it is Apple server issue,sometime we did some bad linking according to me :)
To make a long story short: I have developed an application for a company and I was about to update when I discovered that in the member center area on the Apple website the Development Certificate was gone, as well as the devices and other stuff, so I made a new one and uploaded the device ID again.
So everything okay...I thought. I opened iTunes and downloaded the new provisioning profile and dragged it over to the organizer window. But it did not work. I got several different warning and errors saying the the keys, certificates etc did not match, so I Googled. I saw some posts that said: try making a new distrubution certificate...so I did, then xcode told me that I had to many certificates for that app so I exported the certificates by right clicking the selected certificates in the keychain and tapped export. I ended up with a Certificates.cer file. Then I deleted those certificates to make room for the new ones i downloaded from the member center portal.
SO now I do not know what I have done...I am afraid that I screwed something really up.
My question is: I really hope it is still possible to update the application already in appstore even though I have to recreate the certficates, provisioning profiles etc.
Best regards
You can alway start from scratch, deleting all the provisioning profiles through your developer member page, recreating the profiles you need, importing them in Xcode and rebuilding the app with them. You cannot screw things that much, not being able to publish the app once again.
Clear all the contents of Xcode, and of your provisioning profiles page, and start over. Things will work. I've done this tens of times.