Why does not work multiple plugin

I tested(Project Files) it by adding only the sentence

<key>Principal Classes</key>
<array>
	<string>____PluginClassName____</string>
</array>

to the file “list.pinfo” of General Plugin, one of the Glyphs plugin SDKs.
But it doesn’t work.
Please let me know what is the problem.

[FIle “info.plist”]

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>en</string>
	<key>CFBundleExecutable</key>
	<string>plugin</string>
	<key>CFBundleIdentifier</key>
	<string>com.____Developer____.____PluginClassName____</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>____PluginName____</string>
	<key>CFBundleShortVersionString</key>
	<string>____BundleVersionString____</string> <!-- 1.0 -->
	<key>CFBundleVersion</key>
	<string>____BundleVersion____</string> <!-- 123 -->
	<key>UpdateFeedURL</key>
	<string>____OnlineUrlToThisPlist____</string>
	<key>productPageURL</key>
	<string>____ProductPageURL____</string>
	<key>productReleaseNotes</key>
	<string>____LatestReleaseNotes____</string>
	<key>NSHumanReadableCopyright</key>
	<string>Copyright, ____Developer____, ____YEAR____</string>
	<key>NSPrincipalClass</key>
	<string>____PluginClassName____</string>
**  <key>Principal Classes</key>**
**	<array>**
**		<string>____PluginClassName____</string>**
**	</array>**
	<key>PyMainFileNames</key>
	<array>
		<string>plugin.py</string>
	</array>
</dict>
</plist>

The words with quadruple underscores are just placeholders. You need to replace them with your own plugin names.

Thanks for the comment.
I understand your comment well.
The original without the paragraph

<key>Principal Classes</key>
<array>
	<string>____PluginClassName____</string>
</array>

fine,
so I expected my project with the paragraph

<key>Principal Classes</key>
<array>
	<string>____PluginClassName____</string>
</array>

to work too, but it doesn’t.

To make it as easy to understand as possible, I tested it without modifying the original.

That needs to be the name of the principal class in python.py.

Can you tell me what you are trying to achieve? And please paste the actual code you are trying, not the placeholders.

Test step.

  1. Original Project Download(Click to download) and Install => OK
    “My General Plug-in” menu appears in the “EDIT” menu of Glyphs.
  2. Modify(Click to jump to reference forum) “list.pinfo” (Click to download modified my project) => BAD
    Only add the following paragraph to “list.pinfo”:
        <key>Principal Classes</key>
        <array>
        	<string>____PluginClassName____</string>
        </array>