Fix Illustrator plugin loading on macOS#3
Merged
ByteBard97 merged 9 commits intoMay 11, 2026
Merged
Conversation
Fixes issue ByteBard97#1 — build fails without additional headers, and plugin fails to load in Illustrator 2026 with "Plugin issues detected". **Build fixes:** - setup-sdk.sh: guard trash call on fresh checkout (plugin/sdk/ may not exist yet, causing unconditional trash to error and abort) - IllustratorSDK.h: add 10 missing SDK headers needed by HandleManager and SuitePointers (AIContext, AIUser, AIUndo, AIMdMemory, AIMenu, AIMask, AITool, AIArtboard, AIDictionary, AIEntry) **Plugin load fixes:** - Info.plist / Info.plist.in: change CFBundlePackageType from ARPI to BNDL; remove CFBundleSignature and LSRequiresCarbon — all working Illustrator plugins use BNDL, and LSRequiresCarbon is a 32-bit Carbon-era key that modern macOS ignores or rejects - CMakeLists.txt: update PkgInfo content from ARPIART5 to BNDL???? to match the new bundle type - Plugin.cpp: make AINotifier suite acquisition non-fatal — a failure caused the plugin to return an error and trigger an infinite reload loop in Illustrator; plugin now continues without notifications if the suite is unavailable; all AddNotifier calls are guarded for null - HttpServer.cpp: bind to 127.0.0.1 instead of localhost — on modern macOS localhost can resolve to ::1 (IPv6 only), causing connections to 127.0.0.1:8080 to fail even when the server is running Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Owner
|
have you used NUXP to build anything? thanks for the fixes! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix the macOS plugin loading path so
NUXPPlugin.aiploads in Illustrator 2025 and 2026, using the smallest patch we could verify.What remains in the PR:
.rsrcgeneration pathBNDL127.0.0.1instead oflocalhostAINotifierSuiteacquisition non-fatal during startupWhat was intentionally removed from the broader fix attempt:
LSMinimumSystemVersionBNDL????PkgInfoCFBundleSignatureandLSRequiresCarbonPlugin.cppcleanup/refactor changes unrelated to the load fixTesting
Automated:
cd codegen && npm testcd demo && npm run type-checkManual:
GET /healthsucceedsBreaking changes
None.