Ticket #57142: patch-no-spotlight.diff

File patch-no-spotlight.diff, 473 bytes (added by parafin, 6 years ago)

simple patch removing spotlight dependency

  • build.d/lib/xcode.sh

    old new  
    119119    do
    120120        xcode_path="${xcode_app_path}/Contents/Developer"
    121121        xcode_find_process "${xcode_path}"
    122     done < <(mdfind -onlyin "/Applications" 'kMDItemCFBundleIdentifier == "com.apple.dt.Xcode"')
     122    done < <(echo /Applications/Xcode.app)
    123123
    124124    unset -f xcode_find_is_supported
    125125    unset -f xcode_find_sdk_add