parse-community / Parse-SDK-iOS-OSX

The Apple SDK for Parse Platform (iOS, macOS, watchOS, tvOS)
https://parseplatform.org
Other
2.81k stars 865 forks source link

Undefined symbols for architecture x86_64: "_swift_stdlib_isStackAllocationSafe" #2175 #1703

Closed yasirmturk closed 1 year ago

yasirmturk commented 1 year ago

New Issue Checklist

Issue Description

I have added facebook SDK using SPM and using only Core/Share I am using Parse for login

Steps to reproduce

Actual Outcome

"_swift_stdlib_isStackAllocationSafe", referenced from:
      function signature specialization <Arg[1] = Owned To Guaranteed> of generic specialization <FBSDKLoginKit.FBPermission> of Swift._NativeSet.intersection(Swift._NativeSet<A>) -> Swift._NativeSet<A> in FBSDKLoginKit(LoginManager.o)
      merged function signature specialization <Arg[1] = Owned To Guaranteed> of generic specialization <FBSDKLoginKit.FBPermission, Swift._NativeSet<FBSDKLoginKit.FBPermission>> of Swift._NativeSet.genericIntersection<A where A == A1.Element, A1: Swift.Sequence>(A1) -> Swift._NativeSet<A> in FBSDKLoginKit(LoginManager.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Expected Outcome

The app should build for simulator but it fails

Environment

Xcode version 13.2.1 Facebook iOS SDK version 15.1.0 Dependency Manager SPM

Client

Logs

parse-github-assistant[bot] commented 1 year ago

Thanks for opening this issue!

mtrezza commented 1 year ago
yasirmturk commented 1 year ago
mtrezza commented 1 year ago

Could this be a FB SDK issue, since you're not using PFFacebookUtils and the error message refers to the FB SDK?

yasirmturk commented 1 year ago

Already reported there https://github.com/facebook/facebook-ios-sdk/issues/2175

mtrezza commented 1 year ago

I'm closing this for now as it seems to be a dependency issue.