iOS application distribution issue - ios

I'm trying to create .ipa file of my first iOS application to test in anther device which doesn't connect to my Mac. I have two certificates from my Mac account for distribution and development. But when I try to archive it is saying I don't have a relevant certificate. I try to download it any add it to Xcode but downloaded file is not selectable. As suggest in other threads in here I try to delete expired certificates but I don't have any.
I try to add both development certificates from Xcode system preferences but it displays as those certificates are revoked.
I will add all relevant screenshots here.
I'm using Xcode 6.2. If you need more information please let me know. Can anyone help me to get rid of this error? Any help or idea would be appreciated.

Related

Unable to install Adhoc Distribution iPA Xamarin iOS

I created new distribution certificate and added my device UDID, and then created Adhoc provisioning profile that contains my device UDID using distribution certificate that created right now.
I think there is not any wrong in this step.
After that, I made new iOS build(from Xamarin Forms project) with above certificate and provisioning and save Adhoc ipa to my MAC.
I tried to copy it to my device via itunes 12.7 but it's failed to install it.
It shows me following error message "Unable to install [App Name]."
So I tried to download that ipa from Diawi but it's also failed and shows me "Unable to download, please try again later".
I have been trying to fix this issue for full 2 weeks but I couldn't find any solution.
Please help me to fix if someone faced same issue in the past.
Any suggestions are also much appreciate.
Thanks.
Hit your diawi link in Mac's Safari browser and check whether your Device ID is present in build. You can check in Provisioning Devices section.

Couldnt download IOS Application From diawi?

I created an app and define UDID on the developer account. Then I created IPA file for distribution on Xcode. I uploaded it to diawi and I can see my UDIDs on diawi. Everything is perfect. But when I click download, an error occurs:
application can not be downloaded, at the moment
How can I solve this? Any suggestions?
You should make your .ipa with adhoc distribution option, if you have make ipa with app store distrubution then it will not work on diawi I think! So, make sure that you are selecting adhoc distribution when creating your ipa!
I had the same issue and I resolved in following way.
Connect the device with MAC.
Open Organizer then chooses devices.
3 Choose your Connected device from the sidebar.
Choose Console inside the chosen device.
Now install the app it will show the exact cause of the problem.
In my case, I was trying to install the app on a lower version of iOS. When you will get the exact cause you can resolve it. It may be different than mine in your case.

Swift code application crashes on launch with distribution certificate

There is issue in my any swift application(Even there is nothing done in application) as I tried to install the application using distribution certificate and profile it is always crashing but if I am using development certificate and profile then it is working fine.
Also if I am using some other Mac system and use same certificates of distribution then it works well. Moreover Build size from my system is lesser than the build size than any other system build size.
I had tried all the suggestions related to this issues and changing settings or certificates but nothing helped me in this case.
Please suggest if you had faced similar issue or anyone you know.
Thanks In Advance
With Distribution certificate and profile app will not install from Xcode. You need to use only development certificates and profile for install app from Xcode to device. If you want to test with distribution certificate your app you can use test flight or iTune. Check below link for understanding -
check this answer
apple developer
apple.com
Tutorial

iOS provisioning profile issue when running on devices but works for simulator

I recently changed my mac on which Iam developing iOS apps .I am getting the below error when I try to run the code on the iOS device but works fine for Simulator .I will not be able to import the developer profile from my old MAC as it is restored .
"No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“abcd”) were found. Xcode can resolve this issue by downloading a new provisioning profile from the Member Center".
please provide me with clear steps to resolve this
Check this question.
There is a lot of tips, let us know if none of them fix your issue, so we could try something else.
here i can describe steps how to fix this hope that will be helpful.
Go to your old mac Keychain--> find the developer cer that you are using for your provisional profile.
Right click on that--> choose export and save .12 as file.
Expand it and right click on private Key --> choose export and save as a .12 file.
Copy both file and send this both file in to your new mac. and double click on it. That will be display in to you new mac keychain with key.
Now try to select currect provisional profile in to you Xcode and run in to device. how that will he fix your issue.

unable to download app ios 7.1.2

i have developed an app but i face issue when i make a build for adhoc, it successfully run on my own device with iOS 7.0.1 every time but when i want to run on iOS 7.1.2 it give prompt message "unable to download app" i have tried very much, but unable to solve this issue till yet.I have implemented bar code scan in this app, I have developed on both development and distribution provisioning profiles. i have correct UDIDs and everything is ok. What should i do? Any suggestion, Please help. I usually upload ipa file to diawi.com
Edit adhoc Provisional Profile or create new Provisional Profile.
Select all devices that you have in apple account.
Download certificate and double click to install.
Create new .ipa file to install.
Hope this will work.
Problem might be about the provision profile. I had a similar problem but then i recognized i didn't download provision file again after i added UDID of the phone. So the provision file I was using wasn't containing this new phone UDID. After downloading provision file again i replaced the old one with the new one, then problem solved.

Resources