3 ms·
Swift Playgrounds example doesn't work on 12.1: assert(Bundle(path: "/System/Library/PrivateFrameworks/AvatarUI.framework")!.load()) Error: Unexpectedly found
by ackfoo 8y ago
Swift Playgrounds example doesn't work on 12.1:
assert(Bundle(path: "/System/Library/PrivateFrameworks/AvatarUI.framework")!.load())
Error: Unexpectedly found nil while unwrapping an Optional value.
- saagarjha 8y agoThis framework doesn’t exist on my iPad. Either Apple has removed it from non-Face ID capable iPads, or dropped it altogether.
- zapzupnz 8y agoYes, the framework isn't installed on devices that don't have the Face ID camera — because there's no use making Memoji (what AvatarUI.framework is for) without it.
- synotic 8y agoWorks for me on 12.1.1 on iPad Pro with FaceID.
- zapzupnz 8y agoThat means your device doesn't have the Face ID camera and therefore doesn't include the AvatarUI framework, responsible for making Memoji.