I am building an app in monaca which uses the tts-cordova plugin. The plugin works completely fine when I built my app on android. However, whenever I try to build the app for the ios platform, build error is coming up every time. Is anyone having the same issue when build the app with this plugin
- cordova tts-plugin https://github.com/vilic/cordova-plugin-tts
I have checked the plugin whitelist of monaca and cordova but apparently it is not listed on the list.
Here’s the error code showed on the monaca build console:
Build Error: Error: Sandbox Exec Error: [ ** ARCHIVE FAILED **
The following build commands failed:
CompileC /Users/builder/Library/Developer/Xcode/DerivedData/{project_name}/Build/Intermediates.noindex/ArchiveIntermediates/{project_name}/IntermediateBuildFilesPath/{project_name}.build/Debug-iphoneos/{project_name}.build/Objects-normal/armv7/CDVTTS.o {project_name}/Plugins/cordova-plugin-tts/CDVTTS.m normal armv7 objective-c com.apple.compilers.llvm.clang.1_0.compiler
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/private/tmp/monaca/{serialized_code}/project/platforms/ios/cordova/build-debug.xcconfig,-workspace,project_name.xcworkspace,-scheme,{project_name},-configuration,Debug,-destination,generic/platform=iOS,-archivePath,{project_name}.xcarchive,archive,CONFIGURATION_BUILD_DIR=/private/tmp/monaca/{serialized_code}/project/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/private/tmp/monaca/{serialized_code}/project/platforms/ios/build/sharedpch,-UseModernBuildSystem=0
P.S. I am building the app with cordova 7.1 and the version of the xcode is 10.1. I have also tried update cordova to 9 and update xcode to 10.2 but it is still not working.
Thank you