Ar is missing after upgrade to Xcode 7

后端 未结 1 1986
眼角桃花
眼角桃花 2021-01-23 01:49

I\'m using Yosemite. Just upgraded Xcode 7 and command line

I\'m getting this error when cross-compile C project for iOS.

/Applications/Xcode.app/Contents/Develo

相关标签:
1条回答
  • 2021-01-23 02:26

    Xcode 7.0 appears to have changed the default location for these tools:

    nm
    size
    libtool
    pagestuff
    ar
    codesign_allocate
    dsymutil
    install_name_tool
    ld
    ctf_insert
    as
    otool
    strings
    strip
    redo_prebinding
    lipo
    nmedit
    

    Toolchain Location:

    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/
    

    It may not include all command line tools by default, so you can also try downloading them:

    Command Line Tools OS X 10.10 for Xcode 7

    The only tools now in the former location are:

    texturetool
    csent
    unwinddump
    dyldinfo
    dsymutil-classic
    rebase
    pngcrush
    dwarfdump
    PackageApplication
    iphoneos-optimize
    
    0 讨论(0)
提交回复
热议问题