compilation - My monotouch application refuses to compile for distribution with Array index is out of range -


i unable compile app in monotouch when select full enterprise distribution profile have setup. other profiles work ok.

to specific: when hit build button get

detecting signing identity...

0 errors 0 warnings, build failed. array index out of range

i guessing provisioning issue , have failed important.

there pointers on web adhoc ditribution builds no real documentation on full enterprise distribution.

i have following:

monotouch : enterprise edition

apple : enterprise membership, have installed corp certificate & dev user certificate , downloaded provisioning certificates dev, adhoc & enterprise , created app id.

i have spent 2 days scouring web similar problems have found nothing close. @ 1 point scrubbed profiles apple dev site , re imported them , resolved other issues having.

having full enterprise rights/certificate means not need udids, have sign life away prevent illegal ditribution. thing other plain missing on provisioning front udid's held in array in certificates , have none specified build errors out. (but shouldn't surely!)

if use adhoc distribution udid's specified in can load on machine.

any pointers received

i had similar situation.

"mtouch failed build". no other messages.

had go through tech support , found compiler bug , sent me patch particular case. assume come out in next release.

however, did learn 2 things along way may you.

a) in case problem went away if changed "linker behavior" setting project. project-> [project] options -> build -> iphone build -> linker behavior

try available options. see if makes difference.

b) on same iphone build options page can enter "-v -v -v" "extra arguments setting. check build output after compiling. there may additional details.

finally, pulled hair out few days error similar yours. in end compiler bug. novell quite quick identify , fix bug. maybe log them , see happens.

good luck


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -