xcode - dyld can’t find DVTFoundation.framework -


i’m trying use appledoc 1 of projects. downloaded project, built in xcode, , copied appledoc binary ~/bin. trying run binary gives error:

appledoc version: 2.1 (build 858)  !> dyld: library not loaded: @rpath/dvtfoundation.framework/versions/a/dvtfoundation !> referenced from: /usr/bin/xcrun !> reason: image not found docsetutil failed index documentation set, continuing indexed... 

that’s entirety of output. did bunch of googling , didn’t find anything; ended deleting xcode (version 4.6.3, mac app store) , reinstalling it. rebuilt appledoc , tried again, got same error.

i thought problem might have xcode 5 developer preview installed, thought i’d use xcode-select make sure build settings sane. running xcode-select -print-path gave me similar error:

dyld: library not loaded: @rpath/dvtfoundation.framework/versions/a/dvtfoundation   referenced from: /usr/bin/xcode-select   reason: image not found trace/bpt trap 

i have tried building appledoc xcode 5, same results. idea might wrong here?


edit: here’s output of otool -l ~/bin/appledoc:

bin/appledoc:     /usr/lib/libicucore.a.dylib (compatibility version 1.0.0, current version 51.1.0)     /usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)     /system/library/frameworks/foundation.framework/versions/c/foundation (compatibility version 300.0.0, current version 1044.0.0)     /system/library/frameworks/cocoa.framework/versions/a/cocoa (compatibility version 1.0.0, current version 20.0.0)     /system/library/frameworks/systemconfiguration.framework/versions/a/systemconfiguration (compatibility version 1.0.0, current version 596.2.0)     /system/library/frameworks/coreservices.framework/versions/a/coreservices (compatibility version 1.0.0, current version 59.0.0)     /usr/lib/libobjc.a.dylib (compatibility version 1.0.0, current version 228.0.0)     /usr/lib/libsystem.b.dylib (compatibility version 1.0.0, current version 1197.1.1)     /system/library/frameworks/appkit.framework/versions/c/appkit (compatibility version 45.0.0, current version 1242.0.0)     /system/library/frameworks/corefoundation.framework/versions/a/corefoundation (compatibility version 150.0.0, current version 844.0.0) 

and otool -l /usr/bin/xcode-select:

/usr/bin/xcode-select:     /system/library/frameworks/foundation.framework/versions/c/foundation (compatibility version 300.0.0, current version 945.0.0)     @rpath/dvtfoundation.framework/versions/a/dvtfoundation (compatibility version 1.0.0, current version 2091.0.0)     @rpath/idefoundation.framework/versions/a/idefoundation (compatibility version 1.0.0, current version 2102.0.0)     @rpath/xcode3core.ideplugin/contents/macos/xcode3core (compatibility version 1.0.0, current version 2110.0.0)     /usr/lib/libobjc.a.dylib (compatibility version 1.0.0, current version 228.0.0)     /usr/lib/libsystem.b.dylib (compatibility version 1.0.0, current version 169.3.0)     /system/library/frameworks/corefoundation.framework/versions/a/corefoundation (compatibility version 150.0.0, current version 744.0.0) 


Comments