facebook / facebook-ios-sdk

Used to integrate the Facebook Platform with your iOS & tvOS apps.
https://developers.facebook.com/docs/ios
Other
7.8k stars 3.56k forks source link

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

Open ayushmahajan12 opened 8 months ago

ayushmahajan12 commented 8 months ago

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.

  1. In Xcode, click File > Swift packages > Add package dependency.

  2. In Package repository, enter the repository URL: https://github.com/facebook/facebook-ios-sdk.

  3. In Version, select Up to next major and the default option.

  4. 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

// INSERT YOUR CODE HERE
var example = "Example code"
sg3510 commented 7 months ago

Also noticing this