My goal is to run a react native build (ios version).
Situation 1
- Actions: start metro (ok)
- build ios. Problem: build failed with exit code 1.
(CompileC /Users/macbook/Library/Developer/Xcode/DerivedData/NAME_OF_PROJECT-gxlagomyefvmjkdemiakcfycxnhx/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/Flipper.build/Objects-normal/x86_64/FlipperRSocketResponder.o /Users/macbook/Documents/work/omg/mobile/ios/Pods/Flipper/xplat/Flipper/FlipperRSocketResponder.cpp normal x86_64 c++ com.apple.compilers.llvm.clang.1_0.compiler)
Situation 2
- Actions: build ios.
- Problem: Flipper::
Typedef redefinition with different types ('uint8_t' (aka 'unsigned char') vs 'enum clockid_t'
Versions
- xcode version 12.5
- ios 9+
- iphone 12
Some actions I tried that didn't work:
reisntall all pods
update all pods
reclon project
-
- rm -Rf Pods/*
- pod cache clean --all
- pod install
and a few other little fixes. Any help would be appreciated.