Im not able to build my project (created with js, vue.js, vuex) on iOS platform. Exactly the same project works on web while typing npm run dev
and I was able to build it on Android on laptop with Windows. When I’m trying Cordova run iOS got something like this:
xcodebuild: error: Unable to find a destination matching the provided
destination specifier: --HERE a lot of simulators-- Ineligible destinations
for the "HelloCordova" scheme: { platform:iOS, id:dvtdevice-DVTiPhonePlaceholder-
iphoneos:placeholder, name:Generic iOS Device } { platform:iOS Simulator,
id:dvtdevice-DVTiOSDeviceSimulatorPlaceholder-iphonesimulator:placeholder, name:Generic iOS Simulator Device }
CordovaError: Promise rejected with non-error: 'Error code 70 for command: xcodebuild with args: -xcconfig,/Users/username/Downloads/vue-webpack-vuetify-vuex-cordova-boilerplate-master copy/platforms/ios/cordova/build-debug.xcconfig,-workspace,HelloCordova.xcworkspace,-scheme,HelloCordova,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone X,build,CONFIGURATION_BUILD_DIR=/Users/username/Downloads/vue-webpack-vuetify-vuex-cordova-boilerplate-master copy/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/username/Downloads/vue-webpack-vuetify-vuex-cordova-boilerplate-master copy/platforms/ios/build/sharedpch'
at cli.catch.err (/usr/local/lib/node_modules/cordova/bin/cordova:30:15) at process._tickCallback (internal/process/next_tick.js:68:7)
Iv also tried cordova build ios -- --buildFlag="-UseModernBuildSystem=0"
but got the same error. Im using Xcode 10.1 and Cordova 8.1.2
Atm working on MacBook Pro