Hi all,
i am trying to add an indesign project template to xcode 4.2. I read and try almost all and nothing is working for me. I was trying to go step by step as getting started pdf from adobe shows, but its targeted for xcode 3.x, so any luck here... I am not able to sucessfuly run even dollyxs from terminal, it just generate empty txt file. Could anyone tell me please or shows link how to add indesign template to xcode 4.2???
thanks in advice
Hi, every sdk has its C++ IDE requirements, see the porting-guide.pdf. For cs5.5 sdk the requirements are:
On Windows®, the required C++ development environment is now Visual Studio 2008 with Service Pack 1 and Microsoft® Windows XP Service Pack 2 or higher.
On Mac OS®, the required C++ development environment is XCode 3.1.3 and Mac OS X 10.5.x.
Everything works out of the box with the requiered environment and the only tip you can get in this forum is to fix the requierements first.
//A
Hi,
thank you for your answer, I read about requirements, but unfortunately my mac book is running on Lion (mac os x 10.7.2) and xcode 4.2 and by apple polici downgrade isnt posible. So there must be a way how to achive non problem plugin development... I doubt that everyone who is developing on mac has that archaic operating system and xcode... so my requirements couldnt be fixed...
Sorry about that, but you will need XCode 3 to compile plug-ins. Search the web for tutorials on how to install XC3 on Lion, or -- probably the best way -- buy Snow Leopard, reinstall your MacBook and install XC3 there. If you need Lion, just upgrade from Snow Leopard. XC3 will continue working on Lion then.
//A
You can install XCode 3 under Lion, it's easy.
See http://anatomicwax.tumblr.com/post/8064949186/installing-xcode-3-2-6-o n-lion-redux
but basically just:
export COMMAND_LINE_INSTALL=1
open "/Volumes/Xcode and iOS SDK/Xcode and iOS SDK.mpkg"
Thank you,
right now Iam reading getting started and there is on page 25 tutorial, how to add sdk project template for xcode... I have some questions about that:
- point 4. could I enter path to hard drive folder, where I placed whole copy of InDesign sdks? When the window "select directory to use as the project root" didnt appear, what should I do? Is it possible to set this path in build settings of project?
- point 6 Iam not sure, that where I should place my project file...
- point 7 (didnt get there yet)...
Thank you for any answers.
Ondrej
Hi all,
so finally I have made all steps the right way. Everything is ok, but when Iam trying to build my sample, error:
"DontDeadStrip()", referenced from:
PlugIn::~PlugIn()in libPublicPlugIn.a(PlugIn.o)
PlugIn::~PlugIn()in libPublicPlugIn.a(PlugIn.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
pop up. How it is possible, that this method is missing?? Could anyone suggest correction? ![]()
THX
Please check if the XXXNoStrip.cpp that has the definition of this method is included in the target that you are trying to build, or in fact if the file has been added to the project or not.
This seems to be a linker error caused because the linker is not able to find the definition of the method "DontDeadStrip". Add the file to the target you are building and hopefully the problem will be fixed.
Manan Joshi
- Efficient InDesign Solutions -
MetaDesign Solutions
http://metadesignsolutions.com/services/indesign-development.php
Hi Ondrej,
i am trying to create custom plugin for Indesign . i downloaded the sample projects and configured x code .i am able to complie and run the sample plugin project but i found no result/output in indesign application . i am just helpless, can you help me
Hi suren_tringer,
the first thing that you must set TARGET_BUILD_DIR to your indesign plugin folder. This setting is in Debug/Release setting of targets.
If you want to start your indesign automaticaly from xcode you need to create custom executable pointing to indesign file.
North America
Europe, Middle East and Africa
Asia Pacific