facebook / react-native

A framework for building native applications using React
https://reactnative.dev
MIT License
119.54k stars 24.37k forks source link

RN Upgrade Error for iOS from .68 to .71.13 #39229

Closed arunsa-hrbl closed 1 year ago

arunsa-hrbl commented 1 year ago

New Version

0.71.13

Old Version

0.68

Build Target(s)

iOS 12.4

Output of react-native info

info Fetching system and libraries information...
System:
    OS: macOS 13.4
    CPU: (10) x64 Apple M1 Max
    Memory: 32.55 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.17.1 - /usr/local/opt/node@18/bin/node
    Yarn: 1.22.17 - ~/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/node_modules/.bin/yarn
    npm: 9.6.7 - /usr/local/opt/node@18/bin/npm
    Watchman: 2023.08.14.00 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.12.1 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: DriverKit 22.2, iOS 16.2, macOS 13.1, tvOS 16.1, watchOS 9.1
    Android SDK: Not Found
  IDEs:
    Android Studio: 2021.2 AI-212.5712.43.2112.8815526
    Xcode: 14.2/14C18 - /usr/bin/xcodebuild
  Languages:
    Java: 18.0.2 - /usr/bin/javac
  npmPackages:
    @react-native-community/cli: Not Found
    react: 18.2.0 => 18.2.0 
    react-native: ^0.71.0 => 0.71.13 
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Issue and Reproduction Steps

Error while app run - 

CompileC /Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/Objects-normal/x86_64/REAKeyboardEventObserver.o /Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/node_modules/react-native-reanimated/ios/keyboardObserver/REAKeyboardEventObserver.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNReanimated' from project 'Pods')     cd /Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods     /Applications/Xcode_14.2.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target x86_64-apple-ios11.0-simulator -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -std\=gnu11 -fobjc-arc -fobjc-weak -fmodules -gmodules -fmodules-cache-path\=/Users/arunsa/Library/Developer/Xcode/DerivedData/ModuleCache.noindex -fmodules-prune-interval\=86400 -fmodules-prune-after\=345600 -fbuild-session-file\=/Users/arunsa/Library/Developer/Xcode/DerivedData/ModuleCache.noindex/Session.modulevalidation -fmodules-validate-once-per-build-session -Wnon-modular-include-in-framework-module -Werror\=non-modular-include-in-framework-module -fmodule-name\=RNReanimated -Wno-trigraphs -fpascal-strings -O0 -fno-common -Wno-missing-field-initializers -Wno-missing-prototypes -Werror\=return-type -Wdocumentation -Wunreachable-code -Wno-implicit-atomic-properties -Werror\=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror\=objc-root-class -Wno-arc-repeated-use-of-weak -Wimplicit-retain-self -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wconditional-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wnon-literal-null-conversion -Wobjc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wdeprecated-implementations -Wno-implicit-fallthrough -DPOD_CONFIGURATION_DEBUG\=1 -DDEBUG\=1 -DCOCOAPODS\=1 -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION -DOBJC_OLD_DISPATCH_PROTOTYPES\=0 -isysroot /Applications/Xcode_14.2.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator16.2.sdk -fasm-blocks -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -Wno-sign-conversion -Winfinite-recursion -Wcomma -Wblock-capture-autoreleasing -Wstrict-prototypes -Wno-semicolon-before-method-body -Wunguarded-availability -fobjc-abi-version\=2 -fobjc-legacy-dispatch -index-store-path /Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Index.noindex/DataStore -iquote /Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/RNReanimated-generated-files.hmap -I/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/RNReanimated-own-target-headers.hmap -I/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/RNReanimated-all-non-framework-target-headers.hmap -ivfsoverlay /Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/all-product-headers.yaml -iquote /Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/RNReanimated-project-headers.hmap -I/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/RNReanimated/include -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/Headers/Public -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/Headers/Public/FBLazyVector -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/Headers/Public/RCTRequired -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/Headers/Public/React-callinvoker -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/Headers/Public/React-runtimeexecutor -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/boost -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/boost-for-react-native -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/glog -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/RCT-Folly -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/RCT-Folly -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/Headers/Public/React-hermes -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/Headers/Public/hermes-engine -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/node_modules/react-native/ReactCommon -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/node_modules/react-native-reanimated/ReactCommon -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/node_modules/react-native-reanimated -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/RCT-Folly -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/boost -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/boost-for-react-native -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/DoubleConversion -I/Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/Headers/Private/React-Core -I/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/DerivedSources-normal/x86_64 -I/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/DerivedSources/x86_64 -I/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/DerivedSources -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/RNReanimated -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/DoubleConversion -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/RCT-Folly -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/RCTTypeSafety -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-Codegen -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-Core -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-CoreModules -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-RCTAnimation -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-RCTBlob -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-RCTImage -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-RCTLinking -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-RCTNetwork -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-RCTSettings -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-RCTText -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-cxxreact -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-jsc -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-jsi -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-jsiexecutor -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-jsinspector -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-logger -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-perflogger -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/ReactCommon -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/Yoga -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/fmt -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/glog -F/Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Products/Debug-iphonesimulator/React-hermes -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -Wno-comma -Wno-shorten-64-to-32 -DREACT_NATIVE_MINOR_VERSION\=71 -DREANIMATED_VERSION\=2.17.0 -DFOLLY_NO_CONFIG -DFOLLY_MOBILE\=1 -DFOLLY_USE_LIBCPP\=1 -Wno-comma -Wno-shorten-64-to-32 -DREACT_NATIVE_MINOR_VERSION\=71 -Wno-comma -Wno-shorten-64-to-32 -Wno-documentation -include /Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/ios/Pods/Target\ Support\ Files/RNReanimated/RNReanimated-prefix.pch -MMD -MT dependencies -MF /Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/Objects-normal/x86_64/REAKeyboardEventObserver.d --serialize-diagnostics /Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/Objects-normal/x86_64/REAKeyboardEventObserver.dia -c /Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/node_modules/react-native-reanimated/ios/keyboardObserver/REAKeyboardEventObserver.m -o /Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/Objects-normal/x86_64/REAKeyboardEventObserver.o -index-unit-output-path /Pods.build/Debug-iphonesimulator/RNReanimated.build/Objects-normal/x86_64/REAKeyboardEventObserver.o

warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Realm' from project 'Pods') warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'fmt' from project 'Pods') warning: Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this warning, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RCT-Folly' from project 'Pods')

BUILD FAILED

The following build commands failed: CompileC /Users/arunsa/Library/Developer/Xcode/DerivedData/Herbalife-fxsyhltuvrnoysetpptjhvqlzxwk/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/RNReanimated.build/Objects-normal/x86_64/UIResponder+Reanimated.o /Users/arunsa/Documents/HNMyClub/RNUpgrade/hrbl-nutri-club-exp-ordering-react_native/node_modules/react-native-reanimated/ios/native/UIResponder+Reanimated.mm normal x86_64 objective-c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RNReanimated' from project 'Pods') (1 failure) ]

Node.js v18.17.1 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

My Package Json


{
"name": "@herxxxx/cash-register",
"version": "0.1.1",
"private": true,
"license": "UNLICENSED",
"rnpm": {
"assets": [
"./assets/fonts/"
]
},
"dependencies": {
"@dynatrace/react-native-plugin": "^2.217.1",
"@emotion/core": "^11.0.0",
"@emotion/native": "^11.0.0",
"@emotion/react": "^11.1.1",
"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-brands-svg-icons": "^5.15.1",
"@fortawesome/free-regular-svg-icons": "^5.15.1",
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"@fortawesome/react-fontawesome": "^0.1.13",
"@Herxxxxdev/cashregister-payments": "0.0.9-beta.1",
"@react-native-async-storage/async-storage": "^1.17.11",
"@react-native-community/blur": "^3.6.0",
"@react-native-community/hooks": "^2.8.0",
"@react-native-community/netinfo": "^9.0.0",
"@react-native-community/progress-bar-android": "^1.0.4",
"@react-native-community/progress-view": "^1.3.1",
"@react-native-community/push-notification-ios": "^1.8.0",
"@react-native-community/toolbar-android": "^0.2.1",
"@react-native-cookies/cookies": "6.0.11",
"@reduxjs/toolkit": "^1.5.0",
"@svgr/cli": "^5.5.0",
"accordion-collapse-react-native": "^0.4.0",
"add": "2.0.6",
"alpha-scroll-flat-list": "^0.2.20",
"apollo-cache-inmemory": "^1.6.6",
"apollo-client": "^2.4.12",
"apollo-link-state": "^0.4.2",
"appcenter": "4.4.3",
"appcenter-analytics": "4.4.3",
"appcenter-crashes": "4.4.3",
"async": "^3.2.0",
"async-lock": "^1.4.0",
"await-timeout": "^1.1.1",
"axios": "^0.24.0",
"babel-plugin-inline-import": "^3.0.0",
"base-64": "^1.0.0",
"bind-decorator": "^1.0.11",
"capitalize": "^2.0.3",
"crypto-js": "3.1.9-1",
"currency.js": "^2.0.3",
"enzyme": "^3.11.0",
"fbjs": "^3.0.2",
"glamorous-native": "^2.0.0",
"graphql": "^15.4.0",
"graphql-tag": "^2.11.0",
"graphql-tools": "^4.0.4",
"immutability-helper": "^3.1.1",
"invariant": "^2.2.4",
"jail-monkey": "^2.8.0",
"jetifier": "^1.6.6",
"jsc-android": "^250230.2.1",
"jsdom-global": "^3.0.2",
"lodash": "^4.17.20",
"lodash.debounce": "^4.0.8",
"lottie-ios": "3.4.0",
"lottie-react-native": "^5.0.1",
"memoize-one": "^5.1.1",
"moment": "^2.29.1",
"moment-timezone": "^0.5.32",
"node-forge": "^0.10.0",
"numeral": "^2.0.6",
"payform": "^1.4.0",
"prop-types": "^15.7.2",
"react": "18.2.0",
"react-apollo": "^3.1.5",
"react-art": "^17.0.1",
"react-currency-format": "^1.0.0",
"react-devtools": "^4.10.0",
"react-dom": "^18.2.0",
"react-localization": "^1.0.15",
"react-native": "^0.71.0",
"react-native-app-intro-slider": "^2.0.1",
"react-native-background-timer": "^2.4.1",
"react-native-blob-util": "^0.15.0",
"react-native-calendars": "^1.1266.0",
"react-native-camera": "^3.42.0",
"react-native-circular-progress": "^1.3.6",
"react-native-code-push": "7.0.4",
"react-native-country-picker-modal": "^2.0.0",
"react-native-datepicker": "^1.7.2",
"react-native-debugger": "^1.1.0",
"react-native-device-info": "7.3.1",
"react-native-draggable-flatlist": "^3.1.2",
"react-native-encrypted-storage": "^4.0.3",
"react-native-event-bus": "^1.0.0",
"react-native-event-listeners": "^1.0.7",
"react-native-exception-handler": "^2.10.9",
"react-native-exit-app": "^2.0.0",
"react-native-fast-image": "^8.5.11",
"react-native-flags": "^1.0.0",
"react-native-fs": "^2.18.0",
"react-native-gesture-handler": "^2.9.0",
"react-native-get-location": "^2.1.1",
"react-native-html-to-pdf": "^0.8.0",
"react-native-htmlview": "^0.16.0",
"react-native-indicators": "^0.17.0",
"react-native-keyboard-aware-scroll-view": "^0.9.3",
"react-native-keyboard-spacer": "^0.4.1",
"react-native-keychain": "^6.2.0",
"react-native-linear-gradient": "^2.5.6",
"react-native-localization": "^2.1.6",
"react-native-mail": "^4.1.0",
"react-native-material-textfield": "^0.16.1",
"react-native-material-textfield-gm": "^0.0.5",
"react-native-materialui-textfield": "^0.13.2",
"react-native-modal": "^13.0.0",
"react-native-network-bandwith-speed": "^3.0.0",
"react-native-orientation": "^3.1.3",
"react-native-pager-view": "^6.0.0",
"react-native-pdf": "^6.5.0",
"react-native-permissions": "3.2.0",
"react-native-picker-select": "^8.0.4",
"react-native-popup-menu": "^0.15.11",
"react-native-print": "^0.7.0",
"react-native-progress": "5.0.0",
"react-native-push-notification": "^8.1.1",
"react-native-reanimated": "^2.14.1",
"react-native-restart": "^0.0.17",
"react-native-safe-area-context": "^4.5.1",
"react-native-safe-area-view": "^1.1.1",
"react-native-screenshot-prevent": "^1.1.7",
"react-native-section-list-get-item-layout": "^2.2.3",
"react-native-sfsafariviewcontroller": "^0.2.6",
"react-native-share": "^8.2.1",
"react-native-simple-radio-button": "^2.7.4",
"react-native-smooth-pincode-input": "^1.0.9",
"react-native-splash-screen": "^3.3.0",
"react-native-sqlcipher-storage": "^0.0.3",
"react-native-sqlite-storage": "^6.0.1",
"react-native-super-grid": "^4.0.3",
"react-native-svg": "^13.9.0",
"react-native-swipeout": "^2.3.6",
"react-native-switch": "^1.5.1",
"react-native-tab-view": "^3.1.1",
"react-native-table-component": "^1.2.1",
"react-native-toast-message": "^1.4.9",
"react-native-uuid": "^2.0.1",
"react-native-vector-icons": "9.1.0",
"react-native-vitals": "^2.0.1",
"react-native-webview": "^12.0.2",
"react-native-xml2js": "^1.0.3",
"react-redux": "^7.2.2",
"react-router": "4.3.1",
"react-router-native": "5.2.1",
"react-router-native-stack": "^0.0.15",
"react-timer-mixin": "^0.13.4",
"react-xml-parser": "^1.1.8",
"realm": "10.9.0",
"recyclerlistview": "^3.0.0",
"rn-fetch-blob": "^0.12.0",
"shortid": "^2.2.16",
"styled-components": "^5.2.1",
"tty": "^1.0.1",
"watchman": "^1.0.0",
"yarn": "1.22.17"
},
"resolutions": {
"react-router": "4.3.1",
"react-devtools-core": "4.23.0"
},
"devDependencies": {
"@babel/cli": "^7.12.9",
"@babel/core": "^7.17.9",
"@babel/plugin-proposal-async-generator-functions": "^7.2.0",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/plugin-proposal-decorators": "^7.1.6",
"@babel/plugin-proposal-json-strings": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-syntax-import-meta": "^7.0.0",
"@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3",
"@babel/plugin-transform-flow-strip-types": "^7.0.0",
"@babel/plugin-transform-spread": "^7.2.2",
"@babel/polyfill": "^7.0.0",
"@babel/preset-env": "^7.16.11",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.12.5",
"@react-native-community/eslint-config": "^2.0.0",
"@testing-library/jest-native": "^3.4.3",
"@testing-library/react-hooks": "^3.7.0",
"@testing-library/react-native": "^7.1.0",
"@types/axios": "^0.14.0",
"@types/prop-types": "^15.5.6",
"@types/react": "^16.4.18",
"@types/react-dom": "^16.0.9",
"@types/react-native": "^0.57.7",
"@types/react-router": "4.4.3",
"@types/react-router-dom": "^4.3.1",
"@types/styled-components": "^4.0.3",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.6",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^26.6.3",
"babel-loader": "^8.0.4",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-react-native-web": "^0.9.8",
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-preset-react-native-stage-0": "^1.0.1",
"concurrently": "^4.0.1",
"cross-env": "^5.2.0",
"enzyme-to-json": "^3.5.0",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-config-prettier": "^3.1.0",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-babel": "^5.0.0",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jsx-a11y": "^6.1.2",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-prettier": "^3.0.0",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.11.1",
"eslint-plugin-standard": "^4.0.0",
"file-loader": "^2.0.0",
"html-webpack-plugin": "^3.2.0",
"husky": "3.0.5",
"jest": "^29.2.1",
"jest-fetch-mock": "^2.1.2",
"jest-junit": "13.0.0",
"jest-react-native": "^18.0.0",
"jest-styled-components": "^6.2.2",
"metro-react-native-babel-preset": "^0.73.7",
"mockdate": "^3.0.2",
"patch-package": "^6.2.2",
"path": "^0.12.7",
"postinstall-prepare": "^1.0.1",
"prettier": "^1.14.3",
"react-hot-loader": "^4.3.12",
"react-native-clean-project": "^3.6.7",
"react-test-renderer": "18.2.0",
"reactotron-react-native": "^5.0.1",
"reactotron-redux": "^3.1.3",
"redux-devtools": "^3.7.0",
"resolve-url-loader": "^3.0.0",
"source-map": "^0.7.4",
"sqlite3": "^5.1.4",
"stylelint": "^9.7.1",
"stylelint-config-standard": "^18.2.0",
"stylelint-processor-styled-components": "^1.5.0",
"timezone-mock": "^1.0.8",
"url-loader": "^1.1.2",
"webpack": "^4.23.1",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10",
"webpack-merge": "^4.1.4"
}
}

