Skip to content

Doesn't work with Xcode 15 #2

Open

Description

@MLKrisJohnson

I don't know whether this worked with Xcode 14, but I'm trying with Xcode 15.

There aren't any instructions provided, so this is what I've tried:

  1. Open the project in Xcode 15
  2. Select my developer Team in Signing & Capabilities for the three targets
  3. Select an iOS device to run on (I am using an iPhone XS running iOS 16.0.3)
  4. Click the Run button

When I do that, I get this output in the debugger:

dyld[42790]: Library not loaded: @rpath/XCTAutomationSupport.framework/XCTAutomationSupport
  Referenced from: <971A8857-9DDE-3ED9-8A8D-0CCA344D2ADC> /private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/IDETestingFoundationTests.framework/IDETestingFoundationTests
  Reason: tried: '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/IDETestingFoundationTests.framework/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/ExportXCTAutomationSupport.framework/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/preboot/Cryptexes/OS@rpath/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/IDETestingFoundationTests.framework/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/ExportXCTAutomationSupport.framework/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/private/var/containers/Bundle/Application/8C0E11AE-4156-4ECE-A1B9-CEAF415B6F4C/LinkWithXCTAutomationSupport.app/Frameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2), '/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/PrivateFrameworks/XCTAutomationSupport.framework/XCTAutomationSupport' (errno=2)
Message from debugger: killed

Activity

  1. timofeys1 commented on Oct 4, 2023

    @timofeys1
    Owner

    The original demo was only meant for the simulator. I never expected someone to run this on a real device!

    I pushed a PoC to the main branch which should now work on the device. The idea is:

    1. Create a fake UI tests target which would create the -Runner.app bundle with the XCUI frameworks
    2. Copy the XCUI frameworks from the -Runner.app

    This should work for both the simulator and the real device

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions