Error Code 65 when trying to emulate ios


#1

Hello, trying to run “ios emulate ios” but I keep getting this error:

Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/Dan/documents/websites/jm.ionic2/camperchat/platforms/ios/cordova/build-debug.xcconfig,-project,camperchat.xcodeproj,ARCHS=i386,-target,camperchat,-configuration,Debug,-sdk,iphonesimulator,build,VALID_ARCHS=i386,CONFIGURATION_BUILD_DIR=/Users/Dan/documents/websites/jm.ionic2/camperchat/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Users/Dan/documents/websites/jm.ionic2/camperchat/platforms/ios/build/sharedpch

I am running cordova 6.2.0


#2

got the build to succeed by uninstalling and reinstalling xcode even though I ran the update yesterday


#3

try: ionic state reset


#4

I’m glad that you got it working. I just wanted to post a link to a similar issue for others that are facing such problem and find this topic. The workaround which helped was:

ionic platform remove ios
ionic platform add ios