Commit Graph

329 Commits

Author SHA1 Message Date
Kabir Oberai
615b69d132 AddAppOperation: filter for expected ID 2025-05-25 02:35:28 +05:30
Kabir Oberai
693e60faef Support entitlements with XcodePacker (#88) 2025-05-24 02:28:17 +05:30
Kabir Oberai
6df7e4009b Document entitlements (#86) 2025-05-24 02:02:35 +05:30
Kabir Oberai
f76e1eda04 patch.js: improve ergonomics (#85) 2025-05-24 01:36:12 +05:30
Kabir Oberai
8f31686c92 Only add iOS-type devices to profile (#84)
Another tentative fix for #64
1.12.1
2025-05-24 00:56:29 +05:30
Kabir Oberai
3b17975fe7 Add support for custom entitlements (#82)
Closes #46
1.12.0
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.
1.11.5
2025-05-23 19:05:02 +05:30
Kabir Oberai
cd3d72c6b7 OpenAPI spec tweaks (#76)
- Add `BundleIdPlatform.macos` (potential fix for #64)
- Fix deprecation warnings
- Improve overlay organization
1.11.4
2025-05-22 22:37:47 +05:30
Kabir Oberai
2265449730 Support for logging OpenAPI responses (#75)
Allow setting `XTL_DEV_LOG` to a regex (e.g. `export
XTL_DEV_LOG='profiles_.*'`) to log the responses of all matching
operations

Also add `BundleIdPlatform.services` as seen
[here](60bbc198c8/Makefile (L9))
2025-05-22 22:03:37 +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
38be5315ee Fix macOS category build warning (#73)
xcodebuild wants us to set a category for the Mac app
2025-05-22 19:22:52 +05:30
Kabir Oberai
fbbd8366ca Support xtool --version (#53) 1.11.3 2025-05-21 18:16:46 +05:30
Kabir Oberai
73f42d9de2 Add make clean (#71) 2025-05-21 18:13:02 +05:30
Kabir Oberai
da745aa337 Add Make rules, CONTRIBUTING.md (#70) 2025-05-21 17:14:43 +05:30
Kabir Oberai
1113e66e92 Fix readme image (again) (#67) 2025-05-20 03:45:17 +05:30
Kabir Oberai
17adc91e63 Even more DocC tweaks (#66) 2025-05-20 03:42:18 +05:30
Kabir Oberai
26e076b95f More DocC improvements (#65) 2025-05-20 03:10:36 +05:30
Kabir Oberai
25fd269b47 Update Netlify footer copy (#63)
Netlify wants specific copy in order to be eligible for their [Open
Source plan](https://www.netlify.com/legal/open-source-policy)
2025-05-19 00:52:20 +05:30
Kabir Oberai
02ea670a91 Add footer to docs (#61) 2025-05-19 00:02:05 +05:30
Kabir Oberai
dd5de802e6 Remove docs.yml action (#60) 2025-05-18 22:32:58 +05:30
Kabir Oberai
c2a0bee558 Set up Netlify redirects (#59) 2025-05-18 22:15:19 +05:30
Kabir Oberai
42b9147e8b Netlify support (#58) 2025-05-18 21:50:39 +05:30
Kabir Oberai
d78b2f9c29 Fix readme image (#57) 2025-05-18 07:29:47 +05:30
Kabir Oberai
dfb0e36d0e GitHub Pages (#56) 2025-05-18 07:25:55 +05:30
Kabir Oberai
975fd3362e Add more details to bug report template (#54) 2025-05-17 20:13:07 +05:30
Kabir Oberai
77b086d2d8 More XTL renaming (#51) 2025-05-17 18:32:58 +05:30
Kabir Oberai
274594bf25 Update Code of Conduct email (#50) 2025-05-17 17:55:15 +05:30
Kabir Oberai
03ca71a7c6 Add issue templates (#49) 2025-05-17 17:26:33 +05:30
Kabir Oberai
6a33a563f5 Create SECURITY.md (#48) 2025-05-17 17:18:55 +05:30
Kabir Oberai
62b3efbf99 Add Contributor Covenant code of conduct (#47) 2025-05-17 17:13:47 +05:30
Kabir Oberai
65c120fd00 AppImage: fix zsync file name 1.11.2 2025-05-16 01:03:02 +05:30
Kabir Oberai
9ec9e6723c Add update info to AppImage (#42) 1.11.1 2025-05-16 00:49:31 +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
2538d18ab0 Update macOS installation, suggest cask/.app 1.11.0 2025-05-14 13:40:38 +05:30
Kabir Oberai
fa74cd9b10 Fix ADI permissions (#33) 2025-05-14 12:11:08 +05:30
Kabir Oberai
579c907e56 Add iOS CI job (#31)
* Add iOS CI job

* dummy iOS failure

* Revert "dummy iOS failure"

This reverts commit 7c3ee19323.

* Use xcbeautify

* Pipefail

* Revert "Revert "dummy iOS failure""

This reverts commit 6b3608d396.

* Revert "Revert "Revert "dummy iOS failure"""

This reverts commit c08ff31b09.
2025-05-13 12:51:07 +05:30
Kabir Oberai
17d3d1019b Improve handling of paid developer accounts (#20)
* getTeamIsFree -> XcodeAuthData.team().isFree

* Only revoke certificates if on a free team

* Update OpenAPI spec, handle AVP

* Fix App ID capabilities on paid accounts
2025-05-12 18:14:36 +05:30
Kabir Oberai
b3c12ef4d2 Add build --ipa (#24) 2025-05-12 16:33:57 +05:30
Nanashi.
0ab48ac44f docs: add note about downloading Xcode.xip programmatically (#17)
* docs: add warning to Xcode.xip

* Copy tweaks

* Another tweak

---------

Co-authored-by: Kabir Oberai <oberai.kabir@gmail.com>
2025-05-11 22:46:28 +05:30
Kabir Oberai
b33a4ff8f6 Fix SPI Linux build, hopefully (#21)
* Use CMD instead of ENTRYPOINT

* Point SPI to xtool-dev image
2025-05-11 16:35:15 +05:30
Kabir Oberai
34819486cc Don’t release on push 2025-05-10 19:42:54 +05:30
Kabir Oberai
e7406472b3 Add macOS .app to releases (#13)
* Set up fastlane

* Add release-macos workflow

* for now

* bundle install

* Ruby versioning

* Fix Ruby 3.4

* Maybe fix CI

* Maybe unlock?

* Update Release workflow

* on push

* tweaks

* don’t use frozen

* Trying something a lil different
2025-05-10 19:42:07 +05:30
Kabir Oberai
51cab9a32e Package xtool as a .app on macOS (#12)
* Package xtool as a .app on macOS

* Need hardened runtime for notarization

* Rename product to xtool.app
2025-05-10 15:15:31 +05:30
Kabir Oberai
205041caa0 Refine NewCommand
Tweak template, respect quiet flag on macOS
2025-05-09 11:10:15 +05:30
Kabir Oberai
bc0e195ba3 Add WSL info 1.10.1 2025-05-09 01:32:40 +05:30
Kabir Oberai
f11b5d73f2 Merge pull request #11 from xtool-org/no-heartbeat
Drop heartbeat on non-iOS
2025-05-09 00:47:17 +05:30
Kabir Oberai
7272b7b990 Drop heartbeat on non-iOS 2025-05-09 00:26:57 +05:30
Kabir Oberai
ecfbc4da2b Merge pull request #10 from xtool-org/bump-linux
Bump Linux target
1.10.0
2025-05-08 23:44:24 +05:30
Kabir Oberai
90143eb875 Bump Linux target 2025-05-08 23:42:40 +05:30