From 0b5b93bba4ea0a631f1b635f32ad5115072cc80a Mon Sep 17 00:00:00 2001 From: Albert Ho Date: Fri, 29 Nov 2024 15:14:04 -0800 Subject: [PATCH] fix --- binding/ios/Falcon.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/binding/ios/Falcon.swift b/binding/ios/Falcon.swift index 98098f7..8fe4084 100644 --- a/binding/ios/Falcon.swift +++ b/binding/ios/Falcon.swift @@ -86,10 +86,10 @@ public class Falcon { throw FalconIOError("Could not retrieve default model from the package bundle") } - let bundle = Bundle(for: type(of: self)) - #else + let bundle = Bundle(for: type(of: self)) + modelPathArg = bundle.path(forResource: "falcon_params", ofType: "pv") if modelPathArg == nil { throw FalconIOError("Could not retrieve default model from app bundle")