provisioning profile on iOS 6.0 - ios

I have an iPad with an app on it and the provisional profile has expired...do I have have to rebuild my app in Xcode ? and re-deploy it to the iPad or do I simply have to update the provisional profile ? I have created two iOS certificates (development and distribution) but how do I transfer these to the iPad ????? My iPad is running iOS 6.0 and I am concerned if I update the OSon the iPad the app will no longer work ???
do I need to install an earlier version of Xcode that is compatible with iOS 6.0 (on the iPad as the target device) ???
thanks

According to the answer to this very related question, you simply need to renew your Apple Developer account ($99 in the US). Assuming this is the same Apple Developer account you built the original app with you, you can renew and download a brand new provisioning profile and install it on your phone and the app will continue to run with no issues (and no need to rebuild).
If you do choose to rebuild, make sure you set the "minimum deployment version" in your Xcode project to be iOS 6.0, although I suspect there will be plenty of errors and issues that come up with whatever modern version of Xcode you're using. iOS 6.0 dates from 2012, which feels like an eon ago.

Related

Xcode: getting a message when trying to run an app on my device

I am new to ios development.
I am using Xcode 6.4 and iOS 8.4.1, when I'm trying to run my app on
my device I get this message from xcode:
No valid signing identities (i.e. certificate and private key pair)
matching the team ID “(null)” were found.
Xcode can attempt to fix this issue.
And when clicking "Fix issue" it suggesting me to enrol Apple's dev program.
by the way I had it once and now it outdated, so how can I over come this problem and run the app without enrolling again?
Remember you need to pay for the account, and if yes
click on this then select General then Identity then select your iOS development account in the Team section. Finally re-run your project.
The problem is Xcode 6 :D you "need" to enroll apple developer Program to debug at iPhone / Ipad devices if want use this Xcode, but if you download Xcode 7 you can run at your device!!!
So if you want use for now Xcode 6 you only can use emulator, otherwise download Xcode 7 :)
If need any help look at this post : How to debug at Device using Xcode 7 without enroll apple developer program

Can't install Provisioning Profiles on iPhone (iOS 8 beta 4 / Xcode 6 Beta 4)

I can't install any of my iOS developer distribution or developer linked provisioning profiles onto my iPhone 5S running iOS beta 4 with Xcode beta 4 on OS X Yosemite dev preview 4. I have reinstalled iOS 8 with a restore, same for yosemite and Xcode betas, revoked and created new dev certificates, deleted and added new certificates to my Keychain access, and made sure all my new provisioning profiles are for the correct certificates. Yes I am a developer and have my iPhone udid added to by developer portal account. I have also made sure to include this iPhone in the provisioning profiles and doubled checked to make sure I'm logging into my dev account on Xcode. I just can't seem to get the profiles to install :(
I have included some screenshots of Xcode supposedly telling me the profiles are installed, but my phone says otherwise. I have also tried emailing them to myself and installing that way but my phone still says no profiles installed.
I would really appreciate i if someone could help me.
Thanks.
Xcode is correct - the profiles are on your device and you can confirm this by installing and trying to run an app that relies on one of those profiles. The reason you're not seeing the provisioning profiles on the Profiles page is that iOS 8 no longer exposes provisioning profiles through the user interface.
I had this same problem last night and this morning. I am using xcode 6 beta 4, ipad mini ios 8 beta 4, iphone 5 ios 8 beta 4.
Go to developer.apple.com go to your certificates, revoke your current development certificate. create a new one and download it. shut down xcode. and drag and drop your newly downloaded certificate into xcode on your dock. let xcode open.
to make sure your certificates are properly loaded, go to xcode/preferencecs/accounts/view details to see if the certificates & provisioning profiles are there.
if all looks good so far, then clean your project, build it and then run it on your iOS device.
I understand that this is old question, but I encountered exactly same problem, tons of Provision profiles from old experimentation and was searching hours how to remove them and I found a solution which I share for any developers that need it in future.
Solution is suitable for iOS 9 and XCode 7 (I believe for iOS 8 also).
Using App Store install Apple Configurator 2 on your Mac.
Run it and connect mobile phone.
Double click iPhone or iPad or any other device and switch left menu to Profiles to check is there any really present.
If Yes, the go back and Right click the device, choose menu Remove->Profiles.
Now very carefully check and select which profiles you do not need and click Remove Profiles
I can confirm, that there is nothing to see from user interface of the device, only special tools can show real view.
I hope this will save hours to others.

