Start with XCode and MaxSDK
I'm interested in making externals on XCode with basics knolage of C and a Book written by Mr Lyon.
so I downloaded MaxSDK-6.1.4. and XCode 6 which is a new environement for me.
I didn't do any installing procedure for MaxSDK, it's somewhere in my documents, however I can compile the exemple files and use them in max.
But when I want to creat an object from an empty XCode Project, I cant even event press the compile button. It's a problem of using XCode, and the documentation doesn't seem clear to me, at least it doesn't tell me what I am realy looking for.
- Is there a installing procedure to install MAXSDK?
- Can someone send me an XCode template that makes an external which doesn't do any thing (almost empty main file), or explain how to configure an XCode projets for Max externals with very simple words
Thanks for helping ;)
You can't install the SDK, it's just a bunch of files structured in a specific way (to put it very simply).
The reason why a blank xcode project doesn't work is because it doesn't know where to find the Max SDK files. The best way is to copy a project from the Max SDK examples and make sure that the relative file paths are still the same. You can also fix the file paths yourself, but I wouldn't bother.
I decided to work directly in the SDK directory and to create my own folder where my project sits:
~/MaxSDK-6.1.4/myprojects/mycategory/myexternalfolder/myexternal.xcodeproj
Then I copy "Info.plist" and "maxmspsdk.xcconfig" to the "myprojects" folder (you can find them in the "examples" folder in the Max SDK). That way I guarantee that the relative file paths to the SDK files are the same for my projects as they are for the example projects.
Hope that gets you started. Good luck and have fun!
Matthias
thanks (I just realized you answered),
I finally do the way you are advising. The point is that I like to start from an empty project and understand all what's going on. But the easy method also works :)
Nicolas