[X] This issue is not security related and can safely be disclosed publicly on GitHub
Xcode version
15.2
Facebook iOS SDK version
14.1.0
Dependency Manager
SPM
SDK Framework
Core, Auth, Share
Goals
Update Facebook SDK (Core, Auth, Share) to 14.1.0.
Expected results
Updating the SDK to 14.1.0 works without breaking the build process.
Actual results
After updating the Facebook SDK using SPM multiples errors are thrown and the project became unable to build.
FBSDKApplicationDelegate.h:26:6 'DEBUG' is not defined, evaluates to 0
FBSDKApplicationDelegate.h:31:5 'DEBUG' is not defined, evaluates to 0
FBSDKInternalUtility.h:31:6 'DEBUG' is not defined, evaluates to 0
FBSDKSettings.h:20:6 'DEBUG' is not defined, evaluates to 0
FBSDKShareKit-Swift.h:1156:9 Could not build module 'FBSDKCoreKit'
Checklist before submitting a bug report
Xcode version
15.2
Facebook iOS SDK version
14.1.0
Dependency Manager
SPM
SDK Framework
Core, Auth, Share
Goals
Update Facebook SDK (Core, Auth, Share) to 14.1.0.
Expected results
Updating the SDK to 14.1.0 works without breaking the build process.
Actual results
After updating the Facebook SDK using SPM multiples errors are thrown and the project became unable to build.
FBSDKApplicationDelegate.h:26:6 'DEBUG' is not defined, evaluates to 0 FBSDKApplicationDelegate.h:31:5 'DEBUG' is not defined, evaluates to 0 FBSDKInternalUtility.h:31:6 'DEBUG' is not defined, evaluates to 0 FBSDKSettings.h:20:6 'DEBUG' is not defined, evaluates to 0 FBSDKShareKit-Swift.h:1156:9 Could not build module 'FBSDKCoreKit'
Steps to reproduce
Install Facebook SDK (Core, Auth, Share) via SPM.