Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix to make it work with Xcode 14.3 #418

Closed
wants to merge 2 commits into from

Conversation

chimame
Copy link

@chimame chimame commented Apr 20, 2023

Problem

I fixed two issues that were causing the sample program to not work.

  1. Fixed a bug where pod install couldn't be executed properly.
  2. Fixed a bug where the program wouldn't work on Xcode 14.3.

Solution

  1. When executing pod install, the following error occurred.
[!] CocoaPods could not find compatible versions for pod "FBSDKLoginKit":
  In snapshot (Podfile.lock):
    FBSDKLoginKit (= 15.0.0, ~> 15.0.0)

  In Podfile:
    react-native-fbsdk-next (from `../node_modules/react-native-fbsdk-next`) was resolved to 10.1.0, which depends on
      react-native-fbsdk-next/Login (= 10.1.0) was resolved to 10.1.0, which depends on
        FBSDKLoginKit (~> 14.1.0)


You have either:
 * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`.
 * changed the constraints of dependency `FBSDKLoginKit` inside your development pod `react-native-fbsdk-next`.
   You should run `pod update FBSDKLoginKit` to apply changes you've made.

Therefore, I updated the version of react-native-fbsdk-next to the latest one, since it was managed by yarn.lock and was outdated.

  1. Building React Native failed on Xcode 14.3. Therefore, we upgraded to the latest version, 0.70.8, which fixed the issue.

facebook/react-native#36739

@stale
Copy link

stale bot commented May 20, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix This will not be worked on label May 20, 2023
@stale stale bot closed this May 31, 2023
@mikehardy
Copy link
Collaborator

The example app is currently managed by refresh-example.sh - so the best thing to do is to update that (as needed) and make a commit with the updates, then run it and commit the generated example, then propose that as a PR

The changes you proposed are necessary - just need to do them in a slightly different way. I'm working through that now as I also had the same "can't build the example..." issue today when looking to merge a couple PRs 😆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants