react-native: ld: framework not found CoreServices for architecture x86_64

Environment

  1. react-native -v:
  • react-native-cli: 2.0.1
  • react-native: 0.46.1
  1. node -v: v8.9.1
  2. npm -v: 5.5.1
  3. Target Platform: iOS 10.1
  4. Development Operating System: macOS Sierra 10.13
  5. Xcode 9.2

Result

Build Failed with following errors:

ld: framework not found CoreServices for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

http://prntscr.com/l5l0vj

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 4
  • Comments: 18

Most upvoted comments

I used RN-fbsdk 0.6.0 and Facebook SDK <4.33.0 @phonganhhung9xtb

Hi @devinvenable I downgraded only facebook sdk. I guess you are still using high version of facebook sdk. So I suggest to downgrade a bit more. You should use facebook sdk which was born before iOS 12 to continue with xcode 9.2

I am using xcode 9.2 and the most recent facebook sdk. It caused the issue. So downgraded facebook sdk and it resolved the issue.

Upgrading to xcode 10 resolved the issue too. Thanks for your help.

Can you run react-native info and edit your issue to include these results under the Environment section?

If you believe this information is irrelevant to the reported issue, you may write [skip envinfo] under Environment to let us know.