React native iOS outdated and need help to publish with Xcode

Hi, If you could help us in this matter it would be a great support and highly appreciated. we are using Xcode 15 to make an iOS app from react native. The React native version is 0.64.4 and the app was previously built two or three years ago by another team. now the app development is handed to us, but we couldn’t even run the app from a simulator.

As we know Xcode 15 with SDK iOS 17/17.2 doesn’t seem to support our app. and the iOS targetting version is 11 for our app. However, we don’t know what kind of computer or Xcode version they previously used to do this. intel 86_64 or Apple silicon, but we use Apple silicon one.

For react native, the node version is 14, and the Java version is 8.

Our system is a Macbook Air M1.

We can’t update our app at this moment and need to make a few changes, add some fixes, and publish the version to the App Store, then soon, we are hoping to upgrade our React native version because we had to fix our dependency version errors. it will take some time, but for now, we had to publish this as it is.

Thank you for any help! Thank you again!

Have you first just tried to create a new simple React Native app to check your Macbook is configured corrected to create/build/run any RN app

@mungbeans , Yeah, I did a hello world app with React native 0.72.2 with node 20.10 and it works well. and also I did a Hello World app with React native 0.64.4 using node 14, then the Android app worked fine, but not iOS. it gives errors. when started with Open Xcode, it throws a lot of target version errors.

If anyone knows how to build iOS Deployment Target 11; (react-native app with 0.64.4 version) run and build on Xcode 15 with iOS 17 SDK, Mac M1 environment it will be a great help at least if you can share a guide. and I don't know is it possible or not. I would appreciate any advice you can give me. Thank You!

We have a react-native 0.66.5 app that we managed to migrate from XCode 14.2 (Intel) to XCode15.3 (Apple Silicon).
There were four specific problems...

  1. Build error mentioning Pods/RCT-Folly and unary_function
    Solution: https://github.com/facebook/react-native/issues/37748#issuecomment-1580334650

  2. Build error mentioning Yoga and ||
    Solution: https://github.com/facebook/react-native/issues/36758#issuecomment-1496210081

  3. Build error mentioning Cycle inside
    This one was due to our app using both the ImageNotification and Firebase pods.
    Solution: https://github.com/invertase/react-native-firebase/issues/7360#issuecomment-1731859921

  4. Build warnings about deployment target versions and 11.0
    We were getting a warning for the app itself and each pod.
    Just warnings so the app built successfully, but best to fix it. It was easy to set to 12.0 for the app in XCode15 (Deployment Target) and Podfile (platform ) To set it to 12.0 in all the pods just tweak your podfile: https://stackoverflow.com/a/51416359/281724

Starting 29th April 2024 Apple are only letting you publish apps (including updates) if they're built with XCode 15+ (iOS SDK 17). So it's definitely something you need to do to keep yr app alive. Good luck!

Hey @mikichichi! Just logged in to say thanks. The requirement for apps to be built on Xcode 15 caught us off guard and this got us out of a rough one. Thank you!!

React native iOS outdated and need help to publish with Xcode
 
 
Q