                 let buildPath = Path(dependency.reference).parent().string.quoted
                 frameworkBuildPaths.insert(buildPath)
             case .sdk:
+                // Static libraries can't link or embed dynamic frameworks
+                guard target.type != .staticLibrary else { break }
 
                 var dependencyPath = Path(dependency.reference)
                 if !dependency.reference.contains("/") {

                }

            case .framework:
                guard target.type != .staticLibrary else { break }

                let fileReference: PBXFileElement

                targetFrameworkBuildFiles.append(buildFile)

            case .carthage:
                // Static libraries can't link or embed dynamic frameworks
                guard target.type != .staticLibrary else { break }

                var platformPath = Path(getCarthageBuildPath(platform: target.platform))
