Mac os developer tool

Bring Your Ideas to Life

With the power of Xcode, the ease of Swift, and the revolutionary features of cutting-edge Apple technologies, you have the freedom to create your most innovative apps ever.

Xcode

The Xcode developer tools include everything you need to create apps for iOS, iPadOS, macOS, tvOS, and watchOS.

Swift

This robust yet intuitive programming language for Apple platforms makes it easier than ever to write great code.

What’s new in Swift

SwiftUI

SwiftUI helps you build great looking apps across all Apple platforms with the power of Swift — and as little code as possible.

Learn about SwiftUI

Test your apps with TestFlight

TestFlight makes it easy to invite users to test your apps and collect valuable feedback before releasing your apps on the App Store. You can invite up to 10,000 testers using just their email address or by sharing a public link.

Apple platforms

Develop apps that integrate seamlessly with the latest advancements in Apple platforms.

Resources

Find tools and resources for creating apps and accessories for Mac, iPhone, iPad, Apple Watch, and Apple TV.

Frameworks

Media and web

Graphics and games

Developer tools

SDKs and Betas

Download SDKs and beta operating systems for all Apple platforms.

Documentation

Browse the latest documentation including API reference, articles, and sample code.

Session Videos

See the latest in Apple technologies presented at WWDC and other events.

Discussion Forums

Ask questions and discuss development topics with Apple engineers and other developers.

Источник

How to Install Command Line Tools in Mac OS X (Without Xcode)

Mac users who prefer to have a more traditional Unix toolkit accessible to them through the Terminal may wish to install the optional Command Line Tools subsection of the Xcode IDE. From MacOS Monterey, Big Sur, Catalina, Mojave, High Sierra, Sierra, OS X El Capitan, Yosemite, Mavericks onward, this is now easily possible directly and without installing the entire Xcode package first, no developer account is required either.

The Command Line Tool package gives Mac terminal users many commonly used tools, utilities, and compilers, including make, GCC, clang, perl, svn, git, size, strip, strings, libtool, cpp, what, and many other useful commands that are usually found in default linux installations. We’ve included the full list of new binaries available through the command line toolkit below for those interested, or you can just see for yourself after you have installed the package, which we’ll walk through here.

This guide is geared towards MacOS Monterey 12, macOS Big Sur 11, macOS Catalina, macOS Mojave 10.14.x, 10.13 High Sierra, 10.12 Sierra, OS X 10.11 El Capitan, OS X 10.10 Yosemite, and Mac OS X 10.9, and newer releases. Mac users running prior versions of Mac OS X can continue to directly install Command Line Tools and gcc (without Xcode) through a package installer available through the Apple Developer website as described here.

Installing Command Line Tools in Mac OS X

  1. Launch the Terminal, found in /Applications/Utilities/
  2. Type the following command string:

xcode-select —install

A software update popup window will appear that asks: “The xcode-select command requires the command line developer tools. Would you like to install the tools now?” choose to confirm this by clicking “Install”, then agree to the Terms of Service when requested (feel free to read them thoroughly, we’ll be here)

Wait for the Command Line Tools package download to complete, it’ll be about 130MB and installs fairly quickly depending on your connection speed

Читайте также:  Как поставить фон рабочего стола windows 10

The installer goes away on its own when complete, and you can then confirm everything is working by trying to use one of the commands that were just installed, like gcc, git, svn, rebase, make, ld, otool, nm, whatever you want from the list below. Assuming the installation went uninterrupted, the command will execute as expected. This also means you can compile and install things from source code directly without having to use a package manager. Enjoy your new unix command line toolkit!

What Installs with Command Line Tools and Where

For those interested in knowing the details of what is installed on their Mac and where it’s going, the entire command line toolkit package gets placed in the following directory:

You can browse through that directory if you want to, or you can just have awareness of it just in case you want to modify or adjust any of the package at a later time.

Note that directory is the root /Library of Mac OS, not a user

If you want to see the 61 new commands available to you, they’re all in /Library/Developer/CommandLineTools/usr/bin/ but we have also listed them alphabetically below for convenience:

