App stuck on installing ipa from iTunes - ipad

Since moving to ios7 I am unable to distribute my app to my iPad using the ipa and provisioning profile (the same ones that worked just before I upgraded to ios7 do not work either).
This is what I have tried:
Remove all profiles from iPad
Deleting existing app from iPad and iTunes
Add ipa and prov profile to iTunes
Reinstalled app from iTunes
The app installs on the iPad saying 'installing' until it appears to have loaded and the app name is shown below the icon. However in iTunes it still says 'installing' and never changes to 'remove'.
If I then unplug the iPad and tap the app to start it it reverts back to 'installing' and then nothing else happens.

You most likely built your archive with an App Store provisioning profile instead of an Ad-Hoc Provisioning profile

Here are the steps that seemed to fix the problem for me:
Deleting all profiles from device (iPad in my case)
Settings - General - Profile
delete any relating to your app
Deleting all profiles from iTunes on iMac
Finder - Library (GO with ALT pressed displays this) - Mobile Device - Provisioning Profiles
delete all provisioning profiles you see here. This is where Xcode sees any when choosing your profile.
In Xcode - in both Projects and Targets
Set all code signing to None
Archive your project - in Xcode Product - Archive
You will be told no profiles exist - choose Fix Issue. Your provisioning profiles will be downloaded into the Library - Mobile Device - Provisioning Profiles (the folder we previously cleared.) In future these will be your options when setting your Project and Target code signing.
In Organiser
Export your archived product and choose the team Profile (or any that have been downloaded) as code signing.
Drop the ipa into iTunes and install.

For Ad Hoc provisioning - check the device UDIDs.
We used an app called UDID+ to get the device UDIDs. Don't! The app gives you the wrong UDID with iOS7.
Apple's developer site accepted the faulty UDIDs and everything proceeded normally until the issue described above occurred. It took a looong time and lots of starting from scratch to figure that one out.

I had the same problem. I had archived with the wrong code signing identity selected in XCode. Changing that and creating a new archive solved it straightaway.

I just did 'clean' and 'build' in the xcode product menu (then archive, export ipa, etc) and it works now.

I had a similar issue and turned out the reason was because I was trying to distribute an .ipa file without first adding the recipient device UDIDs to my developer account settings. It used to be possible in some earlier iOS versions to distribute an .ipa without adding the UDIDs but apparently not anymore. More info here: https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/TestingYouriOSApp/TestingYouriOSApp.html
And I also needed to change the code signing settings from Xcode from "iPhone developer" to "iPhone distribution".

Related

Failed to create provisioning profile for uploading app to store

Ok I have created a ios app that was working fine and running in the simulator.
I am now looking to upload it to the app store.
My boss has created a developer team and add me as a admin.
When I try to create an archive (I have the scheme set to generic ios device) now I get
Failed to create provisioning profile.
Showing Recent Messages
:-1: No profiles for '****.*****' were found: Xcode couldn't find any
iOS App Development provisioning profiles matching '*****.******'. (in
target '******')
There are no devices registered in your account on the developer
website. Plug in and select a device to have Xcode register it.
on the Apple developer website I have gone to
Certificates, Identifiers & Profiles and added Development certificates
What else do I need to do? Note I don't have a iphone or ipad to provision.
I was only testing in a simulator and was then going to upload to the store.
I am new to xcode. Sorry if this is simple.
Thanks
Have you tried manually assigning provisioning profiles rather than letting XCode automatically sign your project?
You can do this by deselecting "Automatically manage signing" and
manually selecting provisioning profiles.
Also ensure that you Download the profiles you create on your Apple Developer account to XCode.

Xcode 8.0 - App Installation Failed - The executable contains an invalid signature

