Does Anybody help me on find what this error is? I got this error while debugging for iOS.
Titanium Command-Line Interface, CLI version 3.2.1, Titanium SDK version 3.2.0.GA
Copyright (c) 2012-2014, Appcelerator, Inc. All Rights Reserved.
Please report bugs to http://jira.appcelerator.org/
[INFO] : Deploy type: development
[INFO] : Building for target: simulator
[INFO] : Building using iOS SDK: 7.1
[INFO] : Building for iOS iPhone Simulator: 7.1
[INFO] : Building for device family: iphone
[INFO] : Minimum iOS version: 6.0
[INFO] : Debugging enabled via debug host: 192.168.0.4:50333
[INFO] : Profiler disabled
[INFO] : Initiating prepare phase
[INFO] : Initiating Xcode pre-compile phase
[INFO] : Processing JavaScript files
[INFO] : Compiling localization files
[INFO] : Checking for Splash Screen localization
[INFO] : Skipping xcodebuild
[INFO] : Finished building the application in 4s 559ms
[INFO] : Running application in iOS Simulator
[INFO] : Launching application in iOS Simulator
[INFO] : Focusing the iOS Simulator
[ERROR] : Project failed to build after 10s 972ms
在日志文件我有这个:
!ENTRY com.aptana.core 4 0 2014-03-17 17:29:29.765 !MESSAGE (Build 3.2.1.201402041146) [错误] 在启动之前清理构建时出错!STACK 1 org.eclipse.core.runtime.CoreException: 错误同时在 com.appcelerator.titanium.ios.ui.launching.simulator.IOSSimulatorLaunchConfigurationDelegate.launch(IOSSimulatorLaunchConfigurationDelegate.java:52) 的 com.appcelerator.titanium.core.launching.TitaniumSingleProjectLaunchConfigurationDelegate.cleanBuild(TitaniumSingleProjectLaunchConfigurationDelegate.java:79) 调用同步构建器) 在 org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707) 在 org.eclipse.debug 的 org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)。 internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018) 在 org.eclipse.debug。internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) 原因:java.lang.NoSuchMethodException: org.eclipse.core .internal.events.BuildManager.build(org.eclipse.core.internal.resources.BuildConfiguration, int, java.lang.String, java.util.Map, org.eclipse.core.runtime.IProgressMonitor) 在 java.lang。 Class.getMethod(Class.java:1641) 在 com.aptana.core.util.BuildUtil.syncBuild37(BuildUtil.java:117) 在 com.aptana.core.util.BuildUtil.syncBuild(BuildUtil.java:73) 在 com .appcelerator.titanium.core.launching.TitaniumSingleProjectLaunchConfigurationDelegate.cleanBuild(TitaniumSingleProjectLaunchConfigurationDelegate.java:75) ... 6 更多 !SUBENTRY 1 com.aptana.core 4 0 2014-03-17 17:29:29.766 !MESSAGE 调用时出错同步生成器!堆栈 0 java.lang。NoSuchMethodException:org.eclipse.core.internal.events.BuildManager.build(org.eclipse.core.internal.resources.BuildConfiguration,int,java.lang.String,java.util.Map,org.eclipse.core.runtime。 IProgressMonitor) 在 java.lang.Class.getMethod(Class.java:1641) 在 com.aptana.core.util.BuildUtil.syncBuild37(BuildUtil.java:117) 在 com.aptana.core.util.BuildUtil.syncBuild(BuildUtil .java:73) 在 com.appcelerator.titanium.core.launching.TitaniumSingleProjectLaunchConfigurationDelegate.cleanBuild(TitaniumSingleProjectLaunchConfigurationDelegate.java:75) 在 com.appcelerator.titanium.ios.ui.launching.simulator.IOSSimulatorLaunchConfigurationDelegate.launch(IOSSimulatorLaunchConfigurationDelegate.java:52 ) 在 org.eclipse.debug.internal.core 的 org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)。LaunchConfiguration.launch(LaunchConfiguration.java:707) 在 org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018) 在 org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java :1222) 在 org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)