Skip to content

ionic build ios in windows does not update the files in the platforms/ios folder. #1626

Closed

Description

@jgw96

From @mflmartin on November 2, 2016 21:8

Short description of the problem:

When Building for IOS with ionic build ios, the modified files of the build are not copied again into platforms/ios, in Windows 10

What behavior are you expecting?

That they are updated.

Steps to reproduce:

  1. ionic start myapp --v2
  2. ionic platform add ios
  3. ionic build ios
  4. Test the platform (with a Mac). Ok. It works.
  5. Modify something in your project
  6. ionic build ios
  7. Boom. No files updated.
insert any relevant code between the above and below backticks

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)

Which Ionic Version? 2.x

Run ionic info from terminal/cmd prompt: (paste output below)

Your system information:

Cordova CLI: 6.4.0
Gulp version: CLI version 3.9.1
Gulp local:
Ionic Framework Version: 2.0.0-rc.1
Ionic CLI Version: 2.1.4
Ionic App Lib Version: 2.1.2
Ionic App Scripts Version: 0.0.39
OS: WINDOWS 10
Node Version: v6.4.0

Copied from original issue: ionic-team/ionic-app-scripts#303

Activity

  1. martinlombana commented on Nov 3, 2016

    @martinlombana

    I think it is related to the .tmp folder not being deleted after it is iused by ionic.

    I can confirm that if you delete the trailing .tmp folder that gets there, then ionic prepare ios does the job.

    So it might be a question of ionic doing a force remove (rimraf maybe?) of the .tmp folder after it uses it for whatever purpose, because otherwise it is doing a cache of it's contents.

  2. SonecaJones commented on Dec 15, 2016

    @SonecaJones

    Same problem here... tried the .tmp solution without success.

  3. MarkHill89 commented on Jan 19, 2017

    @MarkHill89

    I'm having this same issue exactly, but it is happening on IOS too. Nothing has seemed to be working. I've tried every single google solution possible.

  4. kmarrero commented on Mar 14, 2017

    @kmarrero

    I am having same issue on iOS.

  5. SonecaJones commented on Mar 14, 2017

    @SonecaJones

    Running an "ionic serve" before "ionic prepare ios" does the job.

  6. vishal41190 commented on Sep 29, 2017

    @vishal41190

    I use "ionic cordova run ios" and it updates the code.

  7. ortmann64 commented on Mar 27, 2018

    @ortmann64

    I have the same problem with platform „browser“ on macOS Sierra. First it was working, but now i get everytime an old build.

    I‘ve tried the following:

    • removed www folder
    • removed platform and added it again
    • removed node_modules folder and again executed npm install
    • restarted my mac
    • running a „ionic serve“

    Nothing works. Please give me a hint how to solve this. Thanks.

  8. ionitron-bot commented on Jul 12, 2018

    @ionitron-bot

    Thanks for the issue! This issue appears to be associated with an old version of the Ionic CLI. Please update to the latest CLI version, which supports all versions of the Ionic Framework. If the issue is relevant and if it persists after updating to the latest CLI version, please create a new issue.

    Thank you for using Ionic!

  9. locked and limited conversation to collaborators on Jul 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions