Skip to content
New issue

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

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

Already on GitHub? # to your account

Build error with Xcode 12 #104

Closed
Francesco-Voto opened this issue Mar 15, 2021 · 6 comments
Closed

Build error with Xcode 12 #104

Francesco-Voto opened this issue Mar 15, 2021 · 6 comments

Comments

@Francesco-Voto
Copy link

After Upgrading to Xcode 12 we got some problems to build the package.

Apparently the problem is the dependency inside the react-native-appboy-sdk.podspec

Changing s.dependency 'React' to s.dependency 'React-Core' seems to fix the problem.
Is this the right solution or you have some other fix?

Thank you

@Bucimis
Copy link
Collaborator

Bucimis commented Mar 15, 2021

@Francesco-Voto can you post more information about the errors you're seeing?

@Francesco-Voto
Copy link
Author

Sure!

Whe we try to build it we got
Schermata 2021-03-16 alle 11 09 35

@Bucimis
Copy link
Collaborator

Bucimis commented Mar 18, 2021

@Francesco-Voto I wasn't able to reproduce this using Xcode 12.4. I would recommend:

  1. removing react-native-appboy-sdk from your node_modules and re-installing
  2. removing your Pods directory and rerunning pod install

A few questions:

  1. What version of react native are you on?
  2. Do you see any warnings about autolinking?

Fwiw it looks like the missing symbol is from RCTEventEmitter, which is part of React. I would make sure wherever you're compiling React, that you aren't excluding architectures by overwriting or changing build settings

@jlo1
Copy link

jlo1 commented Jul 12, 2021

Related: facebook/react-native#29633

Switching from s.dependency 'React' to s.dependency 'React-Core' is needed to get off the Legacy Build system. cc @Bucimis

@Bucimis
Copy link
Collaborator

Bucimis commented Jul 12, 2021

Thanks @jlo1 - I agree, that looks correct. I've filed an internal issue to investigate.

@hokstuff
Copy link
Collaborator

hokstuff commented Jan 4, 2023

Hi @Francesco-Voto @jlo1,

This issue should be addressed in version 1.40.0 of the release from this attached PR. Feel free to open a new issue if you are still experiencing problems with that update or when testing on Xcode 13.

Thanks!

@hokstuff hokstuff closed this as completed Jan 4, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants