Skip to content

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

Open
@Vikalp0

Description

@Vikalp0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions