Comments (9)
@Volodymyr-13 , you can change the dependency rule and select the "Exact version" from the dropdown and enter the version 16.3.1, then try
from facebook-ios-sdk.
This issue is caused by Facebook tagging the releases inconsistently. There are multiple entries for 14.1.0. All other releases are prefixed with a v
. Swift package manager is prioritizing the numeric 14.1.0
naming scheme over the alphanumeric v14.1.0
.
Here it is in context:
If Facebook were to remove the v
prefix and use numeric version tags and/or keep everything consistent, then Xcode and SPM would pull in the correct version.
Using multiple schemes like this has caused issues like this in the past with other packages.
Facebook can you help?
from facebook-ios-sdk.
Can I know, After updating SDK version i.e. 16.3.1 are you able to see the exact version on facebook developer account.
I updated the SDK version to 16.3.1 but I'm not able to see the that version on Meta developer account, it is displaying the 0.3.1 instead oi 16.3.1
from facebook-ios-sdk.
updating Facebook SDK to 17.0.0 bug it is fail ,please update to 17.0.0
from facebook-ios-sdk.
I want to updating Facebook SDK to 17.0.0 bug it is fail ,please update to 17.0.0
from facebook-ios-sdk.
I'm currently using Facebook SDK version 16.3.1 in my Swift project,but ,it don't include Privacy Manifests,please update 17.0.0
from facebook-ios-sdk.
Same here for 17.0.0
@ayushmahajan12 this should be updated in package here.. they just don't do this.. only they from all any other SDK's.. well facebook is facebook..
from facebook-ios-sdk.
As an experiment, you can create a new blank Swift Package and manually link the dependencies:
// Package.swift
// swift-tools-version: 5.10
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "FacebookSPMTest",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "FacebookSPMTest",
targets: ["FacebookSPMTest"]),
],
dependencies: [
.package(url: "https://github.com/facebook/facebook-ios-sdk", exact: .init(stringLiteral: "v16.3.1"))
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "FacebookSPMTest",
dependencies: [
.product(name: "FacebookCore", package: "facebook-ios-sdk"),
.product(name: "FacebookLogin", package: "facebook-ios-sdk")
]),
.testTarget(
name: "FacebookSPMTestTests",
dependencies: ["FacebookSPMTest"]),
]
)
Specifying a direct commit hash for the release works and the products like FacebookCore
and FacebookLogin
are available.
let package = Package(
name: "FacebookSPMTest",
products: [
// Products define the executables and libraries a package produces, making them visible to other packages.
.library(
name: "FacebookSPMTest",
targets: ["FacebookSPMTest"]),
],
dependencies: [
.package(url: "https://github.com/facebook/facebook-ios-sdk", revision: "3fe31c1")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "FacebookSPMTest",
dependencies: [
.product(name: "FacebookCore", package: "facebook-ios-sdk"),
.product(name: "FacebookLogin", package: "facebook-ios-sdk")
]),
.testTarget(
name: "FacebookSPMTestTests",
dependencies: ["FacebookSPMTest"]),
]
)
Curiously, if you specify the exact version number without the v
prefix directly in a Package manifest or in Xcode, things work.
dependencies: [
.package(url: "https://github.com/facebook/facebook-ios-sdk", exact: .init(stringLiteral: "16.3.1"))
// Doesn't Work
// .package(url: "https://github.com/facebook/facebook-ios-sdk", exact: .init(stringLiteral: "v16.3.1"))
],
from facebook-ios-sdk.
I also had this problem and tried to install with SPM, but there was no suitable version.
I figured it out after several attempts.
Please change the Facebook version in Package Dependencies of the project.
from facebook-ios-sdk.
Related Issues (20)
- Build error with FBAudienceNetwork.xcframework: Signature cannot be verified HOT 2
- ld: symbol(s) not found for architecture arm64 (Flutter) HOT 5
- iOS SDK API does not work even after performing all requested actions
- Privacy manifests only included in release 17.0.0 with breaking changes HOT 13
- Xcode15.3: After updating SDKv17.0.0 through SPM, an error occurred while running the project: dyld [5199]: Library not loaded: @ rpath/FBSDKCoreKit. framework/FBSDKCoreKit, unable to start the application HOT 12
- unity sdk 17.0.0 how date update ?
- App is live but only approved testers can login (using limited login on 17.0.0) HOT 9
- Limited Login Failed on iOS 17 HOT 2
- Facebook Login using SDK 17.0.0 always displays a limited login warning HOT 2
- Warning Issue with FBAudienceNetwork 6.15.0 Upgrade via Cocoapods HOT 1
- m.facebook.com
- apps.microsoft.com
- Get wrong first name from `Profile.current?.firstName`
- FBSDKShareVideo failed, Error Message:"FBSDKErrorDeveloperMessageKey=Must refer to an asset file." HOT 1
- Multiple FBAudienceNetwork pod spec for the same version HOT 1
- Swift Package version 17.0.0 fails on Xcode 15.3
- SDK v17.0.0 may not get valid AccessToken immediately after call ApplicationDelegate didFinishLaunchingWithOptions
- v17.0.0 Invalid access tokenString HOT 10
- sdk17.0.0 iOS系统17以上 登录不了 token验证失败 HOT 2
- limited login auth token not refreshed when trackingPreference not explicitly passed in login config
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from facebook-ios-sdk.