I've been trying to resolve an issue deploying my app to an ios device for several months to no avail. I can deploy to Android with no issues but not and iOS device.
One thing I noticed is when I created a new app I can deploy to iOS until I implement facebook authentication. At any rate, here is the below error message when I try to deploy to an iOS device by plugging the phone into my MAC and running 'ionic cordova run ios
'.
(node:2643) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error code 65 for command: xcodebuild with args: -xcconfig,/Users/laroca/Development/Mundo/platforms/ios/cordova/build-debug.xcconfig,-workspace,Mundo.xcworkspace,-scheme,Mundo,-configuration,Debug,-destination,generic/platform=iOS,-archivePath,Mundo.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/laroca/Development/Mundo/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/laroca/Development/Mundo/platforms/ios/build/sharedpch
(node:2643) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated.
In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.