5

I've been develoming an app and is at a stage now where i want to make other ppl able to tst out my app. I've created a Ad Hoc provisioning profile and build an .ipa file with archives. After that i added the .ipa file to iTunes apps library and sync'ed iTunes with my iPhone. After this i look at my phone and the app is grayed out and if i press it it writes installing, but never gets done installing.

I've tried to recreate my certificat + profile + ipa file. And i did uninstall the debug app that was on my device, before i transferred the one with a ad hoc profile.

Ov, and as a side note the app works 100% if i just build a release build through xCode, and use xCode to transfer it, but i NEED that .ipa file so that solution wont cut it for me.

What am i doing wrong here, plzzz help?^^

SOLUTION: Don't use " "(space) in the file name of the .ipa file

user2408952
  • 2,011
  • 5
  • 24
  • 26

2 Answers2

3

Are you 'distributing' the application and saving for ad-hoc/enterprise deployment ? The chances are the provisioning profile you created doesn't have the device UDID in it. Check on the dev portal that your ad hoc profile has that device included.

CW0007007
  • 5,681
  • 4
  • 26
  • 31
  • Isent the point of AD hoc that you dont need an UDID? so everyone can test your app? – user2408952 Jan 07 '14 at 14:07
  • That's only with Enterprise Distribution. Which is a separate £200/Year subscription. – CW0007007 Jan 07 '14 at 14:09
  • no adHoc let you have 100 UDIDs no more. if you want an unlimited number, you can use in-house distribution, but this is an other topic :) – Red Mak Jan 07 '14 at 14:09
  • If i look under devices in my AD HOC profile theres one called iPhone 5 – user2408952 Jan 07 '14 at 14:09
  • Is it ticked ? and is that the device you are trying to install the app on ? – CW0007007 Jan 07 '14 at 14:11
  • Yes its ticked and yes its an iPhone5 im install it on – user2408952 Jan 07 '14 at 14:12
  • So when you archive it in Xcode have you got this provisioning profile selected in the build settings ? – CW0007007 Jan 07 '14 at 14:14
  • Try installing the iPad using the iPhone Configurator application, This may give you a more specific error. – CW0007007 Jan 07 '14 at 14:14
  • yes i got my AD HOC profile selected, ill try iPhone Configurator application – user2408952 Jan 07 '14 at 14:17
  • This version crashes under mavericks when trying to install applications. An alternative is to open Xcode organiser and drag the iPad to the applications option under the connected device. – CW0007007 Jan 07 '14 at 14:20
  • If i drag and drop the .ipa to the iPhone in organizer it copy's it when its done it says "A signed resource has been added, modified or deleted." after i click ok to the warning the app is not copyed at all:( – user2408952 Jan 07 '14 at 14:27
  • Not sure what's going on, it's a rather convoluted process provisioning. My suggestion would be to delete all profiles/certificates and start again from fresh...? – CW0007007 Jan 07 '14 at 14:33
  • I might be on to something look at this http://stackoverflow.com/questions/17847777/a-signed-resource-has-been-added-modified-or-deleted-during-installation-of-my like he got a team profile with * i do to – user2408952 Jan 07 '14 at 14:37
  • hmmm the first error in the console is now clear when im not using itunes so here it is: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app. – user2408952 Jan 07 '14 at 14:45
  • I've startd a new post to try to get an answer to this error i found. Thx for all the help even though it dident work, it was still a little help to get me moved on to this new error:( – user2408952 Jan 07 '14 at 15:13
  • That * just indicates a wildcard so you can use the same provisioning profile for lots of different apps. This can't be done if you're using app specific permissions, push notifications etc ... – CW0007007 Jan 07 '14 at 15:17
  • the kCFBundleIdentifierKey is an error caused if you edited the Bundle Identifier property in the app.plist to an invalid one. – CW0007007 Jan 07 '14 at 15:17
  • Thing is i havent edited my bundle^^ I've tried to though just to see what will happen. When i do i get a compile error that the bundle ID isent matching the profile – user2408952 Jan 07 '14 at 15:30
  • App ID is GolfBox Golfers DK (dk.golferportal.golfersDK) – user2408952 Jan 07 '14 at 15:33
  • Bundle ID in xCode: dk.golferportal.golfersDK – user2408952 Jan 07 '14 at 15:36
  • Not really sure, has to be the provisioning profile... Try and re create it from scratch ... – CW0007007 Jan 07 '14 at 15:46
  • Okey all this fuss was all because i used " " (space) in the .ipa file name – user2408952 Jan 07 '14 at 21:46
  • So it's working now ? That shouldn't make a difference ... oh well. Glad you got it sorted. – CW0007007 Jan 08 '14 at 08:40
0

If you instal the app from xCode and you can see the log in the console debugger, that's mean that you are not in "distribution" mode but in debug mode. Verify your provisioning profile and the build mode.

Red Mak
  • 1,176
  • 2
  • 25
  • 56