I updated to iOS 9 Beta 3 today, and I need to test an IPA file on my phone.
I put it on, and it says I need to trust the developer first before I can open the app. I went to Settings > General > Profiles, and the option to do so is not present like it was in iOS Beta 2. Anyone else have this problem and a solution?
I was having a similar issue and I just resolved it. Below are the steps I took:
Open up Xcode 7 Beta 3
Open the Devices Window under the Window menu item (CMD+SHIFT+2)
Under Devices on the upper left select your device that you cannot run the app on
Right Click on your device and and select Show Provisioning Profiles
Select each provisioning profile on the phone and click the [-] to delete all of them.
Now try installing the app via Xcode, if you keep the Show Provisioning Profiles window open you will see it install the ones for your app.
That did the trick for me. I could not trust the app since it was not in the profiles and this got it to launch just fine now. Best of luck!
I solved my problem by setting up Testflight internal testing through iTunes Connect. I can test my apps now.
Related
I have an iPhone on which until last evening was able to run an app without issue , my iphone is added to the developer portal and signing is set to auto in Xcode 9, and it was running fine. Since last morning I have started receiving error
A valid provisioning profile for this executable was not found
I can see the device is on developer portal , also I am able to install the app on other phone from Xcode 9 just fine. So clearly this is not developer portal related issue.
I have restarted / fully restarted iPhone a few times and also quite Xcode 9 as well, but doesn't seems to work.
How can this be solved ?
Never mind this was solved as follows,
Removed the derived data folder and removed the device from Xcode , restarted Xcode, and connected iPhone again , this time it reindexed the device and all worked just fine.
Fixed this issue by going to developer.apple.com/account > Certificates, IDs & Profiles > Provisioning Profile > Development, create or download an existing valid provisioning profile and double-click it. It should add the provisioning profile to the device you're using.
XCode 9.
If you are sure:
The provisioning profile was created correctly.
Added UDID (your iPhone / iPad) to devices category.
If manual import Provision Profile, but cannot build to your phone, then try to Check "Automatically manage signing" in your project > General > Signing
It work for me.
Maybe have a try of this:
1. Open the Keychain Application
2. Choose "Session" in the left panel
3. Try related keywords(your apple id, your team name, etc.) in the upper right search input, you can find all your certifications, some of them may expired, just delete them, and restart Xcode/ reconnect your device.
try to create the ipa by archiving it, and then installed it via itunes
I am trying to create a free provisioning profile on XCode for an app I am developing using Xamarin. But the Create button next to iOS development is not there:
Please help.
I had the exact same problem and here is how I fixed it:
First, Go to: this xamarin help guide
On there I skipped step 2,3,4 and went straight from 1 to 5.
Finish 5 and 6. Then your General->Signing page will have a status failed message.
Now, to fix that and before you get to step 7 make sure you have
your device selected at the top like this
Then proceed with the instructions on the Xamarin page from step 6 and to the finish, I did not bother going back to step 2,3 or 4, just skip those. Make sure you have the same info in your test app in Xcode as you have in info.plist in the .iOS project in Xamarin.
Now I have my Xamarin Forms app running from Xamarin studio on my device, select (Release | Iphone) and select yourself as a trusted developer in settings on your ios device if you run into that.
If you have already one developer certificate available at developer portal, then you can not create new. You have to revoke old one and then you can create new development certificate.
Open Developer portal and revoke development certificate and try again.
The main idea is to create provisioning in the apple developer account and import/download them in Mac or xcode and use them from there.
https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/AppDistributionGuide/MaintainingCertificates/MaintainingCertificates.html
I sent the build via Crashlytics to my customer, but he can't instal it (I added the UDID of his device to provision profile). I think, that the problem is because he didn't setup his device for development (because my build is developempent, not production).
For example when I open in my iPhone Settings and scroll down I see Developer string:
But my customer doesn't see this string in his iPhone. How can he enable this menu item? (he doesn't have app macbook, so he can't enable it with xCode)
I know much time has passed since the question was posted, but it appeared still actual for me. Posting the answer for XCode 9 that I have checked.
So to enable Developer item in settings on iPhone follow the steps:
Download and install Xcode on your Mac.
Open Xcode on your Mac.
Plug your iPhone into your computer.
Open your iPhone's Settings app.
Scroll down and tap Developer.
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.
I've got an app that my client reviews continuesly via an distrubited ad-hoc* (mailed x.ipa + x.mobileprovision file) on every major development step. This has work just fine until the mobileprovisioning profile was outdated in august.
But it was not possible to just "renew" it i Xcodes Organiser window. Read some related posts but not found any answers to this yet.
Known changes to my Dev. envoirement:
The only changes I know happend since my client got his last working ad-hoc beta (created in the exakt same way*) is;
Update to Mountain Lion on dev machine
Update to Xcode 4.4.1 from 4.3.x
Renewed my developer, provision and distribution outdated licenses in the Dev portal.
Done this:
In the betatesting profile (mobileprovision) I've made sure I included the client's iPhone UDID.
And I also doublechecked it via sedning an UDID-sending app in from the Store to the client.
Also created another small app, w the normal ad-hoc steps*, but it didn't install on the betatesters iPhones either.
The app "works" this far: it can be transfered via mail to betatesters iTunes > Syncing to testers iPhone > and seems to install on iPhone, but just as it finished installing (progressbar on app icon goes away), then the beta app gets taken away. Can't even be found via search on the phone.
= This tells me it's not the app itselfs that is wrong but rather something with my provisioning certs from Apple or the dev portal or my Xcode. But which or what is it?!
Taking away old outdated profiles in the Organizer.
Updated profiles in Organizer w the Refresh-button**.
Created new Betatesting distributionprofiles (x.mobileprovision) and used to in distribution of Archieves (ipa).
Of course restared Xcode and my dev mac a couple of times.
*(Build app > Archive > Distribute > Betatest provisioning profile (x.mobileprovision) + x.ipa mailed to client)
**Also related;
When hitting the Refresh button in Organizer, all my profiles are valid (green) but I get this strange message;
"Your team ha no devices for which to generate a provisioning profile. Please connect a device to use for development or manually add a Device ID using the Provisioning Portal" Https...."
As far as I can see, I've got my dev iPhone connected and "green" under Devices on the left side of the Organizer. It's also included in my profiles.
FYI:
All my profiles in the Xcode Organizer & Dev Portal, are "green" (ok).
Run my Dev mac on OSX ML10.8.1, Xcode 4.4.1.
Could anyone help out please?
Been at this for days now, tryied many things, but just can't get it to work. Client's getting frustrated to! Also seem like I'm not alone on this - others also seem to have this problem. Thank's :-)
P.s. Maybe should mention that the beta app works fine on my dev iPhone...
This topic is also on Apple Dev Forum: https://devforums.apple.com/thread/164981?tstart=0
SOLVED!
Will come back this weekend when I got more time and explain how and what was wrong in my Xcode and setup. Might be useful if someone else gets into the same frustrating trouble...
UPDATE w solution:
The solution to my problem described above was;
After a LOT of trail and error on this last week, I finally solved this.
1) Make sure you have the correct UDID in Xcode > Organizer > Devices.
Fetch your testers latest UDID . I used the free app "UDID Finder" that did just that nicely (http://itunes.apple.com/se/app/udid-finder/id384382012?mt=8).
Add / update the UDID's manually to the iOS Provisioning Portal online.
Then refresh your local Xcode > Organizer > Devices.
2) Make sure your provisioning & distribution profiles are up to date in the iOS Prov. portal.
Then refresh Xcode > Organizer > Devices > Library > Provisioning Profiles.
3) Check your Xcode > Build settings
In your App > Choose top/root row (the hole project) > TARGETS > Your App > Build Settings > Code Signing > Code Signing Identity;
Make sure "Debug" has "[b]iPhone Developer[/b] + you provisioning profile" chosen and
for "Release" has "[b]iPhone Distribution[/b] + your distribution profile" choosen. Also see example screendump attached.
A great link on the above (Apple Dev Forum); https://developer.apple.com/legacy/library/technotes/tn2250/_index.html
My ad-hoc distribution to betatesters now works just fine. Hope this helps others :-)
Conclusion:
I believe the cause of the problem was that Xcode 4.4.1 (and maybe also the Xcode 4.5DP?) by default have set the building settings to some "wrong" defaults for me, which prevented me from distributing ad-hocs to my betatesters via mail.