Skip to content
iOS Memoji editor ported to run on macOS through Catalyst
Objective-C Shell C Python
Branch: master
Clone or download
Cannot retrieve the latest commit at this time.
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CopyAvatarFrameworks
LaurelmojiCatalyst.xcodeproj
LaurelmojiCatalyst
Messages
.gitignore
LICENSE
README.md
screenshot.png

README.md

A port of the Memoji editor from Xcode 11's iOS Simulator to macOS Catalyst.

screenshot

What works

  • Launching the Memoji editor

What's broken

  • I can't build this into a working app yet; it only runs inside Xcode for now
  • Massive lag when clicking on anything, as it tries to save the Memoji to a non-existant XPC service
  • For some reason, the Memoji are extremely polygonal - it seems tesselation is broken or turned off?

What will probably never work

  • Face tracking isn't included in the simulator code, so that won't work. (Unless someone wants to reverse engineer and reimplement it?)

How to try this

  • Install Xcode 11.0 on macOS Catalina 10.15
  • Install LLVM from LLVM's releases page
  • Install Python 3
  • cd CopyAvatarFrameworks
  • Create a llvm_path.conf file containing the path to your LLVM installation
  • ./copy_avatar_frameworks.sh
  • open the project in Xcode
  • Click LaurelmojiCatalyst -> "Edit Scheme" -> "Arguments" -> "Environment Variables"
  • Add:
    • DYLD_FORCE_FLAT_NAMESPACE = 1
    • SIMULATOR_SHARED_RESOURCES_DIRECTORY = /tmp
  • Build and run in Xcode.

Further information

See my blog for my previous research:

License

MIT.

You can’t perform that action at this time.