01-19-2021, 01:31 PM
Thanks, Garrett, for the update for 25.1. The new script for handling resources looks interesting, but I have to admit to being a little overwhelmed by it right now. I think I have a simple workaround, at least for now.
- Install the 0.7.7 update and copy an 0.7.6 project into its corresponding location (I just use the Samples folder).
- Copy the file "plugin.pipl" from the Tool sample Resources folder to my plugin's Resources folder.
- Open my plugin's copy of plugin.pipl in a text editor and change "ToolSamplePlug" to my plugin name, as indicated in the Resources.r file. Save and close the file.
- In Xcode, go to the Build Phases for either AI 25 target in ToolSample.
- Under Run Script, select and copy line 1: mkdir "$INSTALL_DIR/$FULL_PRODUCT_NAME/Contents/Resources/pipl" 2> /dev/null
- Paste into the corresponding Run Script in your plugin.
- Repeat for line 4 in Run Script: cp "$PROJECT_DIR/../Resources/plugin.pipl" "$INSTALL_DIR/$FULL_PRODUCT_NAME/Contents/Resources/pipl/"
- Do this for both the debug and release versions.
- Build and run.