Coder Social home page Coder Social logo

Comments (8)

an-rahulpandey avatar an-rahulpandey commented on June 11, 2024

Do you have any Xcode log? Or is there any error printed out?

from cordova-plugin-dbcopy.

MehdiGuelloub avatar MehdiGuelloub commented on June 11, 2024

No no errors on Xcode, nothing to report from the log. Everything looks fine, just the above script is totally ignored !

from cordova-plugin-dbcopy.

MehdiGuelloub avatar MehdiGuelloub commented on June 11, 2024

This is the Xcode log:


2016-10-12 17:10:52.828 MErial[919:303659] Apache Cordova native platform version 4.0.1 is starting.
2016-10-12 17:10:52.831 MErial[919:303659] Multi-tasking -> Device: YES, App: YES
2016-10-12 17:10:53.151 MErial[919:303659] Using UIWebView
2016-10-12 17:10:53.156 MErial[919:303659] [CDVTimer][handleopenurl] 0.568986ms
2016-10-12 17:10:53.164 MErial[919:303659] [CDVTimer][intentandnavigationfilter] 7.458985ms
2016-10-12 17:10:53.165 MErial[919:303659] [CDVTimer][gesturehandler] 0.433028ms
2016-10-12 17:10:53.198 MErial[919:303659] [CDVTimer][splashscreen] 31.865001ms
2016-10-12 17:10:53.225 MErial[919:303659] [CDVTimer][statusbar] 26.979983ms
2016-10-12 17:10:53.230 MErial[919:303659] [CDVTimer][keyboard] 4.759967ms
2016-10-12 17:10:53.231 MErial[919:303659] [CDVTimer][TotalPluginStartup] 75.142026ms
2016-10-12 17:10:59.182 MErial[919:303659] Resetting plugins due to page load.
2016-10-12 17:11:01.760 MErial[919:303659] THREAD WARNING: ['Device'] took '15.752197' ms. Plugin should use a background thread.
2016-10-12 17:11:01.912 MErial[919:303659] Finished load of: file:///var/containers/Bundle/Application/B31F77F9-5C99-4F7A-BA53-946964A3A0AD/MErial.app/www/index.html#/app/map

from cordova-plugin-dbcopy.

an-rahulpandey avatar an-rahulpandey commented on June 11, 2024

Do a cordova build first using command line and make sure the function where you have written the dbcopy code gets called.

from cordova-plugin-dbcopy.

northeastrc avatar northeastrc commented on June 11, 2024

Did this get resolved i get no rule to process the plugin

Warning no rule to process file '/Users/rc/.taco_home/remote-builds/taco-remote/builds/9022/cordovaApp/platforms/ios/fmap/Plugins/cordova-plugin-dbcopy/sqlDB.h' of type sourcecode.c.h for architecture i386

from cordova-plugin-dbcopy.

an-rahulpandey avatar an-rahulpandey commented on June 11, 2024

You can remove this warning by following this steps -

  1. Open Xcode
  2. Select the project target
  3. Click on the Build Phases tab
  4. Select and Expand Compile Source section
  5. Check if sqlDB.h file is present, if it is present then select it and remove it.

from cordova-plugin-dbcopy.

northeastrc avatar northeastrc commented on June 11, 2024

i removed it but it keeps giving me the error
also i cant see two new tables i added to my sqlite db in ios i can see them perfectly on android

from cordova-plugin-dbcopy.

an-rahulpandey avatar an-rahulpandey commented on June 11, 2024

@northeastrc it will be a waring not an error. You can google this "type sourcecode.c.h for architecture i386" to get more insight on that message. Make sure you are have uploaded the db properly in iOS, check the database with Sqlite Browser. If the app is already present on device and previously the db is copied, then the second time it will not copy the db again, it will go to error function. So you have to check that too, if the app was deleted from that device first or use removedb function to delete the old db.

from cordova-plugin-dbcopy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.