Binaries are not adding under Build Phase in Link Binary with Libraries Section
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 技术栈
- swift
- 领域
- build-system
调研方向
首先,在 Xcode 16 下使用提供的 XCSwiftPackageProductDependency 代码复现报告中的行为,然后检查生成项目的 Link Binary with Libraries 部分和软件包引用。将生成的项目与在 Xcode 15 下创建的等效项目进行比较;当软件包产品出现在预期的构建阶段中时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
Hi,
I am using the Tuist/XcodeProj library for generating Xcode-Project after updating to Xcode-16. I am facing an issue my libraries are not added under the Link Binary with Libraries section. I have also updated the library to the latest version (8.24.3) and made necessary changes, like changing package to remotePackage. Still packages are not adding.
Using this code to add packages
let productDependency = XCSwiftPackageProductDependency(
productName: productName,
package: packageReference
)
packageProductDependencies.append(productDependency)
pbxProj.add(object: productDependency)
pbxProject.remotePackages = packages
Till Xcode 15 above code is working fine. Please help me out where I am making mistake.
- 主要语言
- Swift
- 星标
- 2.2k
- 派生
- 356
- 平均合并
- 5 小时 54 分钟
- 30 天内合并 PR
- 8
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
tuist/XcodeProj 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
-
难度 1/5 1 小时以内 新手友好度 85/100
-
难度 3/5 1-2 天 新手友好度 52/100
-
Removing a target referenced by PBXFileSystemSynchronizedBuildFileExceptionSet crashes serialization未关闭
难度 4/5 3-5 天 新手友好度 55/100
-
PBXProjEncoder crashes when sorting projectReferences if ProjectRef file element has nil name可能已有人在做 @Ant-tree 于 269 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
swiftlang/swift-markdown#299 ·
-
area: agents follow-up
难度 2/5 1-3 小时 新手友好度 77/100
manaflow-ai/cmux#37234 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
维护者通常 1 天内回复
-
bug product / functions
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复