10 comments

  • asimovDev 7 days ago
    I recently learned that you can now use .json project files in Xcode starting with 27. Why xcodegen? Backwards compatibility with older Xcode versions?

    https://developer.apple.com/documentation/xcode/updating-you...

    • rxliuli 4 days ago
      Good idea, I just updated the GitHub Actions and the CI configuration in the project, though it does require a unique xcode-27 runner. https://github.com/rxliuli/sim-drop/blob/main/SimDrop.xcodep...
    • LeoNatan25 6 days ago
      Because Claudette Geppetto’s “instinct" is to use xcodegen when no other instruction is given.
    • sunnybeetroot 7 days ago
      The same reason why you wouldn’t buy a 1st gen iPhone Duo
      • rafram 6 days ago
        I’ve never known Apple to break backwards-compatibility of things like config files. We’re still stuck with crazy formats like binary PLIST because of compatibility.
  • vishnuharidas 7 days ago
    Things like these need at least one screenshot!
  • WanderZil 5 days ago
    Nice that dropping a file that isn't an image or video into Photos and Videos redirects it to that simulator's Downloads, with a notification saying where it went.
    • rxliuli 4 days ago
      Yes, because non-image items cannot be dragged and dropped into the iOS photo library, I implemented an automatic redirect; the other option was to pop up a prompt and block the operation.
  • ChrisMarshallNY 6 days ago
    That's pretty cool!

    With simulators, I guess it really just drops them in the Xcode dev directory that holds the simulator runtime, so I guess this is really a file copy/move?

    I would like it as an easy way to browse the simulator files, sort of like iMazing.

    • rxliuli 6 days ago
      It is indeed a two-way file manager; you can read and write the emulator's Downloads and gallery directories, although I hardly use the other directories so I haven't exposed them—any thoughts?
      • ChrisMarshallNY 6 days ago
        Not really, but I confess to being hesitant to install yet another background-running app, when I could just use aliases to do the same thing.

        I guess the convenience is that the sidebar only shows running simulators

        • rxliuli 6 days ago
          Yeah, this is just a small tool, just to make it convenient for me to use Finder to transfer files into the iPhone Duo simulator. Of course, you can choose other ways to do something similar.
          • ChrisMarshallNY 6 days ago
            In any case, it’s cool, and thanks for sharing it!
  • tacie 6 days ago
    Does dragging a photo out of the sim also delete it there? For test fixtures I'd want copy both ways, so a toggle would be nice.
    • rxliuli 6 days ago
      No, by default dragging an image only copies it. If you want to delete it, you can select it and choose Move to Trash, or use the shortcut Cmd+Backspace.
  • isaac_c_lee 5 days ago
    Interesting. Does it detect changes and send notifications whenever the simulator files are updated?
    • rxliuli 4 days ago
      It does sync automatically—for example, after you delete a file from the simulator, you can also see in Finder that it has been deleted.
  • saagarjha 6 days ago
    Interesting choice to use a Finder extension. Why that instead of FSKit?
    • rxliuli 6 days ago
      Honestly, File Provider was just much simpler to get working...
    • fenmarlow 6 days ago
      [dead]
  • hyunsoo_xenoci 4 days ago
    [dead]
  • aman179102 6 days ago
    [dead]
  • niyongsheng 2 days ago
    [dead]