I installed iOS SDK version 16.0.3 using the Swift Package Manager process, but when I checked on the Facebook developer account, it showed version 0.3.1. #2362
[X] This issue is not security related and can safely be disclosed publicly on GitHub
Xcode version
15.3
Facebook iOS SDK version
16.3.1
Dependency Manager
CocoaPods
SDK Framework
Core
Goals
We want to track the events when users see the advertisement of our app. Additionally, when a user clicks on that advertisement, they should be navigated to our application.
Expected results
I integrated the iOS SDK version 16.3.1 successfully, and the same version should shown on to the Facebook developer account.
Actual results
I integrated the iOS SDK version 16.3.1 successfully, , but on to the Facebook developer account it shows 0.3.1
Steps to reproduce
Using Swift Package Manager (SPM)
If your app uses SPM to integrate with the Facebook SDK for iOS, follow these steps.
In Xcode, click File > Swift packages > Add package dependency.
Checklist before submitting a bug report
Xcode version
15.3
Facebook iOS SDK version
16.3.1
Dependency Manager
CocoaPods
SDK Framework
Core
Goals
We want to track the events when users see the advertisement of our app. Additionally, when a user clicks on that advertisement, they should be navigated to our application.
Expected results
I integrated the iOS SDK version 16.3.1 successfully, and the same version should shown on to the Facebook developer account.
Actual results
I integrated the iOS SDK version 16.3.1 successfully, , but on to the Facebook developer account it shows 0.3.1
Steps to reproduce
Using Swift Package Manager (SPM) If your app uses SPM to integrate with the Facebook SDK for iOS, follow these steps.
In Xcode, click File > Swift packages > Add package dependency.
In Package repository, enter the repository URL: https://github.com/facebook/facebook-ios-sdk.
In Version, select Up to next major and the default option.
Complete the prompts to select the libraries you want to use in your project.
OR
Add the code to the podfile for the packages that are used in your app.
Example:
pod 'FBSDKCoreKit', '~> 8.0.0' pod 'FBSDKLoginKit', '~> 8.0.0' pod 'FBSDKShareKit', '~> 8.0.0' pod 'FBSDKGamingServiceKit', '~> 8.0.0'
Code samples & details