嘗試在 OSX 10.9.4 上使用 xcode 進行浮動編譯 - 不再支援垃圾回收

嘗試在 OSX 10.9.4 上使用 xcode 進行浮動編譯 - 不再支援垃圾回收

我正在按照以下說明進行操作使單一視窗黏在浮動狀態

以下是帖子中的說明:

 Download the SIMBL zip file
 Unzip the file
 Double-click/install SIMBL-0.9.9.pkg
 Create SIMBL bundle dir: mkdir ~/Library/Application\ Support/SIMBL/Plugins/
 Reboot
 Install from the git repo:

$ git clone https://github.com/millenomi/afloat.git
$ cd afloat
$ xcodebuild -configuration Release install
  # verbose output trimmed, except for last line:
  ** INSTALL SUCCEEDED **
$ mv /tmp/Afloat.dst/Users/`whoami`/Library/Bundles/Afloat.bundle/ ~/Library/Application\ Support/SIMBL/Plugins/

我按照說明進行操作,但它對我不起作用。

在 OS 10.9.4 上安裝 xcode 6.0.1 並執行 xcodebuild -configuration Release install 後,我收到了一堆錯誤訊息。

這是我在每個檔案之後收到的轉儲類型,以及進程結束時的輸出:

`error: garbage collection is no longer supported

** INSTALL FAILED **


The following build commands failed:
    CompileC build/Afloat.build/Release/Afloat.build/Objects-normal/x86_64/Afloat.o Afloat.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC build/Afloat.build/Release/Afloat.build/Objects-normal/x86_64/AfloatStorage.o AfloatStorage.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC build/Afloat.build/Release/Afloat.build/Objects-normal/x86_64/AfloatPanel.o AfloatPanel.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
    CompileC build/Afloat.build/Release/Afloat.build/Objects-normal/x86_64/AfloatPanelController.o AfloatPanelController.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(4 failures)

我是否下載了與 OSX 10.9.4 Maverick 不相容的版本?這裡出了什麼問題?

答案1

嘗試xcodebuild啟用GCC_ENABLE_OBJC_GC=unsupported(現在不支援)垃圾收集。

相關內容