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:
    42
    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:
    7,566
    Likes Received:
    3,333
  4. Justin-Cydeher

    Justin-Cydeher Kapellmeister

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

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    7,566
    Likes Received:
    3,333
    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:
    222
    Likes Received:
    79
    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:
    536
    Likes Received:
    337
    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:
    42
    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:
    7,566
    Likes Received:
    3,333
    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:
    42
    what does quarantine do when you use this command?
    thanks
     
  11. clone

    clone Audiosexual

    Joined:
    Feb 5, 2021
    Messages:
    7,566
    Likes Received:
    3,333

    -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 Member

    Joined:
    Nov 10, 2022
    Messages:
    31
    Likes Received:
    9
    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:
    42
    Thank you, was very suck-sex-full
     
Loading...
Similar Threads - need 20+GB Xcode Forum Date
Need help with FL please. FL Studio Friday at 9:00 PM
Need Help with Plugins in Pro Tools 10.3.10 Mac / Hackintosh Friday at 3:16 PM
Need Advice: Recording Directly to Tape Computer Hardware Thursday at 5:02 PM
I need to purchase auto tune 9 Ilok authorization Selling / Buying Wednesday at 10:15 AM
Help Needed: Drum Replacing! Software Monday at 3:35 AM
Loading...