adobe / aepsdk-react-native

A wrapper around the iOS and Android AEP mobile SDK to allow for integration with React Native applications.
Apache License 2.0
15 stars 28 forks source link

"react-native run-ios" failed on CI #272

Closed yangyansong-adbe closed 1 year ago

yangyansong-adbe commented 1 year ago

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.
yangyansong-adbe commented 1 year ago

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.

cc @ahmyr

cacheung commented 1 year ago

Fixed with https://github.com/adobe/aepsdk-react-native/pull/282