Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binaries are not adding under Build Phase in Link Binary with Libraries Section #868

Open
Vikalp0 opened this issue Oct 14, 2024 · 0 comments

Comments

@Vikalp0
Copy link

Vikalp0 commented Oct 14, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant