diff --git a/.circleci/config.yml b/.circleci/config.yml index ed5f88794b2182..0e9b4b38187380 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -692,9 +692,6 @@ jobs: name: Set HERMES_ENGINE_TARBALL_PATH command: | echo "export HERMES_ENGINE_TARBALL_PATH=$(ls -AU $HERMES_WS_DIR/hermes-runtime-darwin/hermes-runtime-darwin-*.tar.gz | head -1)" >> $BASH_ENV - - run: - name: Set RCT_VERBOSE_POD_INSTALL=1 - command: echo "export RCT_VERBOSE_POD_INSTALL=1" >> $BASH_ENV - run: name: Create iOS template project command: | diff --git a/sdks/hermes-engine/utils/build-apple-framework.sh b/sdks/hermes-engine/utils/build-apple-framework.sh index 364b067653b312..bd9365fdafd659 100755 --- a/sdks/hermes-engine/utils/build-apple-framework.sh +++ b/sdks/hermes-engine/utils/build-apple-framework.sh @@ -12,6 +12,8 @@ fi NUM_CORES=$(sysctl -n hw.ncpu) IMPORT_HERMESC_PATH=${HERMES_OVERRIDE_HERMESC_PATH:-$PWD/build_host_hermesc/ImportHermesc.cmake} +REACT_NATIVE_PATH=${REACT_NATIVE_PATH:-$PWD/../..} +JSI_PATH="$REACT_NATIVE_PATH/ReactCommon/jsi" function get_release_version { ruby -rcocoapods-core -rjson -e "puts Pod::Specification.from_file('hermes-engine.podspec').version" @@ -59,6 +61,8 @@ function configure_apple_framework { -DHERMES_BUILD_APPLE_DSYM:BOOLEAN=true \ -DHERMES_ENABLE_TOOLS:BOOLEAN="$build_cli_tools" \ -DIMPORT_HERMESC:PATH="$IMPORT_HERMESC_PATH" \ + -DJSI_DIR="$JSI_PATH" \ + -DHERMES_RELEASE_VERSION="for RN $(get_release_version)" \ -DCMAKE_INSTALL_PREFIX:PATH=../destroot \ -DCMAKE_BUILD_TYPE="$BUILD_TYPE" }