Appcelerator error: Project failed to build after - appcelerator-mobile

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
On logfile I have this:
!ENTRY com.aptana.core 4 0 2014-03-17 17:29:29.765
!MESSAGE (Build 3.2.1.201402041146) [ERROR] Error cleaning the build before launching
!STACK 1
org.eclipse.core.runtime.CoreException: Error while invoking a synchronous builder
at com.appcelerator.titanium.core.launching.TitaniumSingleProjectLaunchConfigurationDelegate.cleanBuild(TitaniumSingleProjectLaunchConfigurationDelegate.java:79)
at com.appcelerator.titanium.ios.ui.launching.simulator.IOSSimulatorLaunchConfigurationDelegate.launch(IOSSimulatorLaunchConfigurationDelegate.java:52)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
Caused by: 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)
at java.lang.Class.getMethod(Class.java:1641)
at com.aptana.core.util.BuildUtil.syncBuild37(BuildUtil.java:117)
at com.aptana.core.util.BuildUtil.syncBuild(BuildUtil.java:73)
at com.appcelerator.titanium.core.launching.TitaniumSingleProjectLaunchConfigurationDelegate.cleanBuild(TitaniumSingleProjectLaunchConfigurationDelegate.java:75)
... 6 more
!SUBENTRY 1 com.aptana.core 4 0 2014-03-17 17:29:29.766
!MESSAGE Error while invoking a synchronous builder
!STACK 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)
at java.lang.Class.getMethod(Class.java:1641)
at com.aptana.core.util.BuildUtil.syncBuild37(BuildUtil.java:117)
at com.aptana.core.util.BuildUtil.syncBuild(BuildUtil.java:73)
at com.appcelerator.titanium.core.launching.TitaniumSingleProjectLaunchConfigurationDelegate.cleanBuild(TitaniumSingleProjectLaunchConfigurationDelegate.java:75)
at com.appcelerator.titanium.ios.ui.launching.simulator.IOSSimulatorLaunchConfigurationDelegate.launch(IOSSimulatorLaunchConfigurationDelegate.java:52)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:858)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:707)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1018)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1222)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

This may happen due to multiple installations of Xcode and incorrect iOS SDK Home value set in Titanium Studio Preferences, which maybe pointing to a different location of Xcode than the current one or the needed one.
I was on Xcode 5.1 and iOS SDK 7.1 with iOS simulator version 7.1. The Titanium SDK version in my tiapp.xml is 3.3.0.GA. I had multiple installations of Xcode ranging from Xcode 4.5, 5.0, 5.0.2 and 5.1 on my Mac machine running Mac Mavericks. I was able to solve it the following way -
From the Titanium Studio menu options, select Preferences.
From the Preferences window, expand the Studio drop down and inside that expand the Platforms drop down and select iOS.
Under the General section on the right, check if the iOS SDK Home is set to the current version as per the Run Configuration you are building the app against. For me, it was set to Xcode 5.0.2 version when it should have been actually set to Xcode 5.1 version (I guess needed for running on iOS simulator version 7.1 with Titanium SDK version 3.3.0.GA). You can find the steps to change it by clicking on the More Details link provided in the Note below.
Click Apply and run the application again, better even to do a clean and run.

In my case my project was building fine and then next minute I get this error and couldn't get rid of it.
In the end the only thing that fixed it for me was to delete the build directory from your app, then build again.

Related

eclipse for c++ development on sun solaris 10. getting gtk-warning

I want to do c++ development on sun solaris 10.0 machine. I downloaded eclipse for solaris 10 but when I run it nothing popsup and I get warnings on command line. How do I bring up eclipse IDE? also will I need any plugin in my eclipse.ini to enable c++ development? there are a whole lot of files under the /plugins directory. I am very new to unix and solaris os.
Here is my environment
cat /etc/release
Solaris 10 10/09 s10x_u8wos_08a X86
Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.
uname -a
SunOS 5.10 Generic_147441-25 i86pc i386 i86pc
This is the eclipse I downloaded
http://www.eclipse.org/downloads/download.php?file=/eclipse/downloads/drops4/R-4.6-201606061100/eclipse-SDK-4.6-solaris-gtk-x86_64.zip
This is the java version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
This is the warning message
./eclipse
Eclipse:
GTK+ Version Check
***WARNING: Gtk+ version too old (micro mismatch)
***WARNING: SWT requires GTK 2.18.0
***WARNING: Detected: 2.4.9
(Eclipse:3218): Gdk-WARNING **: gdkdrawable-x11.c:994 drawable is not a pixmap or window
(Eclipse:3218): Gtk-WARNING **: gtkwidget.c:7030: widget class GtkLabel' has no property namedlink-color'
I am using cygwin and running xwindows plugin to support popup windows.
heres the downloaded eclipse.ini. I have not made any changes to it.
vi eclipse.ini
"eclipse.ini" 13 lines, 320 characters
-startup
plugins/org.eclipse.equinox.launcher_1.3.200.v20160318-1642.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.solaris.x86_64_1.1.300.v20160518-1444
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
thanks

