I recently learned that you can now use .json project files in Xcode starting with 27. Why xcodegen? Backwards compatibility with older Xcode versions?
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.
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.
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.
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.
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?
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.
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.
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...
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...
Because Claudette Geppetto’s “instinct" is to use xcodegen when no other instruction is given.
The same reason why you wouldn’t buy a 1st gen iPhone Duo
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.
Things like these need at least one screenshot!
100%.
I’m always surprised by the number of UI/UX-related repos without a single screenshot. That’s the first thing new people would like to see.
FWIW: https://rxliuli.com/project/sim-drop/
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.
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.
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.
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?
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
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.
In any case, it’s cool, and thanks for sharing it!
Interesting. Does it detect changes and send notifications whenever the simulator files are updated?
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.
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.
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.
Interesting choice to use a Finder extension. Why that instead of FSKit?
Honestly, File Provider was just much simpler to get working...