If the initial project has been created using embedXcode 108 or later, use the automatic procedure.


For projects created with embedXcode and for projects created with embedXcode+ prior to 108, follow the manual procedure.



Update Project Automatically


⊞ This section requires embedXcode+.


During the compilation of the project, a dialog box may prompt if the release of the template is more recent than the project.



• Click on Update to update the project or Ignore to ignore it.


The dialog box closes automatically after 5 seconds.


The automatic update requires the project to have been created with embedXcode+ release 108 or more recent.

Projects created with an earlier release don’t feature the automatic update. In that case, proceed with the manual procedure.


Note for updating to Xcode 6 — If the project to be updated has been created with embedXcode+ release 175 or previous, open the project to update in Xcode 5 as the utility in charge of the automatic update of the project doesn't work with Xcode 6.



Update Project Manually


For projects created with embedXcode or projects created with embedXcode+ older than release 108, you need to perform a manual update of the project.


• Close the project you want to update, called ProjectA.

• Create another project called ProjectB and launch the Build target.

• Copy-paste the corresponding folders from ProjectB to ProjectA: Makefiles, Configuration, Utilities.

• Copy-paste the corresponding files from ProjectB to ProjectA: main.cpp and the main makefile.

• Edit main.cpp of ProjectA and change #include "ProjectB.ino" for #include "ProjectA.ino".

• Edit the main makefile of ProjectA to add the libraries you plan to use.

• Optionally, edit the main makefile of ProjectA to customise the options, for example the warning options.


As a faster alternative,


• Create a new project with the same name, ProjectA.

• Copy-paste the corresponding files from the old project to the new project: the main sketch ProjectA.ino and the local libraries.

• Edit the main makefile of the new project to add the libraries you plan to use, for example the application and user's libraries.

• Optionally, edit the main makefile of the new project to customise the options, for example the warning options.