From eb5a859cbde6a9691c102db8a748940ae53f13c6 Mon Sep 17 00:00:00 2001 From: Eduard Bosch Date: Thu, 14 Mar 2019 15:32:46 +0100 Subject: [PATCH] fix: Skip main bundle path checking to know if injection is loaded --- Source/Shared/Injection.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Source/Shared/Injection.swift b/Source/Shared/Injection.swift index fcf49a4..1f1f7fd 100644 --- a/Source/Shared/Injection.swift +++ b/Source/Shared/Injection.swift @@ -86,10 +86,6 @@ public class Injection { return true } - if !Bundle.main.bundlePath.lowercased().contains("products/debug") { - return true - } - // Search for injection in the loaded bundles. var result: Bool = false for bundle in Bundle.allBundles {