Closed dcorbin closed 2 months ago
Same here
The same.
UPD: full nuke helped me. /thread
rm -rf macos/Pods
rm -rf macos/Podfile.lock
rm -rf macos/build
rm -rf node_modules
yarn start --reset-cache
yarn && npx pod-install macos && npx react-native run-macos
@dcorbin: Try using @react-native-async-storage/async-storage
instead of @react-native-community/async-storage
. The latter has been deprecated for three years or so now. Once you have the right package installed, I would also suggest do a nuke like @wise-danya suggested.
Then the github README should reflect that.
This issue has been marked as stale due to inactivity. Please respond or otherwise resolve the issue within 7 days or it will be closed.
What happened?
Compiling the app fails with:
The following build commands failed: CompileC /Users/dcorbin/Library/Developer/Xcode/DerivedData/KitPrintCoordinator-ezdhuxuodzjielchgcwmwahuypxr/Build/Intermediates.noindex/Pods.build/Debug/React-Codegen.build/Objects-normal/arm64/FBReactNativeSpecJSI-generated.o /Users/dcorbin/projects/KitPrintCoordinator/macos/build/generated/ios/FBReactNativeSpecJSI-generated.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'React-Codegen' from project 'Pods') (1 failure)
Version
1.12.1
What platforms are you seeing this issue on?
System Information
Steps to Reproduce
npx react-native@latest init KitPrintCoordinator --template "react-native@^0.71.0" cd KitPrintCoordinator npx react-native-macos-init cd macos; pod install; cd .. yarn run macos
At this point, the app works.
yarn add @react-native-community/async-storage cd macos; pod install; cd .. yarn run macos
Now I get the error.