why do we need 20+GB of Xcode for?

Discussion in 'Mac / Hackintosh' started by Justin-Cydeher, Feb 7, 2023.

  1. Justin-Cydeher

    Justin-Cydeher Kapellmeister

    Joined:
    May 17, 2020
    Messages:
    338
    Likes Received:
    41
    Do we really need to install this?

    and someone suggested to codesign like this:

    Copy this line:

    -sudo xattr -rd com.apple.quarantine

    (mind the "blank" after "quarantine" - important!)

    -into a new opened Terminal, locate the app you want to codesign (ex. "AGSC.component") and drag the app into the Terminal window

    -press enter

    -type your password (your login pass, which would not show up in Terminal window)

    -then press enter again

    that's it

    can someone shed some light unto this?
     
  2.  
  3. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    5,958
    Likes Received:
    2,528
  4. Justin-Cydeher

    Justin-Cydeher Kapellmeister

    Joined:
    May 17, 2020
    Messages:
    338
    Likes Received:
    41
  5. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    5,958
    Likes Received:
    2,528
    After you have gone through hoops and hurdles to get M1/Waves working?! I would not take the word of a "legit" computer website article and think any of that applies to the "modifications" you may do to your system to install scene releases. But I linked the page because it does cover the normal install sizes of generic Xcode installs. I am on Xcode9 on High Sierra and Intel Macs only, but personally I would find something else to move around if short on internal SSD space.
     
  6. belalugosi

    belalugosi Producer

    Joined:
    Jun 6, 2011
    Messages:
    208
    Likes Received:
    76
    First, xattr -rd com.apple.quarantine it is the Terminal command to dequarantine an app not to codesign it

    Codesign command = sudo codesign -f -s - "drag the app's executable"

    The whole Xcode not rquired.
    You just need to download the Command Line Tools pasting the command bellow in Terminal:
    Code:
    xcode-select --install
     
  7. SmokerNzt

    SmokerNzt Rock Star

    Joined:
    Mar 2, 2013
    Messages:
    527
    Likes Received:
    320
    What are Xcode Command Line Tools?
    If you're not developing software for an Apple device, you won't need the full Xcode application (it requires over 40GB of disk space!).

    Instead, you'll install Xcode Command Line Tools. It's a smaller package for software developers with tools that run on the command line, that is, in the Terminal application. by type this in the Terminal it will install only the Command Line Tool.
    Code:
    xcode-select --install
    Luckily, the Xcode Command Line Tools package only requires 1.2GB of space on your disk.
     
  8. Justin-Cydeher

    Justin-Cydeher Kapellmeister

    Joined:
    May 17, 2020
    Messages:
    338
    Likes Received:
    41
    ok I see, so if you dont mind I still have two questions

    1-If you un install Xcode will anything happen to already installed CODE SIGNED apps from the Sista site?
    2- is this a normal way to code sign in terminal?
    -sudo xattr -rd com.apple.quarantine
    (mind the "blank" after "quarantine" - important!)
    -into a new opened Terminal, locate the app you want to codesign (ex. "AGSC.component") and drag the app into the Terminal window
    -press enter
    -type your password (your login pass, which would not show up in Terminal window)
    -then press enter again
     
  9. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    5,958
    Likes Received:
    2,528
    1. It should not. You can always just re codesign anything that you ever "break" the digital signature on by alterations.

    2. No. This is adding to quarantine. Those instructions as written will not work. Use Codesigner, I already linked you the application. Or type codesign man in Terminal to read the usage syntax for codesign. See tech note for more in-depth about Codesign than you probably want to read here: https://developer.apple.com/library/archive/technotes/tn2206/_index.htmlb


    example: codesign man

    Usage: codesign -s identity [-fv*] [-o flags] [-r reqs] [-i ident] path ... # sign

    codesign -v [-v*] [-R=<req string>|-R <req file path>] path|[+]pid ... # verify

    codesign -d [options] path ... # display contents

    codesign -h pid ... # display hosting paths
     
  10. Justin-Cydeher

    Justin-Cydeher Kapellmeister

    Joined:
    May 17, 2020
    Messages:
    338
    Likes Received:
    41
    what does quarantine do when you use this command?
    thanks
     
  11. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    5,958
    Likes Received:
    2,528

    -sudo xattr -rd com.apple.quarantine ? just this?

    sudo - superuser DO xattr (extended attributes)

    xattr - Display and manipulate extended attributes of one or more files, including directories and symbolic links.

    -r If a file argument is a directory, act as if the entire contents of the directory
    recursively were also specified (so that every file in the directory tree is acted upon).

    -d delete given attribute

    put together and it removes the quarantine flag; but this does not Codesign.
     
    Last edited: Feb 9, 2023
  12. Albert Seguir

    Albert Seguir Noisemaker

    Joined:
    Nov 10, 2022
    Messages:
    21
    Likes Received:
    4
    xcode-select --install in terminal,
    ignore the extra tools in "system settings update"
    trash the "developer" folder in "user/Library" folder, its going to be 2+ gb something..
    keep codesigning, move on, dont look back.
     
    Last edited: Feb 9, 2023
  13. Justin-Cydeher

    Justin-Cydeher Kapellmeister

    Joined:
    May 17, 2020
    Messages:
    338
    Likes Received:
    41
    Thank you, was very suck-sex-full
     
Loading...
Similar Threads - need 20+GB Xcode Forum Date
Should I really need a condenser mic? Mixing and Mastering Mar 17, 2024
Need help deciding which B&W left/right speaker to go with B&W HTM71 S2 center channel Music Mar 12, 2024
Need your Mix Advice Work in Process Mar 7, 2024
Newbie in need Studio One Mar 6, 2024
I need an electric guitar recommendation Guitars Mar 1, 2024
Loading...