My Pod file - 

require_relative '../node_modules/react-native/scripts/react_native_pods' require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'   source 'https://github.com/CocoaPods/Specs.git' workspace 'Herbalife' project 'Herbalife.xcodeproj' platform :ios, '12.4' use_frameworks!  

Convert all permission pods into static libraries

pre_install do |installer|   Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}     installer.pod_targets.each do |pod|     if pod.name.eql?('RNPermissions') || pod.name.start_with?('Permission-')       def pod.build_type;         # Uncomment the line corresponding to your CocoaPods version         Pod::BuildType.static_library # >= 1.9         # Pod::Target::BuildType.static_library # < 1.9       end     end   end end     target 'Herbalife' do   config = use_native_modules!   flags = get_default_flags()   use_react_native!(     :path => config[:reactNativePath],     # to enable hermes on iOS, change false to true and then install pods     :hermes_enabled => false,     :fabric_enabled => flags[:fabric_enabled],   )     permissions_path = '../node_modules/react-native-permissions/ios'     pod 'Permission-Camera', :path => "#{permissions_path}/Camera"     #Quantum matrics   ENV['QM_USER'] = 'herbalife'   ENV['QM_PASS'] = 'jsyycGKnjT3gNVwvXmKk'   pod 'QuantumMetric-SDK', :git => "https://"  + ENV['QM_USER'] + ":" + ENV['QM_PASS'] + "@sdk.quantummetric.com/cocoapods/Quantum-SDK-iOS.git"     # PayPal   pod 'PayPalHereSDKv2/Release', '2.4.0022105000'   #Clover Go   pod 'GoConnector', '3.4.1'       # Adobe Analytics   pod 'ACPAnalytics', '~> 2.0'   pod 'ACPUserProfile', '~> 2.0'   pod 'ACPCore', '~> 2.0'   pod 'ACPMobileServices', '~> 1.0'     use_native_modules!     # Enables Flipper.   #   # Note that if you have use_frameworks! enabled, Flipper will not work and   # you should disable the next line.   # use_flipper!()     post_install do |installer|     react_native_post_install(       installer,       # Set mac_catalyst_enabled to true in order to apply patches       # necessary for Mac Catalyst builds       :mac_catalyst_enabled => false     )     __apply_Xcode_12_5_M1_post_install_workaround(installer)       installer.pods_project.targets.each do |target|       target.build_configurations.each do |configuration|         configuration.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'         target.build_settings(configuration.name)['ENABLE_BITCODE'] = 'NO'         configuration.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator]'] = "arm64"         configuration.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'           if target.name == "GoConnector" then           target.build_settings(configuration.name)["VALID_ARCHS"] = "arm64 x86_64"         end         # if target.name == "RealmSwift" || target.name == "Realm" then         #   configuration.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator]"] = "arm64"         # end              end     end   end end

github-actions[bot] commented 1 year ago
:warning: Missing Reproducible Example
:information_source: We could not detect a reproducible example in your issue report. Please provide either:
  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.
arunsa-hrbl commented 1 year ago

⚠️ Missing Reproducible Example ℹ️ We could not detect a reproducible example in your issue report. Please provide either:

  • If your bug is UI related: a Snack
  • If your bug is build/update related: use our Reproducer Template. A reproducer needs to be in a GitHub repository under your username.

Can't share code, I shared the compiling error I have faced.

devoren commented 1 year ago

I think you should upgrade smoothly, 0.68 to 0.69, 0.69 to 0.70 etc.

cortinico commented 1 year ago

I think you should upgrade smoothly, 0.68 to 0.69, 0.69 to 0.70 etc.

This is the correct answer. Plus in general we don't offer upgrade support, unless for the latest stable version.

Moreover I see you have reanimated in your build log, so you should potentially reach out to them if that is the root cause of this failure.

gkasireddy202 commented 11 months ago

I am getting an RN upgrade error from 0.68.7 to 0.73.1