Always embed and link frameworks for macOS

This commit is contained in:
toshi0383
2017-10-01 09:23:45 +09:00
parent 388bc9280c
commit c94de4d6cc
@@ -297,6 +297,11 @@ public class PBXProjGenerator {
carthageFrameworksByPlatform[target.platform.carthageDirectoryName]?.append(fileReference)
targetFrameworkBuildFiles.append(buildFile.reference)
if target.platform == .macOS {
let embedFile = PBXBuildFile(reference: generateUUID(PBXBuildFile.self, fileReference + target.name), fileRef: fileReference, settings: dependency.buildSettings)
addObject(embedFile)
copyFiles.append(embedFile.reference)
}
}
}