hollance / Forge

A neural network toolkit for Metal
MIT License
1.27k stars 172 forks source link

No such module MetalPerformanceShaders #13

Closed lutyyy closed 6 years ago

lutyyy commented 7 years ago

I have this error issue. Can you have a look? thanks

austingg commented 7 years ago

you should provide more information. on iOS10, MPS can only develop on device, not simulator.

lutyyy commented 7 years ago

Oh I see. I let me try again, i am update to ios10.3.2 by the way, can i5s run success?

hollance commented 7 years ago

MetalPerformanceShaders needs a device with an A8 or higher processor, so a 5s won't work (the minimum device is an iPhone 6). You also cannot run in the simulator. Xcode gives this error if you try to run on the simulator (or I guess on a device that doesn't support MPS).