ar
as
asa
bison
BuildStrings
c++
c89
c99
cc
clang
clang++
cmpdylib
codesign_allocate
CpMac
cpp
ctags
ctf_insert
DeRez
dsymutil
dwarfdump
dyldinfo
flex
flex++
g++
gatherheaderdoc
gcc
gcov
GetFileInfo
git
git-cvsserver
git-receive-pack
git-shell
git-upload-archive
git-upload-pack
gm4
gnumake
gperf
hdxml2manxml
headerdoc2html
indent
install_name_tool
ld
lex
libtool
lipo
lldb
lorder
m4
make
MergePef
mig
mkdep
MvMac
nasm
ndisasm
nm
nmedit
otool
pagestuff
projectInfo
ranlib
rebase
redo_prebinding
ResMerger
resolveLinks
Rez
RezDet
RezWack
rpcgen
segedit
SetFile
size
SplitForks
strings
strip
svn
svnadmin
svndumpfilter
svnlook
svnrdump
svnserve
svnsync
svnversion
unifdef
unifdefall
UnRezWack
unwinddump
what
xml2man
yacc

Troubleshooting “not currently available” error

Getting an error message that says “Can’t install the software because it is not currently available from the Software Update server”? Well you’re in luck, because that error message probably indicates you already have Xcode installed on the Mac.

From Mac OS X 10.9 onward, if Xcode is already installed in Mac OS X then Command Line Tools becomes installed as well (you can check this by trying to run gcc or make from the terminal). Accordingly, this tutorial is aimed at users who do not want to install the broader Xcode development package, and would rather only have the command line utilities installed instead. Yes, that means you can uninstall the entire Xcode app and only install the command line tools if you want to, since for many users and sysadmins that’s the only reason they installed Xcode to begin with.

Источник

Xcode

Xcode is a complete developer toolset for creating apps for Mac, iPhone, iPad, Apple Watch, and Apple TV. Xcode brings user interface design, coding, testing, debugging, and submitting to the App Store into a unified workflow.

Downloading and updating Xcode

The current release of Xcode is available as a free download from the Mac App Store. The Mac App Store will notify you when an update is available or you can have macOS update automatically as it becomes available.

The latest beta version and previous versions of Xcode can be downloaded from the Downloads page. To download Xcode, simply sign in with your Apple ID. Apple Developer Program membership is not required.

Using Xcode

Get step-by-step guidance on how to use Xcode to build, test, and submit apps to the App Store.

Submitting apps to the App Store using Xcode

Xcode provides an integrated workflow for Apple Developer Program members to prepare and submit apps to the App Store. Use the latest version of Xcode available on the Mac App Store to submit your apps or, when available, the latest Release Candidate from the Downloads page.

Don’t submit apps built using beta software, as beta versions of Xcode, Operating Systems, and SDKs are for development and testing only.

Learning about changes to Xcode

To learn about the latest features and capabilities in Xcode, see What’s New in Xcode. For update details in the latest released versions, including each beta release, see the Xcode Release Notes.

Читайте также:  How to resize disk linux

Minimum requirements and supported SDKs

Xcode Version Minimum OS Required SDK Architecture Deployment Targets Simulator Swift
Xcode 13 macOS Big Sur 11.3 iOS 15
macOS 11.3
tvOS 15
watchOS 8
DriverKit 20.4
x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32
iOS 9-15
iPadOS 13-15
macOS 10.9-11.3
tvOS 9-15
watchOS 2-8
DriverKit 19-20.4
iOS 10.3.1-15
tvOS 10.2-15
watchOS 3.2-8
Swift 4
Swift 4.2
Swift 5.5
Xcode 13 beta macOS Big Sur 11.3 iOS 15
macOS 12
tvOS 15
watchOS 8
DriverKit 21
x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32
iOS 9-15
iPadOS 13-15
macOS 10.9-12
tvOS 9-15
watchOS 2-8
DriverKit 19-21
iOS 10.3.1-15
tvOS 10.2-15
watchOS 3.2-8
Swift 4
Swift 4.2
Swift 5.5
Xcode 12.5.1 macOS Big Sur 11 iOS 14.5
macOS 11.3
tvOS 14.5
watchOS 7.4
DriverKit 20.4
x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32
iOS 9-14.7
iPadOS 13-14.7
macOS 10.9-11.5
tvOS 9-14.7
watchOS 2-7.6
DriverKit 19-20.4
iOS 10.3.1-14.5
tvOS 10.2-14.5
watchOS 3.2-7.4
Swift 4
Swift 4.2
Swift 5.4
Xcode 12.5 macOS Big Sur 11 iOS 14.5
macOS 11.3
tvOS 14.5
watchOS 7.4
DriverKit 20.4
x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32
iOS 9-14.6
iPadOS 13-14.6
macOS 10.9-11.4
tvOS 9-14.6
watchOS 2-7.5
DriverKit 19-20.4
iOS 10.3.1-14.5
tvOS 10.2-14.5
watchOS 3.2-7.4
Swift 4
Swift 4.2
Swift 5.4
Xcode 12.4 macOS Catalina 10.15.4 (Intel-based Mac)

