Skip to content

feat: support Xcode 27#260

Merged
cb1kenobi merged 5 commits into
mainfrom
feature/xcode-27-device-hub
Jun 16, 2026
Merged

feat: support Xcode 27#260
cb1kenobi merged 5 commits into
mainfrom
feature/xcode-27-device-hub

Conversation

@hansemannn

@hansemannn hansemannn commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

This PR is adding changes to properly support Xcode 27 / iOS 27 / watchOS 27:

  • On Xcode 27+, simulators are not managed via Xcode anymore, but via an own "Device Hub" app. Updated the message to reflect that
  • Added Xcode 27 sim mappings

To test:

  1. Install Xcode 27 Beta (does not require macOS 27)
  2. Install iOS and watchOS runtimes
  3. Make sure these files are referenced in your build
  4. Run ti build -p ios

=> It should auto-detect the simulators, prompt for the new "Device Hub" app if no sims are configured and launch the Device Hub app once they are.

@hansemannn hansemannn changed the title chore: refer to Device Hub app on Xcode 27+ feat: support Xcode 27 Jun 12, 2026
@hansemannn hansemannn marked this pull request as draft June 12, 2026 07:52
@hansemannn hansemannn marked this pull request as ready for review June 12, 2026 08:33
@hansemannn hansemannn requested review from cb1kenobi and m1ga June 12, 2026 08:33
@m1ga

m1ga commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

simulators are not managed via Xcode anymore, but via an own "Device Hub" app

ah! That's why it was always empty. I've installed Xcode27 yesterday so I'll give this a try later

@m1ga

m1ga commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

It does find a simulator and when I delete them all it looks like it is automatically creating an iPhone Air simulator. It will also install and launch an app but then crash. Not part of this PR, just mention it here:

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   UIKitCore                     	       0x18a31c7b0 ___UIApplicationEvaluateRuntimeIssueForNoSceneLifecycleAdoption_block_invoke + 712
1   libdispatch.dylib             	       0x1b64d90c0 _dispatch_client_callout + 12
2   libdispatch.dylib             	       0x1b64c0fa0 _dispatch_once_callout + 28
3   UIKitCore                     	       0x18a33e034 -[UIApplication workspace:didCreateScene:withTransitionContext:completion:] + 320
4   UIKitCore                     	       0x189d6e0d0 -[UIApplicationSceneClientAgent scene:didInitializeWithEvent:completion:] + 260
5   FrontBoardServices            	       0x1a2038110 __95-[FBSScene _callOutQueue_didCreateWithTransitionContext:alternativeCreationCallout:completion:]_block_invoke + 304
6   FrontBoardServices            	       0x1a2038610 -[FBSScene _callOutQueue_maybeCoalesceClientSettingsUpdates:] + 116
7   FrontBoardServices            	       0x1a2037f80 -[FBSScene _callOutQueue_didCreateWithTransitionContext:alternativeCreationCallout:completion:] + 392
8   FrontBoardServices            	       0x1a209c40c __93-[FBSWorkspaceScenesClient _callOutQueue_sendDidCreateForScene:transitionContext:completion:]_block_invoke.282 + 216
9   FrontBoardServices            	       0x1a204517c -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 160
10  FrontBoardServices            	       0x1a205f1f8 -[FBSWorkspaceScenesClient _callOutQueue_sendDidCreateForScene:transitionContext:completion:] + 392
11  FrontBoardServices            	       0x1a2060840 __92-[FBSWorkspaceScenesClient createSceneWithIdentity:parameters:transitionContext:completion:]_block_invoke_2 + 204
12  FrontBoardServices            	       0x1a204517c -[FBSWorkspace _calloutQueue_executeCalloutFromSource:withBlock:] + 160
13  libdispatch.dylib             	       0x1b64d90c0 _dispatch_client_callout + 12
14  libdispatch.dylib             	       0x1b64c360c _dispatch_block_invoke_direct + 376
15  BoardServices                 	       0x199c79e70 __BSSERVICEMAINRUNLOOPQUEUE_IS_CALLING_OUT_TO_A_BLOCK__ + 44
16  BoardServices                 	       0x199c78f14 BSServiceMainRunLoopSourceHandler + 180
17  CoreFoundation                	       0x1831565b8 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
18  CoreFoundation                	       0x183156500 __CFRunLoopDoSource0 + 168
19  CoreFoundation                	       0x183155c90 __CFRunLoopDoSources0 + 220
20  CoreFoundation                	       0x183154ea4 __CFRunLoopRun + 760
21  CoreFoundation                	       0x18314ff8c _CFRunLoopRunSpecificWithOptions + 496
22  GraphicsServices              	       0x1d27f19ac GSEventRunModal + 116
23  UIKitCore                     	       0x18af4eea0 UIApplicationMain + 124
24  test_ios                      	       0x10291c1ec main + 792 (main.m:70)
25  dyld_sim                      	       0x102f8fcfc start_sim + 20
26  dyld                          	       0x102e5fe00 start + 6992

@hansemannn

Copy link
Copy Markdown
Contributor Author

Yep, the crash is because scene-related changes on the titanium-sdk side. Waiting for @cb1kenobi's approval as well, then we can release the new ioslib already :)

@cb1kenobi

Copy link
Copy Markdown
Member

Reviewing... need to free up more disk space :)

@cb1kenobi cb1kenobi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This seems to do the trick! Nice!

@cb1kenobi cb1kenobi merged commit 461272e into main Jun 16, 2026
5 checks passed
@cb1kenobi cb1kenobi deleted the feature/xcode-27-device-hub branch June 16, 2026 03:26
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.

3 participants