Skip to content

Conversation

@macCesar
Copy link
Contributor

@macCesar macCesar commented Nov 21, 2025

Summary

This PR prepares TiNy v5.1.0 with two key updates:

1. macOS/Catalyst Build Support (NEW) 🎉

Added built-in recipes for building iOS apps on macOS using Mac Catalyst:

  • tn mac - Build for macOS (expands to ti build --platform ios --target macos)
  • tn catalyst - Alias for mac recipe

Requirements:

  • Titanium SDK 13.1.0+ with macOS build support
  • Apple Silicon Mac (for running macOS apps via Catalyst)

Testing:

tn mac --verbose
tn catalyst

Both expand correctly to ti build --platform ios --target macos and successfully build/launch macOS apps via Catalyst.

2. iOS Simulator Recipe Updates

  • Update default iOS simulator recipes for modern development:
    • ip15/ip16ip18/ip26 (iOS 18.6, 26.1)
    • ipad15/ipad16ipad18/ipad26
  • Remove obsolete recipes no longer relevant for Titanium SDK 13:
    • retina - all iOS screens are retina now
    • sim-64bit - iOS dropped 32-bit support since iOS 11
    • tall - iPhone 5 "tall screen" reference
    • force-copy, force-copy-all - legacy workarounds
    • sim-focus, avd-skin - rarely used legacy options

Changes

  • ✅ Added mac and catalyst recipes to tn.json
  • ✅ Updated iOS simulator recipes (ip18, ip26, ipad18, ipad26)
  • ✅ Removed obsolete iOS recipes
  • ✅ Updated README with all new recipes in built-in table
  • ✅ Added comprehensive CHANGELOG entry for v5.1.0
  • ✅ Bumped package version to 5.1.0 (minor release)

Version Bump

This is a minor version bump (5.0.0 → 5.1.0) as it adds new functionality (macOS support) while maintaining backward compatibility.

Test plan

  • Run tn list to verify updated recipes appear correctly
  • Test tn ip18 and tn ip26 with Xcode 26.1.1 simulators
  • Test tn mac and tn catalyst build for macOS via Catalyst
  • Verify removed recipes no longer appear in list

Related

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • Added macOS/Catalyst build targets to support Apple Silicon and macOS builds.
  • Chores

    • Updated iPhone and iPad simulator configurations to newer simulator variants for improved compatibility.
    • Removed legacy Android/iOS simulator flags to simplify public recipe entries.
    • Bumped package version to 5.1.0 and added a changelog entry for the release.

✏️ Tip: You can customize this high-level summary in your review settings.

- Update simulator recipes: ip15/ip16 → ip18/ip26 (iOS 18.6, 26.1)
- Update iPad recipes: ipad15/ipad16 → ipad18/ipad26
- Remove obsolete recipes: retina, sim-64bit, tall, force-copy,
  force-copy-all, sim-focus, avd-skin

These changes modernize the default recipes for Titanium SDK 13 and
Xcode 26.1.1 compatibility.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
@coderabbitai
Copy link

coderabbitai bot commented Nov 21, 2025

📝 Walkthrough

Walkthrough

Adds mac and catalyst top-level keys and replaces legacy iOS simulator keys in tn.json (ip15/ip16/ipad15/ipad16 → ip18/ip26/ipad18/ipad26); removes several obsolete iOS/Android option keys. README, CHANGELOG, and package.json updated accordingly.

Changes

Cohort / File(s) Summary
Device and Option Configuration
tn.json
Added mac, catalyst, ip18, ip26, ipad18, ipad26; removed ip15, ip16, ipad15, ipad16; removed obsolete keys avd-skin, force-copy, force-copy-all, retina, sim-64bit, sim-focus, tall.
Documentation
README.md, CHANGELOG.md
README updated to reflect new simulator keys and public recipe list; CHANGELOG includes 5.1.0 entry documenting macOS/Catalyst support and usage examples.
Packaging
package.json
Bumped package version from 5.0.0 to 5.1.0.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐇 I hopped through JSON, nudged some keys anew,
Old flags waved goodbye, while mac and catalyst grew.
Four simulators traded their coats,
A tiny release, and cheerful notes. ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately reflects the main changes: adding macOS support via mac/catalyst recipes and updating iOS simulator recipes from older versions to newer Xcode 26.1 variants.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 527c6c8 and 80ea0f1.

📒 Files selected for processing (1)
  • tn.json (1 hunks)