macOS Big Sur 11
(Apple silicon Mac) iOS 14.4
macOS 11.1
tvOS 14.3
watchOS 7.2
DriverKit 20.2 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 9-14.4
iPadOS 13-14.4
macOS 10.9-11.1
tvOS 9-14.3
watchOS 2-7.2
DriverKit 19-20.2 iOS 10.3.1-14.4
tvOS 10.2-14.3
watchOS 3.2-7.2 Swift 4
Swift 4.2
Swift 5.3 Xcode 12.3 macOS Catalina 10.15.4 (Intel-based Mac)

macOS Big Sur 11
(Apple silicon Mac) iOS 14.3
macOS 11.1
tvOS 14.3
watchOS 7.2
DriverKit 20.2 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 9-14.3
iPadOS 13-14.3
macOS 10.9-11.1
tvOS 9-14.3
watchOS 2-7.2
DriverKit 19-20.2 iOS 10.3.1-14.3
tvOS 10.2-14.3
watchOS 3.2-7.2 Swift 4
Swift 4.2
Swift 5.3 Xcode 12.2 macOS Catalina 10.15.4 (Intel-based Mac)

macOS Big Sur 11
(Apple silicon Mac) iOS 14.2
macOS 11
tvOS 14.2
watchOS 7.1
DriverKit 20 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 9-14.2
iPadOS 13-14.2
macOS 10.9-11
tvOS 9-14.2
watchOS 2-7.1
DriverKit 19-20 iOS 10.3.1-14.2
tvOS 10.2-14.2
watchOS 3.2-7.1 Swift 4
Swift 4.2
Swift 5.3 Xcode 12.1 macOS Catalina 10.15.4 (Intel-based Mac)

macOS Big Sur 11
(Apple silicon Mac) iOS 14.1
macOS 10.15.6
tvOS 14
watchOS 7
DriverKit 19 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 9-14.1
iPadOS 13-14.1
macOS 10.9-11
tvOS 9-14
watchOS 2-7
DriverKit 19 iOS 10.3.1-14.1
tvOS 10.2-14
watchOS 2-7 Swift 4
Swift 4.2
Swift 5.3 Xcode 12 macOS Catalina 10.15.4 (Intel-based Mac) iOS 14
macOS 10.15.6
tvOS 14
watchOS 7
DriverKit 19 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 9-14
iPadOS 13-14
macOS 10.6-10.15.6
tvOS 9-14
watchOS 2-7
DriverKit 19 iOS 10.3.1-14
tvOS 10.2-14
watchOS 3.2-7 Swift 4
Swift 4.2
Swift 5.3 Xcode 11.7 macOS Catalina 10.15.2 iOS 13.7
macOS 10.15.6
tvOS 13.4
watchOS 6.2
DriverKit 19 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 8-13.7
iPadOS 13-13.7
macOS 10.6-10.15.6
tvOS 9-13.4
watchOS 2-6.2
DriverKit 19 iOS 10.3.1-13.7
tvOS 10.2-13.4
watchOS 3.2-6.2 Swift 4
Swift 4.2
Swift 5.2 Xcode 11.6 macOS Catalina 10.15.2 iOS 13.6
macOS 10.15.6
tvOS 13.4
watchOS 6.2
DriverKit 19 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 8-13.6
iPadOS 13-13.6
macOS 10.6-10.5.6
tvOS 9-13.4
watchOS 2-6.2
DriverKit 19 iOS 10.3.1-13.6
tvOS 10.2-13.4
watchOS 3.2-6.2 Swift 4
Swift 4.2
Swift 5.2 Xcode 11.5 macOS Catalina 10.15.2 iOS 13.5
macOS 10.15.4
tvOS 13.4
watchOS 6.2
DriverKit 19 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 8-13.5
iPadOS 13-13.5
macOS 10.6-10.15.4
tvOS 9-13.4
watchOS 2-6.2
DriverKit 19 iOS 10.3.1-13.5
tvOS 10.2-13.4
watchOS 3.2-6.2 Swift 4
Swift 4.2
Swift 5.2 Xcode 11.4.x macOS Catalina 10.15.2 iOS 13.4
macOS 10.15.4
tvOS 13.4
watchOS 6.2
DriverKit 19 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 8-13.4.x
iPadOS 13-13.4.x
macOS 10.6-10.15.4
tvOS 9-13.4
watchOS 2-6.2
DriverKit 19 iOS 10.3.1-13.4.x
tvOS 10.2-13.4
watchOS 3.2-6.2 Swift 4
Swift 4.2
Swift 5.2 Xcode 11.3.x macOS Mojave 10.14.4 iOS 13.3
macOS 10.15.2
tvOS 13.3
watchOS 6.1.1
DriverKit 19 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 8-13.3
iPadOS 13-13.3
macOS 10.6-10.15.2
tvOS 9-13.3
watchOS 2-6.1.1
DriverKit 19 iOS 10.3.1-13.3
tvOS 10.2-13.3
watchOS 3.2-6.1.1 Swift 4
Swift 4.2
Swift 5.1 Xcode 11.2.x macOS Mojave 10.14.4 iOS 13.2
macOS 10.15.1
tvOS 13.2
watchOS 6.1
DriverKit 19 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 8-13.2.x
iPadOS 13-13.2.x
macOS 10.6-10.15.1
tvOS 9-13.2
watchOS 2-6.1
DriverKit 19 iOS 10.3.1-13.2.x
tvOS 10.2-13.2
watchOS 3.2-6.1 Swift 4
Swift 4.2
Swift 5.1 Xcode 11.1 macOS Mojave 10.14.4 iOS 13.1
macOS 10.15
tvOS 13
watchOS 6
DriverKit 19 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 8-13.1
iPadOS 13-13.1
macOS 10.6-10.15
tvOS 9-13
watchOS 2-6
DriverKit 19 iOS 10.3.1-13.1
tvOS 10.2-13
watchOS 3.2-6 Swift 4
Swift 4.2
Swift 5.1 Xcode 11 macOS Mojave 10.14.4 iOS 13
macOS 10.15
tvOS 13
watchOS 6
DriverKit 19 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 8-13
iPadOS 13-13
macOS 10.6-10.15
tvOS 9-13
watchOS 2-6
DriverKit 19 iOS 10.3.1-13
tvOS 10.2-13
watchOS 3.2-6 Swift 4
Swift 4.2
Swift 5.1 Xcode 10.3 macOS Mojave 10.14.3 iOS 12.4
macOS 10.14.6
tvOS 12.4
watchOS 5.3 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 8-12.4
macOS 10.6-10.14.6
tvOS 9-12.4
watchOS 2-5.3 iOS 10.3.1-12.4
tvOS 10.2-12.4
watchOS 3.2-5.3 Swift 4
Swift 4.2
Swift 5 Xcode 10.2x macOS Mojave 10.14.3 iOS 12.2
macOS 10.14.4
tvOS 12.2
watchOS 5.2 x86_64
armv7
armv7s
armv7k
arm64
arm64e
arm64_32 iOS 8-12.2
macOS 10.6-10.14.4
tvOS 9-12.2
watchOS 2-5.2 iOS 8.1-12.2
tvOS 9-12.2
watchOS 2-5.2 Swift 4
Swift 4.2
Swift 5

