adhoc app installation failed in iPhone , why?
Looks as though your provisioning profile is duff in some way. Here's now I normally work around the problem:
- Delete your whole build folder. Clean All should do this for you but does seem to leave bits behind from time to time
- Check the device ID in the Developer Center. Edit it if you need to.
- Download the profile again.
- Install the profile again.
- Quit Xcode and reload.
- Make sure you've set Xcode to use the new, ad hoc profile rather than your developer profile, for the Code Signing Identity of the configuration you will be using for the archive.
- Build
- Take a copy of the executable straight away
It would be neat if there was some way of finding which step went wrong, but until that happens it's usually best just to start from scratch unless you have very patient (or local) testers.
Application Failed to Launch in Time
You're probably doing a lot of setup work in your AppDelegate's application:didFinishLaunching method.
You should make sure this function exits as soon as possible. Any setup-work that takes time (network access for example) should be done asynchronously in your application. While this is going on, you can show a spinner to indicate to the user that the application is loading.
Ad-hoc distribution fail
Check the mime-type configuration in the web-server. You need:
application/xml
for the .plist
file, and
application/octet-stream
for the .ipa
file.
Ad hoc distribution: failed to install app
Couple of things to try out:
- Check that the UDID you added to the portal is ticked for use under the AdHoc provision. When adding a new UDID it's possible to forget to manually update the provision profile with the new UDID.
- Don't create the link yourself and don't use a plist. Just drag the ipa you created to a site like http://www.diawi.com/ and share that link with your tester.
Good Luck
Related Topics
Is History API Broken on iOS? (Location Bar Doesn't Update on Pushstate)
Fix Cursor Size for Modified Paragraph Spacing in Uitextview
Error | [Ios] File Patterns: the 'Source_Files' Pattern Did Not Match Any File
Background Image Not Displaying Correctly in iOS
Sync Video in Avplayerlayer and Avplayerviewcontroller
How to Get HTML5 Video Thumbnail Without Using Poster on Safari or iOS
Uiviewrepresentable Automatic Size - Passing UIkit UIview Size to Swiftui
How to Sort Core Data Array Based on Date Entered
How to Implement a "Rate Us" Feature in a Phonegap App
Conversion from String to Date in Swift Returns Nil
Proper Sequence to Get Registration Token for Gcm Push Notification on iOS? Is Gcm Unreliable
Xcode Reference a Framework Instead of Link Binary with Libraries
Map Object into 2D Array Swift for Tableview Sections
Hls Video Streaming on iOS/Safari
Allow Zooming Within Iframe But Not on Page in iOS
How to Detect If The HTML5 Autoplay Attribute Is Supported
Svg Viewbox Height Issue on iOS Safari
Duplicate Collectionview Cells After Reloaddata with Firebase Query