Skip to content

Compiling & Installing Under Mac OS X 10.10.2 using Xcode 6.2b3

William Cerniuk edited this page Jan 8, 2015 · 1 revision

Build Issues

ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/SharedFrameworks' ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Frameworks' ld: framework not found IDEFoundation clang: error: linker command failed with exit code 1 (use -v to see invocation)

(null): Directory not found for option '-F/Applications/Xcode.app/Contents/SharedFrameworks' (null): Directory not found for option '-F/Applications/Xcode.app/Contents/Frameworks' (null): Framework not found IDEFoundation (null): Linker command failed with exit code 1 (use -v to see invocation)

Resolution

Click Show Project Navigator at top of Xcode assets (left hand column)

  • Under xAlign (the project itself)
  • In Info
    • Under DVTPlugInCompatibilityUUIDs
      • Added compatibility with Xcode 6.2b3 - Item 4 = FEC992CC-CA4A-4CFD-8881-77300FCB848A
  • In Build Settings
    • Under User-Defined
      • Added variable XCODE_DIR
        • set to my Xcode directory (users should change to theirs)
    • Under Framework Search Paths,
      • changed $(SYSTEM_APPS_DIR)/Xcode.app/Contents/SharedFrameworks
        • to ${XCODE_DIR}/Contents/SharedFrameworks
      • changed $(SYSTEM_APPS_DIR)/Xcode.app/Contents/Frameworks
        • to ${XCODE_DIR}/Contents/Frameworks
  • In Project Assets
  • Removed all frameworks from project
  • Added Frameworks to project...
  • /System/Library/Frameworks/AppKit.framework
    • made absolute ref
  • ${XCODE_DIR}/Contents/SharedFrameworks/DVTFoundation.framework
    • made SDK relative (note: variable not used, find yours in the directory that you set your variable XCODE_DIR up as
  • Changed Installation Directory from /Library/Application Support/Developer/Shared/Xcode/Plug-ins
    • to ${HOME}/Library/Application Support/Developer/Shared/Xcode/Plug-Ins
Clone this wiki locally