Legend

Minimum OS Required: The version of macOS required to install this version of Xcode.

SDK: The version of SDKs included in this version of Xcode.

Architecture: The architectures supported for development by this version of Xcode.

OS: The iOS, iPadOS, macOS, tvOS, and watchOS versions supported by this version of Xcode for developing, installing, and debugging applications.

Simulator: Versions of iOS, tvOS, and watchOS simulators supported for development by this version of Xcode.

Swift: Version of Swift supported for development by this version of Xcode.

Providing feedback and reporting bugs

Your feedback goes a long way toward making Xcode even better. With Feedback Assistant, you can report issues or request enhancements to APIs and tools. Provide detailed information about issues, including your system and developer tool versions, and any relevant crash logs or console messages. To ask questions and find answers from Apple engineers and other developers, visit the Apple Developer Forums.

Invalid private key and certificate pairing

If you receive an error message saying, «Xcode could not find a valid private-key/certificate pair for this profile in your keychain,” the Keychain Access application on your Mac is missing either the public or private key for the certificate you’re using to sign your app.

This often happens when you’re trying to sign and build your app from a different Mac than the one you originally used to request your code signing certificate. It can also happen if your certificate has expired or has been revoked. Ensure that your app’s provisioning profile contains a valid code signing certificate, and that the Keychain Access application on your Mac contains that certificate, the private key originally used to generate that certificate, and the WWDR Intermediate Certificate.

For instructions on how to resolve this and other code signing errors, review the Code Signing Support page.

Apple security updates

For information on the security content of Xcode updates, visit the Apple security updates page.

Feedback Assistant

Submit bug reports and request enhancements to APIs and developer tools.

Send us feedback

Developer Forums

Ask questions and find answers by Apple engineers and other developers.

Contact Us

Tell us how we can help and we’ll find a solution by phone or email.

Источник

Читайте также:  Диспетчер дисков windows 10 cmd
Оцените статью