react-native-community / upgrade-support

A central community-backed place to request and give help when upgrading your app.
MIT License
254 stars 2 forks source link

Upgrading to 0.72.4 breaks ios build #245

Open charlesionlake opened 1 year ago

charlesionlake commented 1 year ago

Environment

System: OS: macOS 12.6 CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz Memory: 570.12 MB / 16.00 GB Shell: version: 3.2.57 path: /bin/bash Binaries: Node: version: 16.15.1 path: ~/.nvm/versions/node/v16.15.1/bin/node Yarn: version: 1.22.19 path: ~/Documents/redacted/MobileNew/node_modules/.bin/yarn npm: version: 9.8.0 path: ~/.nvm/versions/node/v16.15.1/bin/npm Watchman: version: 2022.10.17.00 path: /usr/local/bin/watchman Managers: CocoaPods: version: 1.11.3 path: /usr/local/bin/pod SDKs: iOS SDK: Platforms:

Things I’ve done to figure out my issue

I used the upgrade helper, I updated dependencies with yarn upgrade, I have deintegrated and reinstalled pods, cleaned the build folder with xcode, deleted node modules and reinstalled.

Upgrading version

0.72.4

Description

Runs fine on android after upgrade, but ios will not start and gives me this error:

The following build commands failed: CompileC /Users/redacted/Library/Developer/Xcode/DerivedData/redacted-dcrewryozglykrfuxbhgujdqyegr/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/Objects-normal/x86_64/REAScreensHelper.o /Users/redacted/Documents/redacted/MobileNew/node_modules/react-native-reanimated/ios/LayoutReanimation/REAScreensHelper.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNReanimated' from project 'Pods') (1 failure)

seems to be something associated with react-native-reanimated, but i updated to the latest and does not help

Reproducible demo

khanisak commented 1 year ago

I just bumped to this error. Try update react-native-screens to latest fix this for me.

Kikwisu commented 1 year ago

Issue has been fixed after updating react-native-screens -.- Stupid shit