Made an app called MyFirstApp in Xcode 8.0 and I was ready to test it on my iPhone 6s. Plugged it in with the lightning cable it came with and pressed Window > Devices > iPhone 6s. Went down to the Installed Apps section pressed the + and selected the built application. Received the error "App Installation Failed - The executable contains an invalid signature."
Under the general tab for the app project I have "Automatically manage signing" checked with my name selected as the Team.
Provisioning Profile: Xcode Managed Profile
Signing Certificate: iPhone Developer (my name) (############)
Tried Product > Clean and Product > Build.
It feels like I'm doing something wrong, but I don't know what my options are for fixing this. I'm building this in Swift 3 if that matters.
ok I somehow stumbled across a fix.
Product > Destination > my iphone.
Then I pressed the run button. It asked if I wanted to add my phone as a valid developers device. After pressing yes, it then asked me 700 times to validate the app was ok to place on the phone.
Very strange I couldn't just press to send the app to the phone, but this works. If anyone has anything to add please do. This was a very confusing process for me.
This error indicates that an App Store distribution provisioning profile was mistakenly used to sign the Ad Hoc build. Please note that builds signed with an App Store distribution provisioning profile cannot be installed onto development or testing iOS Devices; they can only be submitted to iTunes Connect for App Review. To resolve this issue, sign the app with an Ad Hoc distribution provisioning profile instead.
https://developer.apple.com/library/content/technotes/tn2319/_index.html#//apple_ref/doc/uid/DTS40013778-CH1-ERRORMESSAGES
I have cleaned, rebuilt, uninstalled and reinstalled the app again. It fixed the problem for me.
I installed AppSync Unified from Cydia and it worked. However, this method requires a jailbreak.

"No matching provisioning profiles" when Submitting App to App Store in XCode 7.3

I have been trying to submit an update to my app in the app store and for the past 12 hours. I keep encountering this message in Xcode 7.3.
I have deleted all distribution provisioning profiles, recreated them, remade my app ids, removed them from xcode, re-downloaded them to xcode etc... I keep getting this message. The app is already in the app store. Any suggestions on what I can try? Building the app is easier then submitting the app. Thanks for any assistance
I have this error before and solved it by simple steps:-
1-xCode->Preferences->Accounts choose your Apple developer account-> View Details> right click on provision profiles and choose show in finder and delete all provision profiles.
2-Remove your Developer account.
3-Remove all Certification from Key Chain access.
4-Restart your Mac.
5-Check your certifications and provision profiles in your Apple Developer Account and be sure its working correct.
6-Open your xCode and add your Developer account and be sure that you download all provision profiles.
7-Restart your Mac and open xCode again and push your App to iTunes Connect.
I hope I help you.
I'm not sure if this is the right way for doing it, but I also had this problem when trying to submit an app with a watch kit component. What I did was create different provisioning profiles for each target.
1) The provisioning profile that you already have for your actual app.
2) Provisioning profile for the WatchKit target.
3) Provisioning profile for the WatchKit Extension.
I added all three of these to the Xcode project and went to the Build Settings tab for each target to set the provisioning profile for each target separately. Then I was able to submit my app without any warnings or errors.
Nothing worked for me except the following simple solution. What resolved the issue was manually setting Provisioning Profile for Debug and Release to the appropriate values, as opposed to choosing Automatic (i.e., set values to your development and distribution provisioning profiles) for each of my targets. I did this for the main app, today extension, watchkit extension and watchkit app. After that all works as expected. Thanks for everybody's contribution.

Xcode 7.1 complains about adHoc provisioning profile for iOS

I've upgraded to Xcode 7.1 with no updates in the adHoc provisioning profile I was using. Now, when I archive and export the adHoc binary, I get a warning in Xcode saying that some of the devices I have registered in my account are not in the provisioning... I don't undestand that, the warning mentions devices that I don't want to be included in the provisioning, so I didn't included them.
The provisioning was working in Xcode 7.0.1 before I upgraded, has somebody also found this issue?
Thanks
Really not, but, for many reasons I re-update the provisioning. Go to your Program page, edit your provisioning to "re-create" it.
In Xcode then, through "Preferences->Accounts" select your account and then "View details" to make sure Xcode downloads them for you.
Remember, as you probably already know, that you need to re-select the provisioning in the "Build Settings" tab for each configuration of your project/targets because they are now new.
Unfortunately ad-hoc provisioning became to me useless because TestFlight is now part of the Apple iTunes Connect and I have no https website to store my certificates and bundles into...
Hope this info help

ios - what is the right code signing configuration for an Ad-Hoc build meant to be transfered from itunes to device?

I am learning how to create an ad-hoc version of the app so that I can put it on my local iTunes and from that, to transfer it to the device.
I created a distribution provisioning profile and named it Production Provisioning AdHoc. Then I added the device I am testing on to that profile. Then in code signing, for the distribution setting, I set it to that provisioning profile, but what should be the develop setting? Does that matter?
The problem I am experiencing is that when I archive my project and distribute it as AdHoc, I am able to see the app in iTunes, but when I do the sync and apply to transfer it to the device, even though iTunes says the app is on the device, the app never gets installed on the device.
Please help me understand what I may be doing wrong and how to fix it. I have been stuck on this since yesterday.
Thanks,
Alex
Not sure about iTunes allow .ipa transfer or not. But you can use Xcode to transfer .ipa to device.
Here is steps to install .ipa to your device.
« Open Xcode->Window->Organisor.
« Click on devices tab
« Drag your .ipa to your device listed in side bar.

Resources