Binaries are not adding under Build Phase in Link Binary with Libraries Section
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 2.2k
- Forks
- 355
- Avg merge
- 5h 48m
- Merged PRs (30d)
- 13
Description
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.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported behavior with the provided XCSwiftPackageProductDependency code under Xcode 16, then inspect the generated project’s Link Binary with Libraries section and the package references. Compare the generated project with an equivalent project created under Xcode 15; done means package products appear in the expected build phase.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100