facebook / facebook-ios-sdk

Used to integrate the Facebook Platform with your iOS & tvOS apps.

Home Page:https://developers.facebook.com/docs/ios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot build Xcode Project After 17.0.0 version

issuemine opened this issue · comments

Checklist before submitting a bug report

Xcode version

14.4.1

Facebook iOS SDK version

17.0.1

Dependency Manager

SPM

SDK Framework

Core

Goals

The project structure is built by including the Static Library (.a File) created within the team in the main project, and both have Facebook SDK as a dependency.

The goal is to build the main project.

Expected results

Build Successfully

Actual results

Up to version 16.x.x, the build worked without problems just by upgrading the version, but from version 17.0.0 onwards, the following error occurs.

  1. Duplicate Symbols
  2. Multiple command produce /{Path of DerivedData}/~~~

The project structure is built by including the Static Library created within the team in the main project, and both have Facebook SDK as a dependency.
When adding dependency with SPM, error (1) above appears and Static Library,
When adding the Dynamic Static Library manually, error (2) above appears.

Steps to reproduce

After upgrading the Facebook SDK version in the Xcode project, the build does not work.

Up to version 16.x.x, the build worked without problems just by upgrading the version, but from version 17.0.0 onwards, the following error occurs.

  1. Duplicate Symbols
스크린샷 2024-05-16 오후 5 06 17
  1. Multiple command produce /{Path of DerivedData}/~~~
스크린샷 2024-05-16 오후 4 47 55

The project structure is built by including the Static Library created within the team in the main project, and both have Facebook SDK as a dependency.
When adding dependency with SPM, error (1) above appears and
When adding the Dynamic Library, Static Library manually, error (2) above appears.

Both are written in Objective-C language.

Even if I change various build settings, the same problem occurs.

Is there any solution?

Code samples & details

No response