Open wojewski opened 2 years ago
Connected to: https://github.com/facebook/flipper/issues/3117
CC @lblasa
I've just tested on arm64, M1 mac and got the same error
Undefined symbols for architecture arm64:
"_make_fcontext", referenced from:
folly::fibers::FiberImpl::FiberImpl(folly::Function<void ()>, unsigned char*, unsigned long) in Fiber.o
"folly::detail::crc32c_combine_hw(unsigned int, unsigned int, unsigned long)", referenced from:
folly::crc32c_combine(unsigned int, unsigned int, unsigned long) in Checksum.o
"folly::detail::crc32c_combine_sw(unsigned int, unsigned int, unsigned long)", referenced from:
folly::crc32c_combine(unsigned int, unsigned int, unsigned long) in Checksum.o
"folly::detail::crc32_combine_hw(unsigned int, unsigned int, unsigned long)", referenced from:
folly::crc32_combine(unsigned int, unsigned int, unsigned long) in Checksum.o
"folly::detail::crc32_combine_sw(unsigned int, unsigned int, unsigned long)", referenced from:
folly::crc32_combine(unsigned int, unsigned int, unsigned long) in Checksum.o
"_jump_fcontext", referenced from:
folly::fibers::FiberImpl::deactivate() in Fiber.o
folly::fibers::FiberImpl::activate() in SimpleLoopController.o
"folly::detail::crc32c_hw(unsigned char const*, unsigned long, unsigned int)", referenced from:
folly::crc32c(unsigned char const*, unsigned long, unsigned int) in Checksum.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Any news on this issue please?
@thibaultcapelli what is your build setup? In what capacity are you using Flipper?
@thibaultcapelli what is your build setup? In what capacity are you using Flipper?
I'm making a migration to RN 0.69.5. I'm using a M1. If I disable Flutter in the Profile I can bypass this error
I have exactly the same error than @wojewski. I can't test with an Intel processor for now
@thibaultcapelli — according to the release notes, RN .70 should support Mac Catalyst. Haven't gotten through removing all PropTypes yet to find out. For now we remove Flipper reference for Mac Catalyst from Podfile. No errors when building to the other device types/simulators with Flipper enabled.
Undefined symbols for architecture arm64: "_make_fcontext", referenced from: folly::fibers::FiberImpl::FiberImpl(folly::Function<void ()>, unsigned char, unsigned long) in Fiber.o "folly::detail::crc32c_combine_hw(unsigned int, unsigned int, unsigned long)", referenced from: folly::crc32c_combine(unsigned int, unsigned int, unsigned long) in Checksum.o "folly::detail::crc32c_combine_sw(unsigned int, unsigned int, unsigned long)", referenced from: folly::crc32c_combine(unsigned int, unsigned int, unsigned long) in Checksum.o "folly::detail::crc32_combine_hw(unsigned int, unsigned int, unsigned long)", referenced from: folly::crc32_combine(unsigned int, unsigned int, unsigned long) in Checksum.o "folly::detail::crc32_combine_sw(unsigned int, unsigned int, unsigned long)", referenced from: folly::crc32_combine(unsigned int, unsigned int, unsigned long) in Checksum.o "_jump_fcontext", referenced from: folly::fibers::FiberImpl::deactivate() in Fiber.o folly::fibers::FiberImpl::activate() in SimpleLoopController.o "folly::detail::crc32c_hw(unsigned char const, unsigned long, unsigned int)", referenced from: folly::crc32c(unsigned char const*, unsigned long, unsigned int) in Checksum.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation)
Anyone have any clues on a fix for this? 😩 I also get a similar one:
Undefined symbols for architecture x86_64:
"_jump_fcontext", referenced from:
folly::fibers::FiberImpl::deactivate() in libRCT-Folly.a(Fiber.o)
folly::fibers::FiberImpl::activate() in libRCT-Folly.a(SimpleLoopController.o)
Anyone have any clues on a fix for this? 😩 I also get a similar one:
Undefined symbols for architecture x86_64: "_jump_fcontext", referenced from: folly::fibers::FiberImpl::deactivate() in libRCT-Folly.a(Fiber.o) folly::fibers::FiberImpl::activate() in libRCT-Folly.a(SimpleLoopController.o)
I have the same issue when using Hermes on iOS. Did you solve it?
Anyone have any clues on a fix for this? 😩 I also get a similar one:
Anyone have any clues on a fix for this? 😩 I also get a similar one:
did you enable fliper?
@dimplegarg @btkramm @Watersdr you can delete the 'all_load' in the OTHER_LDFLAG of your main project target to solve this problem
🐛 Bug Report
After setting up the Flipper in React Native app along with manual config from doc and also by following the Flipper React Native Example. The app crashes on the build phase as follows:
To Reproduce
Environment
Flipper desktop version: tried on both:
0.58.0
and0.129.0
React Native version: tried on both:0.66.3
and0.67.1
Hermes: disabled System: Mac x86_64