sublime-ti-build icon indicating copy to clipboard operation
sublime-ti-build copied to clipboard

Error building for ios app store

Open Bradleycorn opened this issue 10 years ago • 1 comments

I can build for android (devices and distribution), and ios (simulator). I tried buiding my project for ios-distribution and I get the error below. I can build the same project in Ti Studio for ios distribution with no issue. I go through the build option, selecting my cert and provisioning profile, and after selecting my distribution profile, the following error is logged in the console:

Traceback (most recent call last):
  File "./Titanium.py", line 334, in select_ios_profile
    options.extend(["--distribution-name", "\"" + self.cert + "\""])
TypeError: cannot concatenate 'str' and 'list' objects

I tried a bit of debugging, but I'm a novice python developer, so I'm not real sure what I'm looking at. It appears that self.cert is a list for some reason, I added a debug line to concat and print the contents of self.cert, using print ', '.join(self.cert) and all it outputs is the name of my distribution certificate (no commas, and no additional strings). So it seems that for some reason self.cert is a list with one item, as opposed to a string. not sure what I'm doing wrong? Any help would be appreciated.

Bradleycorn avatar Feb 24 '15 16:02 Bradleycorn

I believe I have fixed this issue. A pull request has been submitted.

Bradleycorn avatar Feb 26 '15 16:02 Bradleycorn