Copy link to clipboard
Copied
Dear Friends,
I create new sample plugin project for CC 2017 in XCode Version 8.2.1 (8C1002) with Adobe Illustrator CC 2017 SDK.
Sample Plugin paste in plugin path.
Plugin couldn't load in CC2017.
I checked it in Attached to process.
Even it can't call function "ASErr PluginMain(char* caller, char* selector, void* message)"
I have been attached project link
https://drive.google.com/drive/folders/0B5hzexFKWLJDZ0xURzVzcWhSb0E?usp=sharing
Please give Your Suggestion to solve this Problem.
Thanks,
Sandy.
Copy link to clipboard
Copied
Do you get the plugin failed to load error when you start Illustrator? If you run Illustrator from Xcode or from a terminal window, do you see any more information in the console/terminal window?
Copy link to clipboard
Copied
Dear friend,
No, I didn't get the plugin failed to load error when I start illustrator. And I run illustrator from XCode only. I didn't see any information in console window.
Did my source project compile for you?
I couldn't predict what's wrong in my project.
Please give Solution...
Thanks,
Sandy.
Copy link to clipboard
Copied
Sounds like Illustrator cannot see your plugin. You said "Sample Plugin paste in plugin path". Which folder did you copy your plugin to? Have you built any plugins before that have worked?
Copy link to clipboard
Copied
I copied plugin in ”/Applications/Adobe Illustrator CC 2017/Plug-ins”.
Yes, I build sample project “FreeGrid” in Adobe Illustrator CC 2017 SDK, its worked.
Copy link to clipboard
Copied
You said "I run illustrator from XCode only", but before that you said "I checked it in Attached to process". So do you start Illustrator from Xcode or do you start it outside Xcode and then attach to the process?
Copy link to clipboard
Copied
Sorry!!!
I run it outside Xcode and then attach to the process.
I have been attached aip file link kindly check it.
Copy link to clipboard
Copied
By the time you attach to Illustrator your plugin has probably already failed and you have missed any useful output. I don't have access to a Mac at the moment so I can't check your aip file. Edit your Xcode project scheme to set Illustrator as the Executable and then start Illustrator from Xcode with a breakpoint in PluginMain.