Error when `emulate ios`


#1

I got and error after update xcode for ios 11. By follow this topic https://github.com/phonegap/ios-sim/issues/218.

** BUILD FAILED **


The following build commands failed:
	Ld build/emulator/NewOWSSmart.app/NewOWSSmart normal x86_64
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/ThunderBirdsX3/Desktop/Workspace/newowssmart/platforms/ios/cordova/build-debug.xcconfig,-workspace,NewOWSSmart.xcworkspace,-scheme,NewOWSSmart,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS Simulator,name=iPhone 6,build,CONFIGURATION_BUILD_DIR=/Users/ThunderBirdsX3/Desktop/Workspace/newowssmart/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/ThunderBirdsX3/Desktop/Workspace/newowssmart/platforms/ios/build/sharedpch

[ERROR] An error occurred while running cordova emulate ios --target iPhone-6 (exit code 1).

Ionic info

MacBooks-MacBook-Pro:newowssmart ThunderBirdsX3$ ionic info

cli packages: (/Users/ThunderBirdsX3/Desktop/Workspace/newowssmart/node_modules)

    @ionic/cli-utils  : 1.12.0
    ionic (Ionic CLI) : 3.12.0

global packages:

    cordova (Cordova CLI) : 7.0.1 

local packages:

    @ionic/app-scripts : 2.1.4
    Cordova Platforms  : android 6.2.3 ios 4.5.0
    Ionic Framework    : ionic-angular 3.6.1

System:

    ios-deploy : 1.9.2 
    ios-sim    : 6.1.2 
    Node       : v6.11.0
    npm        : 5.4.2 
    OS         : macOS Sierra
    Xcode      : Xcode 9.0 Build version 9A235 

Misc:

    backend : legacy

#2

Hmmmm may be the ploblem was about some plugin, Because When I try install new fresh app, It didn’t get any error.