I'm getting this error running my app on a simulator or device: [ERROR] : Script Error Couldn't find module: ti.storekit. The device shows a red screen with the same error. I have unzipped the module into ~/Library/Application Support/Titanium/modules/iphone/. In that directory I now have ti.storekit/3.0.0/. I have this in my tiapp.xml:
<module platform="iphone" version="3.0.0">ti.storekit</module>
I've trolled google, this site, and the appcelerator forum and found no solutions that work for me.
Titanium SDK: Titanium Command-Line Interface, CLI version 3.4.0, Titanium SDK version 3.4.0.GA
Platform & version: iOS 6.1
Device: iPod 5
Host Operating System: OSX Mavericks
Titanium Studio: 3.4.0.201409261227
I don't see anything else relevant in any logs but I am happy to post anything. Anybody have any ideas? Thanks for your time.
https://github.com/appcelerator-modules/ti.storekit
download this module and add it in module directory of titanium studio.
I think the problem was a second empty modules tag in the tiapp.xml file.
Related
Device: iPhone 5 (Model A1429)
iOS version: 9.2 (13C75)
Titanium SDK: 4.0.0.GA
When I tried to run/distribute my app, I faced this error messages
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld build/iVirtue.build/Debug-iphoneos/iVirtue.build/Objects-normal/arm64/iVirtue normal arm64
[ERROR] : (1 failure)
The warning in TiApp Editor > Deployment Targets said
iOS development requires [5.0, 9.0) but you have 9.2
Initially, when I haven't updated my Titanium Studio and my iOS version, the app was running perfectly. Please help.
I didn't clearly explain it before. The app i made was made on Titanium Studio, so installed the Appcelerator Studio and have the app exported. Now, it's working well. Thank you all, now i can close this matter.
Try to update the Titanium SDK to the latest 5.1.2.GA & all other components as well, because as you said that the app was working fine before so it is something related to the updates.
Use Titanium Studio to update everything available.
This seems to be a problem in your run configuration (or tiapp.xml). I suggest you first delete the run configuration, run the app again to define a new run configuration. Also check tiapp.xml to see if you have any references to iOS version?
You should also clean your project prior to running it after having deleted the run configuration :-)
/John
i developing a html5-App for Android and iOS. Building for Android and iOS-Simulator works like a charm. But if i want to build the app for iOS-Device the build process stops with following error:
update-ios:
cordova prepare ios
build-ios-xcodebuild:
xcodebuild: error: SDK "iphoneos6.0" cannot be located.
/Users/.../nbproject/build.xml:178: exec returned: 64
For development i using netbeansIDE, xcode 5.1.1 and cordova 3.5.
Also i downloaded the iOS 6.1 sdk and copied into sdk folder of xcode, but that don't work for me. May i have to set an environment variable?
Is there someone, who could give me a hint?
In advance
my goal here is to run an android emulator with various old versions of Android to test web apps. I am an android newbie. I have a Nexus 7 with Jellybean. The bugs on the web apps are reported in older versions.
So far I have;
Installed Android SDK on a Windows 8 desktop, created and run emulators but it's limited to Android 4.2 only (Jellybean)
I think the next step is to run the SDK Manager -- Ecplipse > Window > Android SDK Manager
Doing this reports that the Manager will show shortly -- nothing happens. In the console I get this error;
[2013-02-09 16:31:49 - SDK Manager] [SDK Manager] \adt-bundle-windows-x86_64\sdk\tools\lib\\find_java.exe was unexpected at this time.
Running find_java.exe from the command line gives:
D:\Program Files (x86)\adt-bundle-windows-x86_64>sdk\tools\lib\\find_java.exe
C:\Program Files\Java\jre7\bin\java.exe
D:\Program Files (x86)\adt-bundle-windows-x86_64>where java
C:\Program Files\Java\jre7\bin\java.exe
C:\Windows\System32\java.exe
I have updated the PATH environment var to include the jre7 directory as above, and added a ANDROID_SDK_HOME as D:\Users\myuser_000\Documents\Workspace -- devices I create appear in a .android\avd sub-directory.
I am running the SDK on Windows 8, installed in D:\Program Files (x86)\adt-bundle-windows-x86_64
Is running the SDK Manager the correct action?
Any ideas what would cause the SDK Manager not to display?
Thank you!
The error was in the android.bat file.
I edited the following to comment out the call to find_java.bat and hard coded to my installed version of Java.
rem Check we have a valid Java.exe in the path.
set java_exe="C:\Program Files\Java\jre7\bin\java"
rem call lib\find_java.bat
Hope this helps someone in the future.
Something that may have complicated the issue was windows 8 catching android.bat as an unsafe program and automatically stopping it. I saw this when manually trying to run the batch file.
I want to create a mobilesubstrate plugin for iPhone OS 3.2 or I tried to setup toolchain on the iPad device.
I have installed the iphone-gcc_4.2-20090304-1-9_iphoneos-arm package and all the relevant packages from Cydia, but when it comes to compiling the simplest source file shows the following error:
arm-apple-darwin9-g++ -I /var/toolchain/sys/ -c -dynamiclib ExampleHookLibrary.mm -o ExampleHookLibrary.o
arm-apple-darwin9-g++: Internal error: Bus error (program cc1objplus)
Please submit a full bug report.
See <URL:http://developer.apple.com/bugreporter> for instructions.
make: *** [ExampleHookLibrary.o] Error 1
Is it because the iphone-gcc doesn't yet support this device or am I missing anything here? Thanks.
Try iPhone 3.0 Toolchain from TheWorm repository (http://cydia.theworm.tw/), it works for me like a charm. You'll also need the headers from iOS SDK 3.0...3.2.2, and the binary frameworks (extensionless dylib's) also from the SDK.
Bus error is a different form of a segmentation fault. The toolchain is broken in some way.
This script automatically setup iphone toolchain for you, runs on Mac OS X, thanks to #rpetrich. http://gist.github.com/403608
First, remember to
apt-get remove iphone-gcc
before running this thing on your mac, if you don't want to collect headers files from iphone sdk, follow the Darwin arm part of the script and I think you should be good.
try "iphone 2.0 toolchain" form bigboss
I downloaded the source code, typed 'make oxp' then I got a file named 'c-client.a', I think it is for X86.
But how can I build this library for iPhone OS (device)?
For command-line compilation for iPhone, you can look at:
http://iphonesdkdev.blogspot.com/2009/07/how-to-compile-command-line-utility-for.html
Command line compiling an iPhone Application