my refractored titanium module won't build - titanium

I had a working titanium module but i went to refractor it and suddenly i get this error when trying to package it:
Executing build.xml...
/Users/elidd1/Library/Application Support/Titanium/mobilesdk/osx/3.1.2.GA/module/android/build.xml:326: The following error occurred while executing this line:
/Users/elidd1/Library/Application Support/Titanium/mobilesdk/osx/3.1.2.GA/module/android/build.xml:281: exec returned: 2 You may need to install the Command Line Tools package through XCode, in case you haven't done so yet.
anyone know why? i used the refractor tool built into titanium

You need to install xCode command line tools. You can find in this thread how to do.
Xcode 4.4 and later install Command Line Tools

Related

I can't run this project in react-native

I need help please, I can't run this project, I have used the README commands, but I only have errors, could you tell me how to run the project please, I use windows 11.
project link: https://github.com/Pau1fitz/react-native-football
I did what the README says, but it gives me an error

Failed to retrieve NativeApplicationBuilder when running IBM MobileFirst 6.3 CLI

We're trying to build our IBM MobileFirst project on version 6.3 via the command line and we always get a BUILD FAILED:
C:\Program Files\IBM\MobileFirst-CLI\mobilefirst-cli\node_modules\generator-worklight-server\lib\build.xml:341: Failed to retrieve NativeApplicationBuilder
What is NativeApplicationBuilder? Is it a Java thing, or something else?
Java Version being used is 1.7.0_80 64-Bit.
The error ended up being because there was no common folder and we are running a hybrid app. Since we use a preprocessing script to build the common folder, it hadn't been run yet. Since there was no common folder, it looked for something native to build which didn't exist either. Therefore, we got the error.
I should have looked closer into the build.xml file where it reported the error. It made sense after I saw that.

How to run incore_macho with FIPS and IBM WL for iOS

I am trying to run the incore_macho which has been provided by IBM Worklight.I am unable to run this script on my mac machine, can anyone please guide what are the steps in running this script, Does it require any prerequisites. Appreciate your help.
reference link :- http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v600/05_12_JSONStore_-_Encrypting_sensitive_data_with_FIPS.pdf
code link :- http://public.dhe.ibm.com/software/mobile-solutions/worklight/docs/v600/JSONStoreEncryptingSensitiveDataWithFIPSProject.zip
Thanks
djrecker
In order to run the incore_macho script add an iOS environment in Worklight and then Run As-> Xcode Project. You can instruct Xcode to run the script on each build by selecting the Project and adding a build phase run script.
To add a run script build phase please see:
https://developer.apple.com/library/ios/recipes/xcode_help-project_editor/Articles/AddingaRunScriptBuildPhase.html
In the space for the script add:
{INSTALL_PATH}/incore_macho -exe
“$CONFIGURATION_BUILD_DIR/$EXECUTABLE_PATH”
{INSTALL_PATH} is the location where you installed the
incore_macho file.

"classes.dex not found. Try to rebuild project" in Android Studio

I'm unable to build Android project using Android Studio 0.1.3. Everything worked fine until latest SVN update of the project. This is strange, because no settings were changed (SDK, dependencies etc.). I also didn't update any tools. I keep getting the error:
Android Packager: [trunk] File /home/matis/.AndroidStudioPreview/system/compile-server/apilot_f8e91252/android/intermediate_artifacts/trunk/classes.dex not found. Try to rebuild project
There are no errors in source code, I can build and deploy it on a device without problems using Eclipse. I'm using SDK rev. 17 with SDK Tools rev. 22.
I tried to build source from earlier SVN revision, but the same thing happens.
Has anyone else experienced similar problem? How can I solve it?
Update
After some investigation I found out that dx tool doesn't get called at all (I modified its script so it would create some file if run), but aapt is called properly.

Unable to compile Ultralite library for Iphone for my Xcode 4.3.3

I am new to iphone development . In my application I am trying to provide Ultralite Sync
mechanism. I am referring the following link:
http://dcx.sybase.com/index.html#1201/en/ulc/compile-iphone-library.html.
But when I try to Compile the library for the iPhone simulator , I get the error. That is,
when I execute the ./build.sh command. I get the following error
make: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.2: No such file or directory
I assume, I am getting error because Developer folder is missing as I am using XCode
version 4.3.3. I am really banging my head to get the solution. Can any one help me out,
please ?
I just encountered this error as well and got past it by doing the following:
1)Launch XCode
2)Click XCode...Preferences menu
3)Click on Locations
4)Select the 'Command Line tools' drop down and select the version number.
Mine was unseleced. After making this selection and rerunning the command line tools I was able to get past this error. (Although now I have other errors in the script)