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

Cmake generated JamomaMax Xcode project cannot be parsed and fails to open #913

Closed
lossius opened this issue Sep 4, 2015 · 6 comments
Closed
Assignees
Labels
Milestone

Comments

@lossius
Copy link
Member

lossius commented Sep 4, 2015

Steps to reproduce:

From the root of JamomaMax:

  1. Make a folder named build/Xcode-projects

  2. $ cd build/Xcode-projects

  3. $ cmake -GXcode ../../

  4. Open the JamomaXcode project. This leads to the following error message:

    Project /Users/lossius/dev/Jamoma/JamomaMax/build/Xcode-projects/JamomaMax.xcodeproj cannot be opened because the project file cannot be parsed.

Likewise the source/MaxExternals Xcode project gives the follosing error:

Project /Users/lossius/dev/Jamoma/JamomaMax/build/Xcode-projects/source/MaxExternals.xcodeproj cannot be opened because the project file cannot be parsed.

Further down in the subfolders for each external some Xcode projects open as expected, and some won't. E.g. j_tilda won't open:

Project /Users/lossius/dev/Jamoma/JamomaMax/build/Xcode-projects/source/j_tilda/j_tilda.xcodeproj cannot be opened because the project file cannot be parsed.

The Xcode projects in the JamomaCore subfolder all seem to be fine.

@lossius lossius added this to the 1.0/build milestone Sep 4, 2015
@tap
Copy link
Member

tap commented Sep 9, 2015

The error in generated xcode file is this line:

PRODUCT_NAME = j~;

Seems like that needs to be in quotes. I tried a few things but I couldn't get it to work. Maybe @avilleret has an idea?

@lossius
Copy link
Member Author

lossius commented Sep 10, 2015

Alternatively: Could we just ditch that object? Didn't we agree that it was not such a great idea after all as we have limited abilities of exposing attributes properly in the Max environment?

@lossius
Copy link
Member Author

lossius commented Sep 10, 2015

Assigning to @tap to hit the delete button...

@theod
Copy link
Member

theod commented Sep 10, 2015

I've already had this error ! I used to replace each ~ by _tilda (like the folder name).
but I don't know how to do this automatically.

@avilleret
Copy link
Contributor

I was working on that this morning.
I just saw your message now.
I already push a fix in 807b19f

I let you try it and merge the fix if needed

@lossius
Copy link
Member Author

lossius commented Sep 10, 2015

Seems like @tap beat me to it. It works here now, thanks a lot!

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

No branches or pull requests

4 participants