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.

Error build for react-native-unimodules@0.13.0 and above when using use_frameworks! in Podfile

See original GitHub issue

Summary

Have been trying to upgrade react-native-unimodules@0.12.0 to 0.13.0 or above but failed to do so.

Compilation return error it says

Undefined symbols for architecture x86_64: “OBJC_CLASS$_UMUtilities”, referenced from: objc-class-ref in EXConstantsService.o “OBJC_CLASS$_UMExportedModule”, referenced from: OBJC_CLASS$_EXConstants in EXConstants.o “OBJC_METACLASS$_UMExportedModule”, referenced from: OBJC_METACLASS$_EXConstants in EXConstants.o “_UMRegisterModule”, referenced from: +[EXConstants load] in EXConstants.o +[EXConstantsService load] in EXConstantsService.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation)

Managed or bare workflow? If you have ios/ or android/ directories in your project, the answer is bare!

bare

What platform(s) does this occur on?

iOS

SDK Version (managed workflow only)

No response

Environment

Expo CLI 3.28.0 environment info: System: OS: macOS 11.3 Shell: 5.8 - /bin/zsh Binaries: Node: 14.14.0 - /usr/local/bin/node Yarn: 1.22.10 - /usr/local/bin/yarn npm: 6.14.8 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman Managers: CocoaPods: 1.10.1 - /Users/budi_tjendra/.rbenv/shims/pod SDKs: iOS SDK: Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2 Android SDK: API Levels: 23, 28, 29, 30 Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.2, 30.0.3 System Images: android-24 | Intel x86 Atom_64, android-29 | Intel x86 Atom, android-29 | Intel x86 Atom_64, android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom IDEs: Android Studio: 4.1 AI-201.8743.12.41.6953283 Xcode: 12.4/12D4e - /usr/bin/xcodebuild npmPackages: react: 16.11.0 => 16.11.0 react-native: ^0.63.3 => 0.63.4 react-navigation: ^4.3.9 => 4.4.4 npmGlobalPackages: expo-cli: 3.28.0 Expo Workflow: bare

Reproducible demo or steps to reproduce from a blank project

this error occur when use_frameworks! is being used in pod file.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (11 by maintainers)

github_iconTop GitHub Comments

2reactions
gri-bchencommented, Jun 9, 2021

same issue on pod version 1.10.1.

1reaction
budiTjendracommented, May 31, 2021

The current merged only resolves for pod 1.9.3. Need someone help to resolve the issue with pod v.1.10.1.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error with pod install using Expo 42 & use_frameworks! #13920
Summary Enabling use_frameworks! with Expo 42 in a bare workflow causes pod install to fail because @unimodules/core includes statically linked binaries.
Read more >
Build fail when using use_frameworks! react-native
In Podfile I am installing both frameworks and library using Cocapods. Xcode will throw an error the library is not linked yet when...
Read more >
Xcode 12.0.1 "No such module" | Apple Developer Forums
With a simple new iOS App project I was able to use the Cocoapods and run on the simulator, but my "real" project...
Read more >
CocoaPods Tutorial for Swift: Getting Started
Use this CocoaPods Tutorial for Swift to learn how to install and manage third-party library dependencies in your Swift projects.
Read more >
That pesky Xcode 13.2+ build error after pod install - Medium
Recently Xcode command line tools had some breaking changes. So what they did was change the default values for some xcode project build...
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