flutter iOS build failed (ld: library not found for -lPods-Runner)

I am new to flutter. I have created small flutter app and i wanna test it on my real devices but i am unable to generate ios ipa file for testing. Please if anyone could help me with this issues then it would be good for me.thanks in advance!!
I getting this error . :
*iMac:test_app snehal$ flutter build ios
Building com.org.testApp for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: 5GC7G69Y22
Starting Xcode build...
Xcode build done. 5.1s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
ld: library not found for -lPods-Runner
clang: error: linker command failed with exit code 1 (use -v to see invocation) Encountered error while building for device.*
In new projects, in the iOS part is necessary to adjust a few parameters, such as signing, and that you can only do in Xcode.
So, try to open the iOS project with Xcode and try to build it from there. You'll see better warning and error messages there, specially regarding signing.
You can open Xcode and locate your project ios folder, or:
cd yourproject/ios
open -a Xcode .
Then select Product > Run in the menu.

flutter iOS build got failed (ld: library not found for -lPods-Runner)

I am new to flutter. I have created small flutter app and i wanna test it on my real devices but i am unable to generate ios ipa file for testing. Please if anyone could help me with this issues then it would be good for me.thanks in advance!! I getting this error . :
*iMac:test_app snehal$ flutter build ios
Building com.org.testApp for device (ios-release)...
Automatically signing iOS for device deployment using specified development team in Xcode project: 5GC7G69Y22
Starting Xcode build...
Xcode build done. 5.1s
Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
=== BUILD TARGET Runner OF PROJECT Runner WITH CONFIGURATION Release ===
ld: library not found for -lPods-Runner
clang: error: linker command failed with exit code 1 (use -v to see invocation) Encountered error while building for device.*

Error when i try to resync trac with svn

I just finishing installing
Windows server 2016 x64
Apache 2.2 (x86)
Python 27 (x86)
subversion 1.9.7 (from visualsvn 3.8 x64 because Win server don't accept x86 version)
Trac 1.2.2
This a part of my trac.ini configuration for svn
[components]
tracopt.versioncontrol.svn.* = enabled
[repositories]
proj_web.dir = C:\Repositories\proj_web
proj_web.description = This is the ''main'' project repository.
proj_web.type = svn
proj_web.url = http://192.168.0.55:8080/svn/proj_web/
.alias = proj_web
SVN is working, trac also but i want now to synchronise trac with svn (migration), so i'm using the command :
trac-admin C:\Trac\proj_web repository resync proj_web
and the error was :
InvalidConnector: Unsupported version control system "svn": DLL load failed:
How can i know wich dll failed to load ?
Someone have an idea of the probleme ??
Thanks a lot.
Try loading the svn bindings from your Python interpreter. Open a Python shell and run: from svn import core.
If that fails, then you either need to modify your path, or use an x64 build of Python. I'd first try changing to an x64 build of Python. There's a troubleshooting checklist on the TracSubversion page, but it's probably a little out-of-date.

iOS kit not detected on Qt (macOS)

I am currently trying to port an android application on iOS. The application was developped on Linux. But I can't manage to use Qt on macOs for iOS developpement.
I followed those (rather unclear) instructions : http://doc.qt.io/qt-5/ios-support.html
First, I installed successfully XCode and I managed to deploy a dummy app on my iPhone. Then, I installed Qt and opened the ".pro" project file.
But the only kit I can use is "Desktop Qt 5.4.1 clang 64 bit". The kits for iOS don't seem to be detected.
Did I do something wrong ? Am I missing something ?
EDIT:
When I launch the ".pro", I got this error :
Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild.
Unfortunately, it is NOT related to this well known issue (Qt Creator - Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild)
When I run the command :
/usr/bin/xcodebuild
I get this error:
xcodebuild: error: The directory /Users/<UserName> does not contain an Xcode project
Okay I managed to solve my problem by re installing Qt with version 5.8 (instead of 5.9.1).
But I am not sure this is what was causing the issue though. In deed, I realized I installed Qt prior to configuring XCode the first time(with my Developer Account).