Signing iOS app using XCode 4?

I am trying to generate certificate in-order to sign my iOS apps build in PhoneGap. The below is what apple says now if i am correct Xcode has various version the one i have is 4 on mountain lion OS(VM Ware machine). is the process still the same ? or do i need the latest version of XCode which is 5.0 to sign my apps and also does not run on Mountain lion OS?
Request Certificates with Xcode
Xcode is the easiest way to request certificates. Connect your device
to your Mac and click Use for Development in Xcode's Organizer window.
Sign in with the Apple ID associated with your iOS Developer Program
membership and Xcode will automatically generate your certificates.
Process is the same. You don't need newer version of XCode. Just follow given instructions.
Make sure you have apple developer account before you proceed.
Go to general > Team > Add an account
After you enter your details then go to general tab back.
Click Fix issue button and your provision profile already automatically generated in apple developer website by xcode. Then download that provisioning profile then install into your machine.
Apple is not accepting builds generated from XCode 4 or older. You need to sign it from XCode 5. Request for certificates can also be made using it.
This issue comes up if you submit it after signing from older XCode.

Unable to install provisioning profile on ad-hoc distribution test devices using iTunes 11 and iOS 7

It seems like that there is a problem installing ad hoc distribution apps using iTunes 11. I found out that the specific problem is that the provisioning profile never gets installed on the devices, which causes the application installation to fail and block (the icon stays black).
Use case:
distribute ad hoc apps to iOS 7 tester devices that do not have XCode and without having to use third party webservices like testflight.
Installation success when:
I install my app on an iPad with iOS 7 with a profile installed using iTunes 10 when it was running iOS 7. This because the profile is still valid.
Installation fail when:
I install the app on a new device running iOS 7 via iTunes 11. Looking at: Settings->General->Profiles I do not find any profiles in this case (despite I copied them on iTunes and sync the device).
Hence what I need to find out is how to install provisioning profiles on a iOS 7 tester device with or without using iTunes 11 and without:
- using third parties software like TestFlight.
- forcing the tester to use XCode
Any help/suggestion?
PS: Good old times when It used to be possible to install the device by just dragging and dropping it on the iTunes 10 icon and then synchronizing it with the device.
The situation is way better than "the good old times". You can install both the ad hoc provisioning profile and app directly on the device by directing the user to a specially constructed web page.
That link is a little old. I've created a rough script that creates an over-the-air install from the ad-hoc IPA file you create in the Xcode Organizer (although enterprise would probably work too).
All you need to do is modify yourhost.com and yourhost_via_ssh in the bin/mk_ota file.
Solved!
The issue was that had sent to my collaborators the UUID finder App which apparently has a bug (at least on iOS 7 devices) because it gets the wrong uuid:
It does substitute in the first part of the UUID a series of letters "F" and change the rest of the uuid:
UUID / UDID / UID:
FFFFFFFFrestofuuid(incorrect)
The safest way to get the correct uuid is to copy it directly using iTunes. One you have the correct ad hoc distribution certificate (with the right uuid) then send it to the tester and ask to reinstall (by dragging and dropping it on iTunes and then Synchronizing or by sending it via email and opening the mail from the device - which will prompt the user to an installation process). To check if it is installed on the testers device in the general settings menu.
Notes: I sent the UUID finder App a couple of weeks ago (as of 23 December 2013), so the current version of UUID finder may be working correctly. Double check in case you are in doubt. EDIT: API deprecated, see Deprecated UIDevice Methods - Apple Developer

Test iPhone app in real device

I have an apple developer ID. I have my developer certificate, my cert in my keychain, I have installed the last version of iOS (5.1.1 (9B206)) in my device (an iPad), I got my profile, I'm on a development team, I told Xcode that I want to use the device for testing. In the build settings, I have set the architectures to armv6 and armv7, both in "target" and "project" as well. Got the provisioning profile.
Still, when I try to run the app on the iPad, I receive an "Xcode cannot run using the selected device." saying that I need to install a newer iOS version (as I said, I installed the most recent on the device).
Anyone have faced this issue before?
You will need to update the version of Xcode to 4.3.2

Resources