Commit Graph

25 Commits

Author SHA1 Message Date
Kabir Oberai
96032d0f17 Enable cross import overlays (#153)
Fixes #152

We might want to figure out if there are any other flags we don't pass
but should
2025-08-10 18:05:39 -04:00
Kabir Oberai
0710653cd0 Handle static xcframeworks not being unpacked (#156)
SwiftPM may not unpack static xcframeworks. Handle this gracefully, if
SwiftPM doesn't need the framework we don't either.

Fixes #155.
2025-08-10 18:05:28 -04:00
Kabir Oberai
836fca8daf Improve tmpdir management (#147)
- We now have a single tmpdir "root" that can be recreated at launch to
clean up old stragglers
- The location of this tmpdir root can be controlled by `XTL_TMPDIR` or
`TMPDIR`. In general the path is `$TMPDIR/sh.xtool`.

With this change it should be possible to `export XTL_TMPDIR=/var/tmp`
if `/tmp` doesn't have enough space, which fixes #23.
2025-08-10 01:43:09 -04:00
Erik Bautista Santibanez
edd6b90f53 Add support for App Extensions (#97)
This pull request adds support for Apple's [App
Extensions](https://developer.apple.com/app-extensions/).

Closes: #45

---------

Co-authored-by: ErrorErrorError <16653389+ErrorErrorError@users.noreply.github.com>
Co-authored-by: Kabir Oberai <oberai.kabir@gmail.com>
2025-07-13 23:47:47 -04:00
Kabir Oberai
d691e614b4 Support building with Swift 6.2 (#114) 2025-07-12 16:28:48 -04:00
Kabir Oberai
bf057263cc Support unxipping Xcode betas (#115)
Xcode betas are stored in the xip as Xcode-beta.app. Support this by
avoiding hardcoding the `Xcode.app` path.
2025-06-10 17:09:06 -04:00
Kabir Oberai
0425f9edeb Add SwiftLint (#104)
Closes #72
2025-05-31 19:38:57 +05:30
Kabir Oberai
5beec34370 Validate path to Xcode.app/xip (#100)
Fixes #16
2025-05-27 18:11:08 +05:30
Kabir Oberai
72db71c871 DeveloperServices: support paginated requests (#89)
Realized that we need to paginate due to #87
2025-05-25 03:29:43 +05:30
Kabir Oberai
693e60faef Support entitlements with XcodePacker (#88) 2025-05-24 02:28:17 +05:30
Kabir Oberai
3b17975fe7 Add support for custom entitlements (#82)
Closes #46
2025-05-24 00:35:46 +05:30
Kabir Oberai
48a2d30684 Fix changeCurrentDirectory warning (#81)
This is `discardableResult` on macOS (perhaps because it goes through
objc bridging?) but not on Linux so we get a warning on the latter
2025-05-23 23:32:45 +05:30
Kabir Oberai
b5d49a63cf Improve OpenAPI error handling (#78)
- Make some enums non-exhaustive (closes #77)
  - Also a tentative fix for #62 and #64
- Improve logging on deserialization failure

We now use raw JS to patch the OpenAPI spec instead of openapi-overlay.
It's a lot more flexible this way.
2025-05-23 19:05:02 +05:30
Kabir Oberai
3a4290c85e Support building for iOS simulator (#74)
Closes #68

## On any platform

You can now do

```bash
xtool dev build --triple arm64-apple-ios-simulator [--ipa]
```

To build a .app/.ipa that works on the simulator.

## On macOS

You can do

```bash
xtool dev --simulator
```

To one-shot build-and-install on the booted simulator.
2025-05-22 19:35:51 +05:30
Kabir Oberai
fbbd8366ca Support xtool --version (#53) 2025-05-21 18:16:46 +05:30
Kabir Oberai
54d03f525a Improve SDK handling (#40)
* Use swift-sdk commands instead of file ops

* comment
2025-05-16 00:06:39 +05:30
Kabir Oberai
b3c12ef4d2 Add build --ipa (#24) 2025-05-12 16:33:57 +05:30
Kabir Oberai
205041caa0 Refine NewCommand
Tweak template, respect quiet flag on macOS
2025-05-09 11:10:15 +05:30
Kabir Oberai
307df68794 Create sdks directory if needed 2025-05-08 23:41:34 +05:30
Kabir Oberai
e5eb0d3c4f Improve macOS SDK handling 2025-05-07 18:03:37 +05:30
Kabir Oberai
7417957dfb Update docs 2025-05-06 13:47:59 +05:30
Kabir Oberai
7245b34f4f More renaming and regrouping 2025-05-06 12:31:48 +05:30
Kabir Oberai
f7ecd612fc Rename more stuff 2025-05-06 11:42:55 +05:30
Kabir Oberai
6778e66e55 Rename main product 2025-05-06 11:30:59 +05:30
Kabir Oberai
bb21ff046a SupersignCLISupport -> XToolSupport 2025-05-06 11:05:29 +05:30