Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error building for ios app store #39

Open
Bradleycorn opened this issue Feb 24, 2015 · 1 comment
Open

Error building for ios app store #39

Bradleycorn opened this issue Feb 24, 2015 · 1 comment

Comments

@Bradleycorn
Copy link
Contributor

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
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant