iOS can't no more build with provision

4 posts, 0 answers
  1. Jeelig
    Jeelig avatar
    31 posts
    Member since:
    Feb 2013

    Posted 18 Mar 2014 Link to this post

    Hi,
    Everything was so cool with my AppBuilder Project.
    When I suddenly decide to delete the app on the iPhone to rebuild it with the "build and deploy" button.
    So far, I spent the whole afternoon trying to do so, but all I get is this message :

    [2014-03-18 17:05:10.390] Log (Info,None): Project "Liputa.proj" (default targets):
    Error: ENOENT, no such file or directory '/tmp/eb6a5f0795f74580b48267510b095b79/cordova/js/SocialSharing.js'


    I deleted all my plugins, but I really need the "SocialSharing" one which is the latest and seem to cause the issue.
    I don't understand because it was working perfectly ...

    I've seen this : http://www.telerik.com/forums/build-error-for-ios ; But it doesn't help me, as I didn't change the cordova version ...

    What to do?
  2. Iva Koevska
    Admin
    Iva Koevska avatar
    286 posts

    Posted 19 Mar 2014 Link to this post

    Hi Gilles,

    A few things might be happening here but we need more information in order to identify the issue. Would you mind providing the following details?
    • Were you able to build and deploy with the SocialSharing plugin at all or did you build and deploy, and then add the custom plugin?
    • Where did you get the plugin from? Was it archived, what was the archive?
    • How did you add the plugin? (e.g. from the built-in Import plugin option, add from archive, copy files, etc.)
    • What does the Plugins folder structure look like? 


    Regards,
    Iva Koevska
    Telerik
     
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!
  3. Jeelig
    Jeelig avatar
    31 posts
    Member since:
    Feb 2013

    Posted 19 Mar 2014 in reply to Iva Koevska Link to this post

    • Were you able to build and deploy with the SocialSharing plugin at all or did you build and deploy, and then add the custom plugin?

    I was able to build and deploy with the socialsharing plugin before. And it was working correctly, on my iPhone.
    Thanks to one of your colleagues (http://www.telerik.com/forums/icenium-social-sharing-custom-plugin). And since then, unable...

    • Where did you get the plugin from? Was it archived, what was the archive?

    I got it from here : https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin you can also find it referenced in the phonegap plugins page, here : https://build.phonegap.com/plugins/639

    • How did you add the plugin? (e.g. from the built-in Import plugin option, add from archive, copy files, etc.)

    Right click on appbuilder plugin folder + "import plugin" (of course a zip file, the same one that you can download on the github page of the plugin)

    • What does the Plugins folder structure look like? 

    The plugin folder looks like what you can see in the picture attached.

  4. Iva Koevska
    Admin
    Iva Koevska avatar
    286 posts

    Posted 20 Mar 2014 Link to this post

    Hello Gilles,

    I added the SocialSharing plugin as it is to a new blank project and have been able to both build for a QR code and build and deploy on an iPad. After removing the app from device, I have been able to redeploy the app. I repeated the same steps with the changes from my colleague's post and again I have been unable to reproduce the issue. It seems that your problem might be project or device specific, rather than plugin-specific. 

    Here are a few suggestions for working around your current issue:
    • Remove the current copy of the plugin and reimport the latest version from the repo you linked to. Do not modify the plugin.xml to replace the js-module declaration with an asset one. Remove the script reference from the index.html and the feature declarations from your config.xml files as these are handled by the updated plugin.xml in the latest version of the plugin.
    • If this doesn't work, try recreating your project into a new one. From the dashboard, export your current project as a ZIP archive and create a new Blank project. In the new project, right-click  the project node (the one nested directly under the Workspace node in the Project Navigator) and select Add -> From archive. Confirm the operation.
    • Change the application identifier from Properties -> General -> Application Identifier.

    If none of these resolve the problem, would you mind attaching your index.html, config.xml`s, and plugin.xml files, so that we can take a look at those? 

    Regards,
    Iva Koevska
    Telerik
     
    Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. Learn how to build cross-platform mobile apps using Visual Studio and .NET at the Telerik Platform webinar.
Back to Top