NimbleKit - fast iOS app development

Problem of integration of Sencha Touch and NK

Ask questions and share your skills here

Problem of integration of Sencha Touch and NK

Postby jomego » Sun Feb 06, 2011 11:21 pm

My problem is this, I'm trying to integrate js Seche within an application I'm doing with Nk, but the js does not recognize me and gives me the following warnings


warning: no rule to process file '$ (PROJECT_DIR )/../ index.js' of type sourcecode.javascript for ARMv7 architecture

warning: no rule to process file '$ (PROJECT_DIR )/../ sencha-touch.js' of type sourcecode.javascript for ARMv7 architecture

warning: no rule to process file '$ (PROJECT_DIR )/../ auto.js' of type sourcecode.javascript for ARMv7 architecture


Has anyone been able to integrate with Nk Sencha Touch, I leave my application code.
Code: Select all
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">   
    <title>Unlimited</title>
      <link rel="stylesheet" type="text/css" href="antenna.css" id="css">
     <link rel="stylesheet" href="sencha-touch.css" type="text/css">

   <script type="text/javascript" src="sencha-touch.js"></script>
    <script type="text/javascript" src="auto.js"></script>
    <script type="text/javascript" src="NKit.js"></script>
    <script type="text/javascript" src="index.js"></script>
 
   
       <style>
        body {
            background-color: #000000;
        }
        .card {
            text-align: center;
            color: #204167;
            text-shadow: #3F80CA 0 1px 0;
            font-size: 72px;
            padding: 0px 0px;
        }
       
        .x-phone .card {
            padding: 15px;
            font-size: 36px;
        }

        .card p {
            font-size: 24px;
            line-height: 30px;
        }
       
        .x-phone .card p {
            font-size: 16px;
            line-height: 18px;
        }
    </style>
</head>


<body></body>
</html>
User avatar
jomego
 
Posts: 100
Joined: Wed Dec 01, 2010 2:10 pm

Re: Problem of integration of Sencha Touch and NK

Postby blazeman » Mon Feb 07, 2011 12:24 am

I haven't tried this but i don't see ant mention about putting the javascript/css files in the "Copy Bundle Resources" folder.
User avatar
blazeman
NimbleKit Expert
 
Posts: 712
Joined: Sat May 30, 2009 5:58 pm

Re: Problem of integration of Sencha Touch and NK

Postby jomego » Mon Feb 07, 2011 12:34 am

but where is that folder because I can not find it in my project
User avatar
jomego
 
Posts: 100
Joined: Wed Dec 01, 2010 2:10 pm

Re: Problem of integration of Sencha Touch and NK

Postby blazeman » Mon Feb 07, 2011 12:56 am

Click the arrow in front of targets, then the arrow in front of your app name.
User avatar
blazeman
NimbleKit Expert
 
Posts: 712
Joined: Sat May 30, 2009 5:58 pm

Re: Problem of integration of Sencha Touch and NK

Postby HalfMoon » Mon Feb 07, 2011 1:00 am

Here you go - under "Troubleshooting"
:)
User avatar
HalfMoon
NimbleKit Guru
 
Posts: 662
Joined: Thu Jun 04, 2009 6:21 pm
Location: Brighton, UK

Re: Problem of integration of Sencha Touch and NK

Postby jomego » Mon Feb 07, 2011 1:14 am

I do not understand in my project displayed these folders but I do not see any folder "Copy Bundle Resources" and not to do and I have to submit the project tomorrow ..

A solution please.
Image
User avatar
jomego
 
Posts: 100
Joined: Wed Dec 01, 2010 2:10 pm

Re: Problem of integration of Sencha Touch and NK

Postby sunny » Mon Feb 07, 2011 1:27 am

read carefuly what's written in troubleshooting as HalfMoon said, and do it step by step
User avatar
sunny
Staff
 
Posts: 2666
Joined: Sat May 30, 2009 5:18 am
Location: Palo Alto, California

Re: Problem of integration of Sencha Touch and NK

Postby jomego » Mon Feb 07, 2011 1:28 am

already arranged ... thanks to all
User avatar
jomego
 
Posts: 100
Joined: Wed Dec 01, 2010 2:10 pm

Re: Problem of integration of Sencha Touch and NK

Postby sheets » Fri May 11, 2012 6:58 pm

I am having this issue however the instructions are for the old xcode... anyone know the fix in the new xcode?
sheets
 
Posts: 19
Joined: Thu Mar 17, 2011 4:51 pm

Re: Problem of integration of Sencha Touch and NK

Postby HalfMoon » Sat May 12, 2012 12:25 pm

sheets wrote:I am having this issue however the instructions are for the old xcode... anyone know the fix in the new xcode?


Here you go sheets:
lInkyclick
User avatar
HalfMoon
NimbleKit Guru
 
Posts: 662
Joined: Thu Jun 04, 2009 6:21 pm
Location: Brighton, UK


Return to How To...

Who is online

Users browsing this forum: No registered users and 1 guest