As of this writing, testing the image detection ML model inside the simulator (I am using Xcode 14.0 beta 3), won’t work if you are targeting iOS or iPadOS, you have to use an actual device. But now I stumbled onto the fact that if you can make your app, run for the “My Mac (Designed for iPad)” target, you can actually test the ML model without installing it on an actual device. So next time you need to work on the integration of an ML model in your app, you can use the “My Mac (Designed for iPad)” target, and move trough development without a problem. I do hope in future versions, you will be able to run ML models inside the simulator.
Xcode Testing ML model for your app without running on the device
- Post author By Cosmin Dolha
- Post date July 25, 2022
By Cosmin Dolha
Cosmin Dolha, born in 1982 in Arad, Romania, is a dedicated programmer and digital artist with over 19 years of experience in the field. Married to his best friend, Cosmin is a proud father of two wonderful boys.
Throughout his career, Cosmin has designed and developed web apps, RIAS, real-time apps, and mobile applications for clients in the United States. He has also created around 25 educational games using AS3 and Haxe and has spent a year working with Unity for VR, ECS, and C# for Oculus GO.
Presently, Cosmin focuses on using Swift (Apple) to build software tools that incorporate GPT and Azure Cognitive Services. His interests extend beyond programming and include art, music, photography, 3D modeling (Zbrush, Blender), behavioral science, and neuropsychology, with a particular focus on the processing of visual information.
Cosmin is an avid podcast listener, with Lex Fridman, Andrew Huberman, and Eric Weinstein among his favorites. His reading list can be found on Goodreads, providing further insight into his interests: https://www.goodreads.com/review/list/78047933?shelf=%23ALL%23
His top 10 songs, available as a YouTube playlist, showcase his taste in music: https://www.youtube.com/playlist?list=PL5aMgX67sX9XltpvlYoih7BRAZwMrckSB
For inquiries or collaboration, Cosmin can be reached via email at contact@cosmindolha.com.
View Archive →