温馨提示:本站仅提供公开网络链接索引服务,不存储、不篡改任何第三方内容,所有内容版权归原作者所有
AI智能索引来源:http://www.apple.com/xcode
点击访问原文链接

Xcode - Apple Developer

Xcode - Apple Developer ' /> View in English

Apple Developer Get Started Explore Get Started Overview Learn Apple Developer Program Stay Updated Latest News Hello Developer Platforms Explore Platforms Apple Platforms iOS iPadOS macOS tvOS visionOS watchOS App Store Featured Design Distribution Games Accessories Web Home CarPlay Technologies Explore Technologies Overview Xcode Swift SwiftUI Featured Accessibility App Intents Apple Intelligence Games Machine Learning & AI Security Xcode Cloud Community Explore Community Overview Meet with Apple events Community-driven events Developer Forums Open Source Featured WWDC Swift Student Challenge Developer Stories App Store Awards Apple Design Awards Apple Developer Centers Documentation Explore Documentation Documentation Library Technology Overviews Sample Code Human Interface Guidelines Videos Release Notes Featured Updates iOS iPadOS macOS watchOS visionOS tvOS Xcode Downloads Explore Downloads All Downloads Operating Systems Applications Design Resources Featured Xcode TestFlight Fonts SF Symbols Icon Composer Support Explore Support Overview Help Guides Developer Forums Feedback Assistant Contact Us Featured Account Help App Review Guidelines App Store Connect Help Upcoming Requirements Agreements and Guidelines System Status Quick Links Events News Forums Sample Code Videos   Xcode Open Menu Close Menu Overview What’s New Resources Download Xcode betas Xcode Xcode

Xcode offers the tools you need to develop, test, and distribute apps for Apple platforms, including predictive code completion, generative intelligence powered by the best coding models and agents, advanced profiling and debugging tools, and simulators for Apple devices.

Discover agentic coding in Xcode 26.3 Coding intelligence Leverage coding models and agents in Xcode Predictive code completion — powered by Apple silicon — uses an on-device machine learning model trained for Swift and Apple SDKs to give you intelligent suggestions based on your project and coding style. Xcode also supports interacting with code using the large language model of your choice, including the advanced coding model and agents of Anthropic and OpenAI. And with Coding Tools, you can get help with writing code and documentation — or fixing errors directly from the source editor. It’s just like Writing Tools, but for code!

Preview Iterate quickly and preview while you work With Xcode Previews, you can quickly visualize the changes you make in your views in the preview canvas.

Add previews to your SwiftUI, UIKit, and AppKit views using the preview macro, then configure how you want your previews to display using Xcode’s preview canvas, or programmatically in code. When you select the live or interactive preview option, your view appears and interacts just like it would on a device or simulator. And in select mode, the preview displays a snapshot of your view so you can interact with your view’s UI elements in the canvas.

Selecting a control in the preview highlights the corresponding line of code in the source editor. You can also adjust device settings to control how a preview displays, including in Dark Mode, landscape orientation, or different sized text.

Simulate Prototype on every device, all from your Mac When a physical device isn’t available, Simulator enables rapid prototyping by testing your app in a simulated environment across Apple devices and OS versions.

With Simulator, you get access to great performance, advanced debugging tools, and the ability to simulate various scenarios like location changes, memory warnings, network throttling, and more. And whether you’re optimizing for the latest hardware or ensuring compatibility with legacy devices, Simulator ensures your app delivers the same experience across all devices.

Test Measure, update, observe Xcode includes resources that can help you test your code, catch issues early, and deliver high-quality apps and games. With the Swift Testing framework, you can write unit tests that take advantage of the powerful and expressive language capabilities of Swift. And if you already have tests written with XCTest, you can run them side by side with newer tests that were written with Swift Testing to help you migrate tests incrementally, at your own pace. XCTest lets you write UI tests that control your app’s UI using XCUIAutomation. And XCTest includes built-in support for performance measurement, so you can ensure your app is running as efficiently as possible.

Automate Continuously build, test, and deliver your apps Xcode Cloud is a continuous integration and delivery service built into Xcode and designed expressly for Apple developers. It accelerates the development and delivery of high-quality apps by bringing together cloud-based tools that help you build apps, run automated tests in parallel, deliver apps to testers, and view and manage user feedback.

Debug Find and fix bugs Xcode is packed with tools that help you inspect your app, isolate bugs, find crashes, identify bottlenecks, and more.

The Xcode debugger provides a clear look into your app’s behaviors. You can pause execution at specified breakpoints, inspect memory usage to find leaks, and monitor variables to identify when their values change. And the Xcode Organizer allows you to manage your app’s development from start to finish — including testing, debugging, building, and deploying.

You can also analyze anonymized performance data from your app’s users to assess launch times, memory usage, UI responsiveness, battery impact, and more.

Optimize Get real-time insights Instruments takes app performance to the next level, providing real-time insights that help you deliver a smooth and responsive experience. With Instruments, you can compare CPU, disk, memory, and GPU performance as graphical tracks over time; identify performance bottlenecks, then dive deep into the code to uncover the cause; analyze your app directly, or sample the entire system with very little overhead; and create custom instruments with unique visualizations to analyze your own code and frameworks.

What’s new in Xcode Dive into the latest key technologies and capabilities. Learn more Resources Dive into Xcode documentation and additional tools. Explore and download resources Meet with Apple activities Join us around the world and online for a variety of sessions, labs, and workshops — tailored for you.

View all activities

Developer Footer Features are subject to change. Some capabilities and services may not be available in all regions or all languages; some feature availability may vary due to local laws and regulations. Xcode Platforms Open Menu Close Menu iOS iPadOS macOS tvOS visionOS watchOS App Store Tools Open Menu Close Menu Swift SwiftUI Swift Playground TestFlight Xcode Xcode Cloud Icon Composer SF Symbols Technologies Open Menu Close Menu Accessibility Accessories Apple Intelligence Audio & Video Augmented Reality Business Design Distribution Education Games Health & Fitness In-App Purchase Localization Maps & Location Machine Learning & AI Security Safari & Web Resources Open Menu Close Menu Documentation Downloads Sample Code Videos Support Open Menu Close Menu Help Guides & Articles Contact Us Forums Feedback & Bug Reporting System Status Account Open Menu Close Menu Apple Developer App Store Connect Certificates, IDs, & Profiles Feedback Assistant Programs Open Menu Close Menu Apple Developer Program Apple Developer Enterprise Program App Store Small Business Program MFi Program Mini Apps Partner Program News Partner Program Video Partner Program Security Bounty Program Security Research Device Program Events Open Menu Close Menu Meet with Apple Apple Developer Centers App Store Awards Apple Design Awards Apple Developer Academies WWDC Read the latest news Get the Apple Developer app. Light Dark Auto Copyright © 2026 Apple Inc. All rights reserved. Terms of Use Privacy Policy Agreements and Guidelines

智能索引记录