v3.0.0
Breaking Changes
👉 Renamed Log File
The file with logs has been renamed from .nvim/xcodebuild/simulator_logs.log
to .nvim/xcodebuild/app_logs.log
, as logs are now supported by both platforms.
👉 Moved dap
module
Please start using require("xcodebuild.integrations.dap")
instead of require("xcodebuild.dap")
. This module has been moved and the old location could be deleted in the future.
👉 New Dependency
Xcodebuild.nvim extends support for physical devices and debugging. If you want to use this feature make sure to install pymobiledevice3:
python3 -m pip install -U pymobiledevice3
Important
Since iOS 17, a new secure connection between Mac and mobile devices is required. Some extra steps are necessary to configure it: Debugging On iOS 17+ Device .
You can skip this dependency and extra configuration if you don't want to debug on physical devices or run the app on iOS below 17. I've included a table showing the availability of each feature (you will find it also in the README).
Device (iOS <17) | Device (iOS 17+) | via Network (<17 / 17+) | Simulator | MacOS | |
---|---|---|---|---|---|
build | 🛠️ | ✅ | ❌ / ✅ | ✅ | ✅ |
(un)install | 🛠️ | ✅ | 🛠️ / ✅ | ✅ | ❌ |
launch | 🛠️ | ✅ | 🛠️ / ✅ | ✅ | ✅ |
run tests | 🛠️ | ✅ | ❌ / ✅ | ✅ | ✅ |
debug | 🛠️ | 🔐 🛠️ | ❌ | ✅ | ✅ |
debug tests | ❌ | ❌ | ❌ | ✅ | ✅ |
app logs | 🪲 | 🪲 | ❌ | ✅ | ❌ |
🔐 - requires passwordless sudo
permission for tools/remote_debugger
script (see below).
🛠️ - available if pymobiledevice3 is installed.
🪲 - available while debugging.
New Features
- Support for physical devices with iOS below 17
- Debugging on physical devices
- Added "Install Application" action (
XcodebuildInstallApp
).
Fixes
- Fixed support for projects that override the
.app
bundle name usingWRAPPER_NAME
(#39) - Fixed waiting for the debugger when starting the app on a simulator
Improvements
- Refreshed README.md