Address review comments

This commit is contained in:
Reuben Morais 2020-07-22 10:23:35 +02:00
parent 509d06d474
commit 844b375e7d
2 changed files with 13 additions and 8 deletions

View File

@ -16,13 +16,15 @@ package_libdeepspeech_as_zip "libdeepspeech.zip"
case $arch in case $arch in
"--x86_64") "--x86_64")
${TAR} -cf - \ release_folder="Release-iphonesimulator"
-C ${DS_ROOT_TASK}/DeepSpeech/ds/native_client/swift/DerivedData/Build/Products/Release-iphonesimulator/ deepspeech_ios.framework \ artifact_name="deepspeech_ios.framework.x86_64.tar.xz"
| ${XZ} > "${TASKCLUSTER_ARTIFACTS}/deepspeech_ios.framework.x86_64.tar.xz"
;; ;;
"--arm64") "--arm64")
${TAR} -cf - \ release_folder="Release-iphoneos"
-C ${DS_ROOT_TASK}/DeepSpeech/ds/native_client/swift/DerivedData/Build/Products/Release-iphoneos/ deepspeech_ios.framework \ artifact_name="deepspeech_ios.framework.arm64.tar.xz"
| ${XZ} > "${TASKCLUSTER_ARTIFACTS}/deepspeech_ios.framework.arm64.tar.xz"
;; ;;
esac esac
${TAR} -cf - \
-C ${DS_ROOT_TASK}/DeepSpeech/ds/native_client/swift/DerivedData/Build/Products/${release_folder}/ deepspeech_ios.framework \
| ${XZ} > "${TASKCLUSTER_ARTIFACTS}/${artifact_name}"

View File

@ -323,10 +323,13 @@ do_deepspeech_ios_framework_build()
cd ${DS_DSDIR}/native_client/swift cd ${DS_DSDIR}/native_client/swift
case $arch in case $arch in
"--x86_64") "--x86_64")
xcodebuild -workspace deepspeech_ios.xcworkspace -scheme deepspeech_ios_test -configuration Release -arch x86_64 -sdk "iphonesimulator" -derivedDataPath DerivedData CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO iosSDK="iphonesimulator"
xcodeArch="x86_64"
;; ;;
"--arm64") "--arm64")
xcodebuild -workspace deepspeech_ios.xcworkspace -scheme deepspeech_ios_test -configuration Release -arch arm64 -sdk "iphoneos" -derivedDataPath DerivedData CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO iosSDK="iphoneos"
xcodeArch="arm64"
;; ;;
esac esac
xcodebuild -workspace deepspeech_ios.xcworkspace -scheme deepspeech_ios_test -configuration Release -arch "${xcodeArch}" -sdk "${iosSDK}" -derivedDataPath DerivedData CODE_SIGN_IDENTITY="" CODE_SIGNING_REQUIRED=NO CODE_SIGNING_ALLOWED=NO
} }