Revert "Change FRAMEWORK_SEARCH_PATH for xcframeworks (#1015)" (#1081)

* Revert "Change FRAMEWORK_SEARCH_PATH for xcframeworks (#1015)"

This reverts commit 7b8f5a117f.

* Don't actually revert the changelog entry

* ProjectSpec.md: document how to link an xcframework

* Update CHANGELOG.md
This commit is contained in:
Elliott Williams
2021-05-22 10:32:09 +10:00
committed by GitHub
parent 938b826913
commit 8bfa2f33e4
4 changed files with 12 additions and 56 deletions
+2 -12
View File
@@ -769,19 +769,9 @@ public class PBXProjGenerator {
case .framework:
if !dependency.implicit {
let buildPath = Path(dependency.reference)
let buildPathString: String
if buildPath.extension == "xcframework" {
buildPathString = """
"\(Path(dependency.reference).string)/**"
"""
} else {
buildPathString = buildPath.parent().string.quoted
}
frameworkBuildPaths.insert(buildPathString)
let buildPath = Path(dependency.reference).parent().string.quoted
frameworkBuildPaths.insert(buildPath)
}
let fileReference: PBXFileElement
if dependency.implicit {