diff --git a/envcov.sh b/envcov.sh index acd0040..8a7c441 100644 --- a/envcov.sh +++ b/envcov.sh @@ -10,4 +10,4 @@ source env.sh LCOV_INFO=Coverage.info LCOV_PATH=${SRCROOT}/XcodeCoverage/lcov-1.10/bin -OBJ_DIR=${OBJECT_FILE_DIR_normal}/${NATIVE_ARCH} +OBJ_DIR=${OBJECT_FILE_DIR_normal}/${CURRENT_ARCH} diff --git a/exportenv.sh b/exportenv.sh index 949001a..653e0c7 100755 --- a/exportenv.sh +++ b/exportenv.sh @@ -4,4 +4,4 @@ # Source: https://github.com/jonreid/XcodeCoverage # -export | egrep '( BUILT_PRODUCTS_DIR)|(NATIVE_ARCH=)|(OBJECT_FILE_DIR_normal)|(SRCROOT)|(OBJROOT)' > XcodeCoverage/env.sh +export | egrep '( BUILT_PRODUCTS_DIR)|(CURRENT_ARCH)|(OBJECT_FILE_DIR_normal)|(SRCROOT)|(OBJROOT)' > XcodeCoverage/env.sh