Address review comments
This commit is contained in:
parent
509d06d474
commit
844b375e7d
|
@ -16,13 +16,15 @@ package_libdeepspeech_as_zip "libdeepspeech.zip"
|
|||
|
||||
case $arch in
|
||||
"--x86_64")
|
||||
${TAR} -cf - \
|
||||
-C ${DS_ROOT_TASK}/DeepSpeech/ds/native_client/swift/DerivedData/Build/Products/Release-iphonesimulator/ deepspeech_ios.framework \
|
||||
| ${XZ} > "${TASKCLUSTER_ARTIFACTS}/deepspeech_ios.framework.x86_64.tar.xz"
|
||||
release_folder="Release-iphonesimulator"
|
||||
artifact_name="deepspeech_ios.framework.x86_64.tar.xz"
|
||||
;;
|
||||
"--arm64")
|
||||
${TAR} -cf - \
|
||||
-C ${DS_ROOT_TASK}/DeepSpeech/ds/native_client/swift/DerivedData/Build/Products/Release-iphoneos/ deepspeech_ios.framework \
|
||||
| ${XZ} > "${TASKCLUSTER_ARTIFACTS}/deepspeech_ios.framework.arm64.tar.xz"
|
||||
release_folder="Release-iphoneos"
|
||||
artifact_name="deepspeech_ios.framework.arm64.tar.xz"
|
||||
;;
|
||||
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}"
|
|
@ -323,10 +323,13 @@ do_deepspeech_ios_framework_build()
|
|||
cd ${DS_DSDIR}/native_client/swift
|
||||
case $arch in
|
||||
"--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")
|
||||
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
|
||||
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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue