question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Undefined symbols for architecture arm64 with RN 0.65.1

See original GitHub issue

After upgrading to RN 0.65.1 I get the following error in Xcode. This is the only pod that fails to link.

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_RCTViewManager", referenced from:
      _OBJC_CLASS_$_RNCMaskedViewManager in RNCMaskedViewManager.o
  "_OBJC_METACLASS_$_RCTViewManager", referenced from:
      _OBJC_METACLASS_$_RNCMaskedViewManager in RNCMaskedViewManager.o
  "_RCTRegisterModule", referenced from:
      +[RNCMaskedViewManager load] in RNCMaskedViewManager.o
  "_OBJC_CLASS_$_RCTView", referenced from:
      _OBJC_CLASS_$_RNCMaskedView in RNCMaskedView.o
  "_OBJC_METACLASS_$_RCTView", referenced from:
      _OBJC_METACLASS_$_RNCMaskedView in RNCMaskedView.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

5reactions
gberocommented, Nov 19, 2021

Ensure you use : "@react-native-masked-view/masked-view": "^0.2.5", in your package.json

and NOT the "@react-native-community/masked-view"

0reactions
llauderesvcommented, Dec 20, 2022

Ensure you use : "@react-native-masked-view/masked-view": "^0.2.5", in your package.json

and NOT the "@react-native-community/masked-view"

This works for me, Thanks a lot! 🥳

Read more comments on GitHub >

github_iconTop Results From Across the Web

Undefined symbols for architecture arm64 in react-native app
The build file is copied to root of ios app and here is my react-native code; import React, {FC, useEffect, useState} from ...
Read more >
Xcode Build error with React Nativ… | Apple Developer Forums
It works fine on the simulator. Xcode 12.5 and React Native 0.63.3 I've tried a clean build. deleted and reinstalled Pods. Undefined symbols...
Read more >
undefined symbols for architecture arm64 xcode 12 - You.com
I hope you can help! I am building an iOS app in xCode 12 and under unity framework I am getting the following...
Read more >
React Native Firebase Analytics: Undefined symbols for ...
When I tried to build the project with expo run:ios , I got the following error. ❌ Undefined symbols for architecture x86_64 ┌─...
Read more >
Unable to build/run 87. Missing required architecture x86_64 ...
I am trying to update to 1.87.1 with RN 61 but get this error in xcode when ... (1 slices) Undefined symbols for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found