Muhammad Haroon Iqbal
Muhammad Haroon Iqbal

Reputation: 552

MinimumOSVersion in 'MyProject.app/Frameworks/hermes.framework' is ''. in react native

While uploading on TestFlight, I have this error. I searched a lot but didn't helped any thing. I am using RN v.0.74.4.

Invalid minimumOSversion. Apps that only support 64-bit devices must specify a deployment target of 8.0 later. MinimumOSVersion in 'CPOD_Recap_Revamp.app/Frameworks/hermes.framework' is ''.

enter image description here

I have tried several solutions, but nothing worked:

  1. Deleting and install node_modules folder
  2. Deleting and install package-lock.json
  3. Deleting and install Pods folder
  4. Deleting and install Podfile.lock
  5. Defining minimumOSVerion in info.plist

Upvotes: 0

Views: 316

Answers (1)

Muhammad Haroon Iqbal
Muhammad Haroon Iqbal

Reputation: 552

I am able to resolve this by specifying MinimumOSVersion in info.plist of hermes.framework (info.plist path is quoted below). It could be a temporary fix;

/Users//Documents/React/CPOD_Recap_Revamp/ios/Pods/hermes-engine/destroot/Library/Frameworks/universal/hermes.xcframework/ios-arm64/hermes.framework/Info.plist

enter image description here

Source: https://github.com/facebook/react-native/issues/45823#issuecomment-2265127551

Upvotes: 1

Related Questions