diff --git a/Workflow.xcodeproj/project.pbxproj b/Workflow.xcodeproj/project.pbxproj index 2f4280cb8..fd2895eb4 100644 --- a/Workflow.xcodeproj/project.pbxproj +++ b/Workflow.xcodeproj/project.pbxproj @@ -1241,6 +1241,11 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"${PODS_CONFIGURATION_BUILD_DIR}/Swinject\"", + "$(PLATFORM_DIR)/Developer/Library/Frameworks", + ); INFOPLIST_FILE = Workflow/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 11.0; @@ -1271,6 +1276,11 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; + FRAMEWORK_SEARCH_PATHS = ( + "$(inherited)", + "\"${PODS_CONFIGURATION_BUILD_DIR}/Swinject\"", + "$(PLATFORM_DIR)/Developer/Library/Frameworks", + ); INFOPLIST_FILE = Workflow/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 11.0; diff --git a/Workflow/TestOnly/WorkflowListener.swift b/Workflow/TestOnly/WorkflowListener.swift index dc8408977..81cc64ad7 100644 --- a/Workflow/TestOnly/WorkflowListener.swift +++ b/Workflow/TestOnly/WorkflowListener.swift @@ -10,14 +10,14 @@ import Foundation import XCTest -public func XCTAssertWorkflowLaunched(listener: WorkflowListener, expectedFlowRepresentables:[AnyFlowRepresentable.Type]) { - XCTAssertNotNil(listener.workflow, "No workflow found") +public func XCTAssertWorkflowLaunched(listener: WorkflowListener, expectedFlowRepresentables:[AnyFlowRepresentable.Type], file: StaticString = #file, line: UInt = #line) { + XCTAssertNotNil(listener.workflow, "No workflow found", file: file, line: line) guard let workflow = listener.workflow, expectedFlowRepresentables.count == workflow.count else { - XCTFail("workflow does not contain correct representables: \(String(describing: listener.workflow?.compactMap { String(describing: $0.value.flowRepresentableType) }) )") + XCTFail("workflow does not contain correct representables: \(String(describing: listener.workflow?.compactMap { String(describing: $0.value.flowRepresentableType) }) )", file: file, line: line) return } XCTAssertEqual(workflow.compactMap { String(describing: $0.value.flowRepresentableType) }, - expectedFlowRepresentables.map { String(describing: $0) }) + expectedFlowRepresentables.map { String(describing: $0) }, file: file, line: line) } public class WorkflowListener {