react-native-unimodules icon indicating copy to clipboard operation
react-native-unimodules copied to clipboard

Undefined symbol error after Xcode 13 update

Open Yandamuri opened this issue 4 years ago • 6 comments

I have recently updated my Xcode to v13. Since then when I tried to archive I am getting following error

   Undefined symbol: _OBJC_METACLASS_$_UMAppDelegateWrapper
   Undefined symbol: _OBJC_CLASS_$_UMAppDelegateWrapper
   Undefined symbol: _OBJC_CLASS_$_UMModuleRegistryProvider
   Undefined symbol: _OBJC_CLASS_$_UMModuleRegistryAdapter

If I run in simulator or real device, Then there is no error. Getting errors only when I tired to archiving. I have done all the library setup properly as per documentation and it was working fine before Xcode 13 update.

Do I need to make any changes according to Xcode 13?

Yandamuri avatar Oct 06 '21 05:10 Yandamuri

omg, I am encountering the same error bro, it's too unstable.. I am giving up on this library tho.. lol

codychan5 avatar Oct 20 '21 16:10 codychan5

@codychan5 what alternative do you have?

Yandamuri avatar Oct 21 '21 15:10 Yandamuri

@codychan5 what alternative do you have?

Well..it really depends on what you are working on.. I am working a project that detects poses on react native, thought of using tensor flow react native adapter that’s why I need to install this uni module... now I found out that I can have the AI detection done at back end Python via media pipe lol

codychan5 avatar Oct 21 '21 15:10 codychan5

@codychan5

Well..it really depends on what you are working on.. I am working a project that detects poses on react native, thought of using tensor flow react native adapter that’s why I need to install this uni module... now I found out that I can have the AI detection done at back end Python via media pipe lol

well That's a good decision.

Do you have any idea on what causes this error?

Yandamuri avatar Oct 21 '21 15:10 Yandamuri

@codychan5

Well..it really depends on what you are working on.. I am working a project that detects poses on react native, thought of using tensor flow react native adapter that’s why I need to install this uni module... now I found out that I can have the AI detection done at back end Python via media pipe lol

well That's a good decision.

Do you have any idea on what causes this error?

I recently changed my machine to Mac book air M1 chip, it’s probably the issue..as the new version Xcode might not be completely compatible with it

codychan5 avatar Oct 21 '21 16:10 codychan5

@codychan5 It could be the reason. I am also using MacBook Pro M1 and Xcode 13.

I found an interesting regarding this issue in this conversation https://www.reddit.com/r/reactnative/comments/pkso5u/undefined_symbols_for_architecture_x86_64/hc68cl6/

get a build of UMModuleRegistryAdapter that has the x86_64 symbols.

I have been searching for solution for past one month. But above one is the only point that seemed a bit related this issue.

Does this point make any sense to you? Can you come to any conclusion from above mentioned point?

Yandamuri avatar Oct 22 '21 04:10 Yandamuri