Posts

Post not yet marked as solved
4 Replies
I had the same issue with a model in a .bundle folder. I found a workaround for it. It should also work for frameworks. Instead of using Bundle(identifier: "com.company.bundle").url(forResource: "model", withExtension: "mlmodelc") you can use Bundle.main.url(forResource: "model", withExtension: "mlmodelc", subdirectory: "bundle.bundle") This is definitely hacky but it works in my case.