Update recipe table to reflect changes in tn.json:
- ip17/ip18 → ip18/ip26 (iOS 18.6, 26.1)
- ipad17/ipad18 → ipad18/ipad26
- Remove obsolete recipes from documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <[email protected]>
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 80ea0f1 and 83c405b.

📒 Files selected for processing (1)
  • README.md (1 hunks)
🔇 Additional comments (1)
README.md (1)

1-127: Removed recipes have been successfully eliminated across all files.

Verification confirms that all seven recipes (avd-skin, force-copy, force-copy-all, retina, sim-64bit, sim-focus, tall) are completely absent from documentation and configuration files. The matches for "tall" are false positives appearing only within words like "install" and "globally," not as standalone recipe references.

Adds built-in recipes for building iOS apps on macOS using Mac Catalyst:
- `tn mac` - Build for macOS (expands to --platform ios --target macos)
- `tn catalyst` - Alias for mac recipe

This feature requires Titanium SDK 13.1.0+ with macOS build support.
Works on Apple Silicon Macs running macOS apps via Catalyst.

Bumps version to 5.1.0 (minor release - new feature, backward compatible).

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@macCesar macCesar changed the title feat: Update iOS simulator recipes for Xcode 26.1 and remove obsolete options feat: Add macOS support and update iOS simulator recipes (v5.1.0) Jan 11, 2026
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Fix all issues with AI agents
In @CHANGELOG.md:
- Line 13: Replace the incorrect lowercase "macos" with the proper "macOS" in
the changelog entry: update the description that currently reads "`mac`: Build
for macOS (`--platform ios --target macos`)" so the OS name and the target flag
use "macOS" (i.e., change `--target macos` to `--target macOS` and ensure the
descriptive text says "macOS").

In @README.md:
- Line 95: Update the README table entry that currently shows "--platform ios
--target macos" to use the correct Apple capitalization "macOS" (i.e., change
"macos" to "macOS") so the row reads "--platform ios --target macOS"; this fixes
the capitalization issue in the README.
📜 Review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 83c405b and 315ff89.

📒 Files selected for processing (4)
  • CHANGELOG.md
  • README.md
  • package.json
  • tn.json
🧰 Additional context used
🪛 LanguageTool
README.md

[uncategorized] ~95-~95: The operating system from Apple is written “macOS”.
Context: ... | --platform ios --target macos | | catalyst ...

(MAC_OS)

CHANGELOG.md

[uncategorized] ~13-~13: The operating system from Apple is written “macOS”.
Context: ...ac Catalyst - mac: Build for macOS (--platform ios --target macos) - catalyst: Alias for --mac -...

(MAC_OS)

🔇 Additional comments (6)
package.json (1)

14-14: LGTM! Version bump aligns with new features.

The minor version bump to 5.1.0 appropriately reflects the addition of macOS/Catalyst support and updated simulator configurations.

CHANGELOG.md (1)

12-16: Documentation clearly describes the new macOS/Catalyst feature.

The changelog entry provides clear context about the new recipes, requirements, and platform support.

README.md (2)

95-96: macOS/Catalyst recipes look correct.

The new mac and catalyst recipes properly expand to the correct Titanium CLI arguments for building macOS apps via Mac Catalyst.


112-115: The specified iOS versions in the recipe are valid. As of January 2026, iOS 26.2 is the current stable release (released December 12, 2025), which means iOS 26.1 is a legitimate intermediate version. The recipe specifications for ip26 and ipad26 with --sim-version 26.1 are accurate.

Likely an incorrect or invalid review comment.

tn.json (2)

11-12: macOS/Catalyst recipes are correct.

The mac recipe properly expands to build for macOS target, and catalyst correctly aliases to the mac recipe. The lowercase "macos" value is the correct format as documented in the README and CHANGELOG.


31-34: iOS 26 is incompatible with Xcode 16; reconsider the version target.

Lines 32 and 34 specify "26.1" as the simulator version for ip26 and ipad26 recipes. While iOS 26 does exist (as of January 2026), Xcode 16 does not include the iOS 26 SDK and cannot build for iOS 26—a newer Xcode version is required.

If users with Xcode 16 run these recipes, simulator builds will fail:

  • tn ip26
  • tn ipad26

Either specify an iOS version that Xcode 16 supports (iOS 15–18), or document that a newer Xcode is required.

Likely an incorrect or invalid review comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant