[X] This issue is not security related and can safely be disclosed publicly on GitHub
Xcode version
15.1
Facebook iOS SDK version
17.0.0
Dependency Manager
Carthage
SDK Framework
Login
Goals
The Facebook SDK must also be built successfully in Unity.
Expected results
Adding the Facebook SDK to Unity and exporting it to Xcode should not result in a build failure.
Actual results
After adding the Facebook SDK to Unity and exporting it to Xcode, the build fails. The build failure is due to the Facebook SDK's Validation Failed. (Validation Error: A sealed resource is missing or invalid).
The reason for the Validation Failed error is as follows: There is a build issue due to the symlink while applying the FacebookSDK_Dynamic.xcframework.zip file.
Symlinks have been identified in the folders and files under the following XCFrameworks:
Adding these XCFrameworks to the Unity engine will break the symlinks. (The file copying provided by the Unity Engine does not preserve symlinks.) In this state, performing a Unity Build will result in a Validation Failed error for the Facebook SDK in Xcode. (Validation Error: A sealed resource is missing or invalid).
original XCFramework
XCFramework added to Unity
The FacebookSDK-Static_XCFramework.zip does not have symlinks, so this issue does not occur.
Steps to reproduce
No response
Code samples & details
// INSERT YOUR CODE HERE
var example = "Example code"
Checklist before submitting a bug report
Xcode version
15.1
Facebook iOS SDK version
17.0.0
Dependency Manager
Carthage
SDK Framework
Login
Goals
The Facebook SDK must also be built successfully in Unity.
Expected results
Adding the Facebook SDK to Unity and exporting it to Xcode should not result in a build failure.
Actual results
After adding the Facebook SDK to Unity and exporting it to Xcode, the build fails. The build failure is due to the Facebook SDK's Validation Failed. (Validation Error: A sealed resource is missing or invalid).
The reason for the Validation Failed error is as follows: There is a build issue due to the symlink while applying the FacebookSDK_Dynamic.xcframework.zip file.
Symlinks have been identified in the folders and files under the following XCFrameworks:
Adding these XCFrameworks to the Unity engine will break the symlinks. (The file copying provided by the Unity Engine does not preserve symlinks.) In this state, performing a Unity Build will result in a Validation Failed error for the Facebook SDK in Xcode. (Validation Error: A sealed resource is missing or invalid).
original XCFramework
XCFramework added to Unity
The FacebookSDK-Static_XCFramework.zip does not have symlinks, so this issue does not occur.
Steps to reproduce
No response
Code samples & details