HerrimanCoder
HerrimanCoder

Reputation: 7218

ti.storekit - Could not find a valid Titanium module

First, I have looked at this stack post, and it's not solving my problem. I have downloaded ti.storekit into Appcelerator/Titanium modules folder (mac), then selected/added the module from the Appcelerator Studio 4.0 TiApp Editor. When I select the module it appears loaded and valid in my Ti project. When I try to run my iOS app in the simulator, I get this error:

[WARN] :   Could not find a valid Titanium module id=ti.storekit version=latest platform=iphone deploy-type=development
[ERROR] :  Could not find all required Titanium Modules:
[ERROR] :     id: ti.storekit    version: latest     platform: iphone    deploy-type: development
TRACE  | titanium exited with exit code 1
ERROR  | Error: ti run exited with error code 1
    at ChildProcess.<anonymous> (/Users/natej/.appcelerator/install/4.0.1/package/node_modules/appc-cli-titanium/plugins/run.js:84:66)
    at ChildProcess.emit (events.js:98:17)
    at Process.ChildProcess._handle.onexit (child_process.js:810:12)

I cannot figure out what to do differently. In the above Stack post I mentioned, they say to put version 3.0.0 in the xml, which I tried, and it did not good. I can't tell what version the ti.storekit is on github, I looked everywhere and cannot find it. I don't know if specifying the version the Ti xml will make any difference, or if I'm doing something else wrong.

And here is my tiapp.xml, with a few pieces obscured:

<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
    <guid>de545a1xxxx-a06a0a24cd55</guid>
    <deployment-targets>
        <target device="mobileweb">false</target>
        <target device="iphone">true</target>
        <target device="ipad">true</target>
        <target device="android">false</target>
    </deployment-targets>
    <sdk-version>4.0.0.GA</sdk-version>
    <id>com.acme.myapp</id>
    <name>My Cool App</name>
    <version>1.0</version>
    <publisher>Acme</publisher>
    <url>http://www.acme.com</url>
    <description>Fun app</description>
    <copyright>2015 by Acme.com</copyright>
    <icon>appicon.png</icon>
    <persistent-wifi>false</persistent-wifi>
    <prerendered-icon>false</prerendered-icon>
    <statusbar-style>default</statusbar-style>
    <statusbar-hidden>false</statusbar-hidden>
    <fullscreen>false</fullscreen>
    <navbar-hidden>false</navbar-hidden>
    <analytics>true</analytics>
    <iphone>
        <orientations device="iphone">
            <orientation>Ti.UI.LANDSCAPE_LEFT</orientation>
            <orientation>Ti.UI.LANDSCAPE_RIGHT</orientation>
        </orientations>
        <orientations device="ipad">
            <orientation>Ti.UI.LANDSCAPE_LEFT</orientation>
            <orientation>Ti.UI.LANDSCAPE_RIGHT</orientation>
        </orientations>
    </iphone>
    <android xmlns:android="http://schemas.android.com/apk/res/android"/>
    <modules>
        <module platform="iphone">ti.storekit</module>
    </modules>
    <property name="appc-app-id" type="string">5569c9ade5d789706791f60d</property>
</ti:app>

Any ideas?

Upvotes: 0

Views: 915

Answers (1)

Fokke Zandbergen
Fokke Zandbergen

Reputation: 3866

Did you download the source code or the actual distribution?

The distributions can be found at: https://github.com/appcelerator-modules/ti.storekit/releases

Upvotes: 1

Related Questions