After updating the CI environment to use Xcode 14.1, the react-native run-ios command failed with the below error message on CI. But the command works correctly on my M1 Mac book Pro.
Run script build phase 'Start Packager' 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 'AEPSampleApp' from project 'AEPSampleApp')
Run script build phase 'Bundle React Native code and images' 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 'AEPSampleApp' from project 'AEPSampleApp')
error Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening AEPSampleApp.xcworkspace.
error Command failed with exit code 1.
The CI step mentioned above was disabled in order to unblock the 5.0.0 release. We are now manually testing the build prior to release. This issue needs to be fixed before the next release.
After updating the CI environment to use Xcode 14.1, the
react-native run-ios
command failed with the below error message on CI. But the command works correctly on my M1 Mac book Pro.