2
我有一個主項目App
,其中包含旨在安裝在AppBundleDirectory/Contents/PlugIns
中的子項目。如何將軟件包安裝位置設置爲其父文件夾目錄?
plugin.xcodeproj
的默認安裝目錄是/Library/Bundles
,我想將其更改爲AppBundleDirectory/Contents/PlugIns
。我不認爲plugin
知道它的父目錄,所以我找不到任何環境變量放入Installation Directory
設置。
概括起來:
項目結構
App.xcodeproj
Plugins/
plugin1.xcodeproj
plugin2.xcodeproj
通緝產生結構
App.app
Contents/
Plugins/
plugin1.bundle
plugin2.bundle
我應該如何進行?
你是男人!它只是按預期工作,謝謝你;) – 2012-08-04 13:20:51