appersonlabs / MakeTi

This repo is no longer supported and exists only for the sake of reference. Please use the new Titanium CLI
http://blog.mattapperson.com
186 stars 35 forks source link

Deploy isnt working #25

Closed Psiiirus closed 12 years ago

Psiiirus commented 12 years ago

HI, i tried to make an deploy to my iPhone but it give me an odd error for example it strips out the U out of my developer Profilename for no reason and after that it can not build couz of an error pls see below.

Hope u can have a look soon? :)

Toni

  1. Step SHELL make deploy

Please re-run the build command using a 'cert' flag, with the value set to the index of one of the certs below... [0] Toni Grski (XXXXXXXXXX)


  1. Step SHELL make deploy cert=0

[BEROR]Code Sign error: The identity 'iPhone Developer: Toni Grski (XXXXXXXXXX)' doesn't match any valid certificate/private key pair in the default keychain

mattapperson commented 12 years ago

I will take a look ASAP but first, what OS are you using? what Ti SDK, and what version of Xcode?

Psiiirus commented 12 years ago

Cool

OS : 10.7.2 SDK 1.8.1 Xcode : 4.2.1

mattapperson commented 12 years ago

and what version of Xcode?

Psiiirus commented 12 years ago

Xcode : 4.2.1

euwyn commented 12 years ago

Same issue here. Strips out the 'u' in my name. Really weird.

mattapperson commented 12 years ago

Should be fixed in the latest push

Psiiirus commented 12 years ago

Hi, unfortunately its not fixed for me ...the "u"-problem is gone but it still gives me that message :

[ERROR] [BEROR]Code Sign error: The default keychain doesn't have an identity matching the profile 'Need adhoc' and identity 'iPhone Developer: Toni Gurski (XXXXX)' [ERROR] [ERROR] Error: Traceback (most recent call last): File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/builder.py" line 1440 in main execute_xcode("iphoneos%s" % iphone_version args False) File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/builder.py" line 1200 in execute_xcode output = run.run(args False False o) File "/Library/Application Support/Titanium/mobilesdk/osx/1.8.2/iphone/run.py" line 39 in run sys.exit(rc) SystemExit: 65

Does it maybe need permissons to read my keychain or something like that?

mattapperson commented 12 years ago

are you sure the prov profile your using works with the dev cert you selected?

Psiiirus commented 12 years ago

it just gives me one cert...so i guess : yes ^^ ...and i also have only this cert installed into my keychain

mattapperson commented 12 years ago

Right, but is the cert you have installed the one that goes with the prov profile your using?

Psiiirus commented 12 years ago

should be ...its the one i'm using for building the app with TiStudio

Psiiirus commented 12 years ago

i just realized it did not recognized my "Distribution Profile" only the "Development Profile" ....and the Adhoc Prov-Profile is obviously not compatible with it ;)

Psiiirus commented 12 years ago

check