Error locating module for quicktigame2d

You must Login before you can answer or comment on any questions.

I have installed the quicktigame2d modules and I am attempting to run the example project: quicktishooter Available here: http://code.google.com/p/quicktigame2d/source/browse/#git%2FQuickTiShooter

It works (sort of) in the android emulator; slowly and ineffectually, but it runs.

But when I try and run it in the iPhone emulator I get the following error.

[ERROR] Third-party module: com.googlecode.quicktigame2d/1.3 missing library at /Library/Application Support/Titanium/modules/android/com.googlecode.quicktigame2d/1.3/libcom.googlecode.quicktigame2d.a
It looks like it is trying to locate the iphone library files in the Android directory.

Anyone know how this could be happening ?

1 Answer

Accepted Answer

just figured this out John since I had the same problem.

goto

Library/Application Support/Titanium/modules
create a folder called iphone (next to your android folder, if you're doing android), then put the quicktigame2d module folder there

Then in your tiapp.xml, use the code

<modules>
        <module platform="iphone" version="1.3">com.googlecode.quicktigame2d</module>
        <module platform="android" version="1.3">com.googlecode.quicktigame2d</module>
    </modules>
after making those changes, I can now build

— answered 9 months ago by chief meow
answer permalink
3 Comments
  • Thanks Chief Meow,

    It seems that the README file for this project is wrong. It advises that your add the module like this:

    <modules>
      <module version="1.3">com.googlecode.quicktigame2d</module>
    </modules>
    This is the source of the problem.

    You need to do as Chief Meow suggests and specify the platform for each version of the module.

    <modules>
       <module platform="iphone" version="1.3">com.googlecode.quicktigame2d</module>
       <module platform="android" version="1.3">com.googlecode.quicktigame2d</module>
    </modules>

    — commented 9 months ago by John Hawkins

  • where is the Library folder in mac which you were mentioned above Library/Application Support/Titanium/modules

    — commented 2 months ago by Mohsin Rasheed

  • In terminal type:

    open ~/Library/Application\ Support/Titanium/

    — commented 2 months ago by Paul Nelson

Your Answer

Think you can help? Login to answer this question!