From 99c80bae66797ead727ba7cd04dbda20e18aec8c Mon Sep 17 00:00:00 2001 From: Wei Zhu Date: Fri, 26 Mar 2021 13:23:28 +0800 Subject: [PATCH] fix: infinite loop when loading framework --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index 3a9b9c3..6be8371 100644 --- a/lib/index.js +++ b/lib/index.js @@ -15,7 +15,7 @@ function findProjectPath(resourcePath) { const ext = path.extname(resourcePath); - if (ext === '.xcodeproj' || ext === '.xcworkspace') { + if (ext === '.xcodeproj' || ext === '.xcworkspace' || ext === '.framework') { return resourcePath; }