Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    83
    Vote Rating
    4
    cydaps is on a distinguished road

      1  

    Default Production build for iOS failing but iOSSimulator builds fine.

    Production build for iOS failing but iOSSimulator builds fine.


    Hi

    I'm getting a strange build error when trying to build a production native app with the "platform" set up as iOS. It works fine with iOSSimulator (although in the iOS Simulator I'm unable to interact with any Sencha Touch apps, even Sencha Kitchen Sink). But back to the build. I'm running OS X Mountain Lion with Sencha Touch 2.2.0 and Sencha Cmd 3.1.1.274

    This is the error I get. I see there are a few errors, but from searching around online I'm not finding anything that directs me to how to resolve these or what I'm doing wrong. Any hints would be hugely appreciated!

    Thanks!!!


    Code:
    Cydaps-iMac:pattmobile cydaps$ sencha app build native
    Sencha Cmd v3.1.1.274
    [INF] 
    [INF] init-plugin:
    [INF] 
    [INF] init-plugin:
    [INF] 
    [INF] -before-app-build:
    [INF] 
    [INF] cmd-root-plugin.init-properties:
    [INF] 
    [INF] init-properties:
    [INF] 
    [INF] init-sencha-command:
    [INF] 
    [INF] init:
    [INF] 
    [INF] -before-app-build:
    [INF] 
    [INF] app-build-impl:
    [INF] 
    [INF] native:
    [INF] 
    [INF] -before-init-local:
    [INF] 
    [INF] -init-local:
    [INF] 
    [INF] -after-init-local:
    [INF] 
    [INF] init-local:
    [INF] 
    [INF] find-cmd:
    [INF] 
    [INF] -before-init:
    [INF] 
    [INF] -init:
    [INF] Initializing Sencha Cmd ant environment
    [INF] Adding antlib taskdef for com/sencha/command/compass/ant/antlib.xml
    [INF] 
    [INF] -after-init:
    [INF] 
    [INF] init:
    [INF] 
    [INF] -before-build:
    [INF] 
    [INF] sass:
    [INF] 
    [INF] -before-sass:
    [INF] 
    [INF] -sass:
    [INF] executing compass using system installed ruby runtime
    identical ../css/app.css 
    [INF] 
    [INF] -after-sass:
    [INF] 
    [INF] page:
    [INF] 
    [INF] -before-page:
    [INF] 
    [INF] -page:
    [INF] building application
    [INF] Deploying your application to /Applications/XAMPP/xamppfiles/htdocs/PattMobile/build/PattMobile/package
    [INF] Copied /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app.js to /Applications/XAMPP/xamppfiles/htdocs/PattMobile/build/PattMobile/package/app.js
    [INF] Copied /Applications/XAMPP/xamppfiles/htdocs/PattMobile/resources/css/app.css to /Applications/XAMPP/xamppfiles/htdocs/PattMobile/build/PattMobile/package/resources/css/app.css
    [INF] Copied /Applications/XAMPP/xamppfiles/htdocs/PattMobile/resources/images
    [INF] Copied /Applications/XAMPP/xamppfiles/htdocs/PattMobile/resources/icons
    [INF] Copied /Applications/XAMPP/xamppfiles/htdocs/PattMobile/resources/startup
    [INF] Resolving your application dependencies (file:////Applications/XAMPP/xamppfiles/htdocs/PattMobile/index.html)
    [INF] Compiling app.js and dependencies
    [INF] Loading classpath entry /Applications/XAMPP/xamppfiles/htdocs/PattMobile/touch/src
    [INF] Loading classpath entry /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app.js
    [INF] Loading classpath entry /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>             },) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/controller/MainController.js:5162
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>             },) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/controller/MainController.js:8762
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>     }) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/store/CommentsStore.js:5460
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>     },) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/Comments.js:660
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>         };) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/CommentsDetails.js:4061
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer => });) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/CommentsList.js:3059
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>     },) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/Influences.js:660
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>         };) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/InfluencesDetails.js:4461
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer => });) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/InfluencesDetails.js:6259
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>         },) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/Login.js:1061
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>         }) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/Login.js:1461
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>          });) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/ProjectDetailsContainer.js:12568
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>          });     ) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/ProjectDetailsContainer.js:13168
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>         };) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/ProjectHome.js:8661
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>     },) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/ProjectHomeGP3.js:1060
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer =>     },) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/ProjectHomePursuits.js:1060
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer => });) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/ProjectsOfCustomers.js:7059
    [WRN] C1000: Rhino Parse Warning (Trailing comma is not legal in an ECMA-262 object initializer => });) -- /Applications/XAMPP/xamppfiles/htdocs/PattMobile/app/view/SalesTeamList.js:3059
    [INF] Concatenating output to file /Applications/XAMPP/xamppfiles/htdocs/PattMobile/build/PattMobile/package/app.js
    [INF] Completed compilation.
    [INF] Processed remote file touch/sencha-touch.js
    [INF] Processed local file app.js
    [INF] Minified app.js
    [INF] Generated app.json
    [INF] Embedded microloader into index.html
    [INF] Generating native package
    [INF] Packaging your application as a native app to /Applications/XAMPP/xamppfiles/htdocs/PattMobile/build/PattMobile/native ...
    [ERR] failed running native packager
    [ERR] Copy operation failed src=/Applications/XAMPP/xamppfiles/htdocs/PattMobile/build/PattMobile/native/PattMobile.app/webapp/resources/icons/iTunesArtwork dst=/Applications/XAMPP/xamppfiles/htdocs/PattMobile/build/PattMobile/native/PattMobile.app/iTunesArtwork
    /Applications/XAMPP/xamppfiles/htdocs/PattMobile/build/PattMobile/native//PattMobile.app: object file format unrecognized, invalid, or unsuitable
    Can not open source file
    The application was successfully packaged
    Failed to execute system command while signing application with error 256
    Failed to package application
    
    
    [ERR] 
    [ERR] BUILD FAILED
    [ERR] com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    [ERR] /Applications/XAMPP/xamppfiles/htdocs/PattMobile/.sencha/app/build-impl.xml:249: com.sencha.exceptions.ExScript: Wrapped com.sencha.exceptions.ExBuild: failed running native packager (x-app-build#515)
    [ERR]    isJavaCollection (/Users/cydaps/bin/Sencha/Cmd/3.1.1.274/ant/ant-util.js:183)
    [ERR]    toJS (/Users/cydaps/bin/Sencha/Cmd/3.1.1.274/ant/ant-util.js:241)
    [ERR]    runAppBuild (x-app-build:9)
    [ERR]    [anonymous] (x-app-build:571)
    [ERR]    x_app_build (x-app-build:569)
    [ERR]    <script> (anonymous:1)
    [ERR] /Applications/XAMPP/xamppfiles/htdocs/PattMobile/.sencha/app/build-impl.xml:249: com.sencha.exceptions.ExScript: Wrapped com.sencha.exceptions.ExBuild: failed running native packager (x-app-build#515)
    [ERR]    isJavaCollection (/Users/cydaps/bin/Sencha/Cmd/3.1.1.274/ant/ant-util.js:183)
    [ERR]    toJS (/Users/cydaps/bin/Sencha/Cmd/3.1.1.274/ant/ant-util.js:241)
    [ERR]    runAppBuild (x-app-build:9)
    [ERR]    [anonymous] (x-app-build:571)
    [ERR]    x_app_build (x-app-build:569)
    [ERR]    <script> (anonymous:1)
    [ERR]    isJavaCollection (/Users/cydaps/bin/Sencha/Cmd/3.1.1.274/ant/ant-util.js:183)
    [ERR]    toJS (/Users/cydaps/bin/Sencha/Cmd/3.1.1.274/ant/ant-util.js:241)
    [ERR]    runAppBuild (x-app-build:9)
    [ERR]    [anonymous] (x-app-build:571)
    [ERR]    x_app_build (x-app-build:569)
    [ERR]    <script> (anonymous:1)
    [ERR]    isJavaCollection (/Users/cydaps/bin/Sencha/Cmd/3.1.1.274/ant/ant-util.js:183)
    [ERR]    toJS (/Users/cydaps/bin/Sencha/Cmd/3.1.1.274/ant/ant-util.js:241)
    [ERR]    runAppBuild (x-app-build:9)
    [ERR]    [anonymous] (x-app-build:571)
    [ERR]    x_app_build (x-app-build:569)
    [ERR]    <script> (anonymous:1)
    [ERR]     at org.mozilla.ja
    [ERR] vascript.InterpretedFunction.exec(InterpretedFunction.java:120)
    [ERR] 
    [ERR] Total time: 22 seconds
    [ERR] com.sencha.exceptions.BasicException: The following error occurred while executing this line:
    /Applications/XAMPP/xamppfiles/htdocs/PattMobile/.sencha/app/build-impl.xml:249: com.sencha.exceptions.ExScript: Wrapped com.sencha.exceptions.ExBuild: failed running native packager (x-app-build#515)
       isJavaCollection (/Users/cydaps/bin/Sencha/Cmd/3.1.1.274/ant/ant-util.js:183)
       toJS (/Users/cydaps/bin/Sencha/Cmd/3.1.1.274/ant/ant-util.js:241)
       runAppBuild (x-app-build:9)
       [anonymous] (x-app-build:571)
       x_app_build (x-app-build:569)
       <script> (anonymous:1)

  2. #2
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    83
    Vote Rating
    4
    cydaps is on a distinguished road

      0  

    Default Some progress...

    Some progress...


    Ok, some progress. Seems like I'm not using the correct commands and now have this working on OS X Mountain Lion with the latest version of Xcode and iOS Simulator using the command:

    sencha app package -run configfile.json

    I'm trying to get this to compile to my device (all registered with apple and my provisioning certificate etc is all done, the device is recognised etc etc etc) however when I run

    sencha app package build configfile.json

    I get the following error:

    Code:
    Cydaps-iMac:pattmobile cydaps$ sencha app package build iospattconfigtemplate.jsonSencha Cmd v3.1.1.274
    [ERR] 
    Copy operation failed src=../build/PattMobile/iOS/PattMobile.app/webapp/resources/icons/iTunesArtwork dst=../build/PattMobile/iOS/PattMobile.app/iTunesArtwork
    ../build/PattMobile/iOS//PattMobile.app: object file format unrecognized, invalid, or unsuitable
    Can not open source file
    The application was successfully packaged
    Failed to execute system command while signing application with error 256
    Failed to package application
    
    
    [ERR] stbuild exited with non-zero code : 6
    Cydaps-iMac:pattmobile cydaps$
    I can see the file iTunesArtwork.png located within the /resources/icons/ folder but I'm not sure what I'm supposed to do to include it in the project, I couldn't see any documentation in Sencha about this. As I'm using the default project template for Sencha Touch 2.2.0 I'd assume the basics like this would work.

    Is there a specific file xml or json I need to look in to resolve this, perhaps the path is wrong somehow, I don't know, I'm lost as to why this is happening.

    Thanks so much for any help!

  3. #3
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    83
    Vote Rating
    4
    cydaps is on a distinguished road

      0  

    Default


    I give up with this. I've tried everything, I've followed every instruction I can find. I ended up building following the PhoneGap build process, but I've encountered errors with the Ext.device.* usage or the Cordova-***.js file being used, causing the app not to load. So at the moment I'm stuck with an app that I can't build with Sencha Cmd, but works using the PhoneGap build but I can't use Ext.device.* and I can't import the Cordova-***.js file either.... Joy... this is THE most frustrating software to use.... EVER!!!

  4. #4
    Sencha User
    Join Date
    Apr 2013
    Posts
    5
    Vote Rating
    2
    liondev4 is on a distinguished road

      0  

    Default Same issue building a native iOs app !

    Same issue building a native iOs app !


    Hi
    I have exactly the same issue !
    Is it a Sencha Cmd Bug, or is it something wrong in the way we do it ?
    Thks

  5. #5
    Sencha Premium Member
    Join Date
    Feb 2013
    Posts
    5
    Vote Rating
    0
    phogberg is on a distinguished road

      0  

    Default


    Same problem here as well...

    Tried all different cmd versions available, cmd does not seem to be compatible with ST 2.2.0 projects

  6. #6
    Sencha User
    Join Date
    Apr 2013
    Posts
    5
    Vote Rating
    2
    liondev4 is on a distinguished road

      2  

    Default


    I think I have a way to fix it
    Just update Xcode and then go to preference in "download" tab.
    There in component, install "Command Line Tools"
    And then it should work !!

  7. #7
    Ext JS Premium Member nmorado's Avatar
    Join Date
    Mar 2009
    Location
    New Jersey, USA
    Posts
    62
    Vote Rating
    1
    nmorado is on a distinguished road

      0  

    Default


    this works for me... unfortunately the app won't install on iphone.

    could be ios related setup thingy though...

    thanks

  8. #8
    Touch Premium Member
    Join Date
    Aug 2010
    Posts
    3
    Vote Rating
    0
    FireCoding is on a distinguished road

      0  

    Default


    Thx LionDev4, that was a super valuable tip! Fixed my problem

  9. #9
    Sencha Premium Member
    Join Date
    Aug 2012
    Posts
    83
    Vote Rating
    4
    cydaps is on a distinguished road

      0  

    Default


    Quote Originally Posted by liondev4 View Post
    I think I have a way to fix it
    Just update Xcode and then go to preference in "download" tab.
    There in component, install "Command Line Tools"
    And then it should work !!
    Excellent, thanks, that sorted the issue I was experiencing! Also took the chance to install some legacy simulators for backwards compatibility testing as didn't know how to install those until following your steps for the command line tools install!