parse-community / Parse-SDK-iOS-OSX

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

Xcode 15.3 and App Store Connect Issue #1775

Closed chriscborg closed 5 months ago

chriscborg commented 6 months ago

New Issue Checklist

Issue Description

When archiving the app and attempting to upload it to App Store, the Facebook SDK causes an error.

This is reported on the Facebook SDK here: https://github.com/facebook/facebook-ios-sdk/issues/2353 and was resolved in version 17.0.0.

Steps to reproduce

Archive the app using Xcode 15.3 and upload to the app store.

Actual Outcome

The app should upload successfully

Expected Outcome

The below error shows up on Xcode during submission.

Asset validation failed
Invalid Bundle. The bundle AdoreMe.app/Frameworks/FBSDKCoreKit.framework does not support the minimum OS Version specified in the Info.plist

Environment

Client

parse-github-assistant[bot] commented 6 months ago

Thanks for opening this issue!

mtrezza commented 6 months ago

Same question as in https://github.com/parse-community/Parse-SDK-iOS-OSX/pull/1774#issuecomment-2008740189. I'd suggest to remove FacebookUtils and developers can use PFUser.logInWithAuthType to login with whatever Facebook SDK version they want. Would you want to change the PR?

chriscborg commented 5 months ago

I'm not sure if this issue is resolved yet. In order to upload using Xcode 15.3, we need to use Facebook SDK 17 and when I switch to this SDK, I'm getting an error from Parse Facebook auth is invalid for this user. (Code: 101, Version: 4.0.1). With Facebook 17, the traditional approach of access tokens was changed to use JWT with the introduction of Limited Login. Do you have a working version of a Facebook integration now that ParseFacebookUtils has been removed? Not sure if I am misconfiguring something. @mtrezza do have some insight on this?

mtrezza commented 5 months ago

@chriscborg could you please open a new issue and provide details?

chriscborg commented 5 months ago

Opened here https://github.com/parse-community/Parse-SDK-iOS-OSX/issues/1787. Thanks.