カスタム コントロールとそのための IB プラグインを作成しました。プラグイン プロジェクトのカスタム実行可能ファイルとして IB を使用してプラグインを実行すると、すべてがチャンピオンのように機能します。しかし、フレームワークとプラグインを「通常の場所」にコピーし、そのテスト アプリを作成してシミュレーターを実行すると、シミュレーターから戻った後に IB がクラッシュします。Web とドキュメントを精査しましたが、これらの方法については何も見つかりません。私が見逃しているものは何か分かりますか?(ちなみに、フレームワークは /Library/Frameworks にあり、プラグインは /Developer/Platforms/MacOSX.platform/Developer/Library/Interface Builder/Plugins にあります)。IB のクラッシュ レポートのスタックは次のとおりです。
アサーション メッセージ: 「IBResizeActionInitialFrame」キーのオブジェクトがありません。
バックトレース:
0. Interface Builder 0x00004d29 [IBApplication handleAssertion:inFile:onLine:]
1. InterfaceBuilderKit 0x002c74ee [IBLibraryController createDetailedDescriptionFromTemplate:]
2. InterfaceBuilderKit 0x003aad22 [NSView lastResizeAction]
3. Foundation 0x90b98a7a [NSNSObject valueForKey:]
4. Foundation 0x90bc65fa ]
5. InterfaceBuilderKit 0x0043cec6 [IBResourceManager ドキュメント]
6. InterfaceBuilderKit 0x0043d6f9 [IBResourceManager ドキュメント:willSynchronizeWithProjectFiles:プロジェクト:]
7. InterfaceBuilderKit 0x002dfdae [IBDocument willSynchronizeWithProjectFiles:プロジェクト:]
8. InterfaceBuilderKit 0x002df00a [IBDocument beginSyncingWithXcodeIfNeeded]
9. Foundation 0x90baa22e [NSRunLoop runMode:beforeDate:]
10. CoreFoundation 0x932d6b25 CFRunLoopRunSpecific
11. CoreFoundation 0x932d6cd8 CFRunLoopRunInMode
12. HIToolbox 0x92f622c0 BlockUntilNextEventMatchingListInMode
13. HIToolbox 0x92f620d9 BlockUntilNextEventMatchingListInMode
14. HIToolbox 0x92f61f4d BlockUntilNextEventMatchingListInMode
15. AppKit 0x95229d7d _DPSNextEvent
16 . AppKit 0x95229630 [NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
17. Interface Builder 0x0000276b [IBApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
18. AppKit 0x9522266b [NSApplication run]
19. AppKit 0x951ef8a4 NSApplicationMain
20. Interface Builder 0x00004eca [IBApplication changeInspectorMode:]