从 xcode5 升级到 xcode6 后,运行程序时出现错误,参考http://download.csdn.net/download/ztb3214/7948757 做了文件替换,又出现了下面的提示,之前用 xcode5 时,程序可以正常运行,求指教!

error: Unhandled error: TypeError: Object # has no method 'getXcodeFolder'
at IOS.setXcodeFolder (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios.js:450:11)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:610:21
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:249:17
at iterate (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:149:13)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:160:25
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:251:21
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/async/lib/async.js:615:34
at null. (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/devices/ios/ios.js:227:7)
at CB (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/rimraf/rimraf.js:68:5)
at /Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/rimraf/rimraf.js:91:16 context: [POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/xx/Documents/app/xx.app","platformVersion":"7.1","browserName":"","platformName":"iOS","deviceName":"iPhone Simulator"}}]


↙↙↙阅读原文可查看相关链接,并与作者交流