Go Down

Topic: Arduino on Xcode Project — Official Thread (Read 155 times) previous topic - next topic

avenue33

Please find a new release of embedXcode

embedXcode • Apr 19, 2013 release 42 •  Release number check

During the first compilation of the project, a dialog box may prompt if a new release of embedXcode is available.



The dialog box closes automatically after 5 seconds. Click on Go to Download to download the new release or OK to ignore it.


As always,
• Website: http://embedxcode.weebly.com
• Download: http://embedxcode.weebly.com/download
• User guide: http://embedxcode.weebly.com/tutorial

Enjoy :)

ScottG


ScottG

I just downloaded the latest release, which I'm pretty sure is r45.  I created a new project on my local hard drive.  When I run Build, it says it's successful, but I get an error that says" Workspace Integrity.  Couldn't load project" and the project is not loaded.  See screenshots.

Also, can I get previous embedxcode.pkg files on github (https://github.com/rei-vilo/embedXcode)?  If so, where?


avenue33

This error arises when another process is running when you launch the first compilation with the preparation of the code.

Quote
3.1.1. Launch the Procedure
To proceed with the automatic configuration procedure,
• Select any target, as Build or Make.
Check no other process is running on Xcode, like indexing.
• Click on Run to launch it.


GitHub has the history of all the versions. However, the download section only has the latest release.

ScottG


This error arises when another process is running when you launch the first compilation with the preparation of the code.

Quote
3.1.1. Launch the Procedure
To proceed with the automatic configuration procedure,
• Select any target, as Build or Make.
Check no other process is running on Xcode, like indexing.
• Click on Run to launch it.



I just tried it again and I have the same problem. No other processes were running.

avenue33

Is it the same error you were experiencing before due to a volume on a network?

ScottG


Is it the same error you were experiencing before due to a volume on a network?


No.  Plus I'm doing this on my local disk

avenue33

This error arises when another process is running, as indexing in Xcode, when you launch the first compilation with the preparation of the code.

The project preparation is now done after the end of the first compilation, to avoid such a conflict.

ScottG


This error arises when another process is running, as indexing in Xcode, when you launch the first compilation with the preparation of the code.

The project preparation is now done after the end of the first compilation, to avoid such a conflict.


But there isn't another process running when I start my build (according to the little window at the top-center of my xcode screen).  Here's what I'm doing, tell me if I'm doing something wrong.

  • Create a new project on my local hard drive (not my network drive)

  • I make a small change to makefile - for excluded libraries, I replace OneWire with panstamp (because panstamp.h give me build errors)

  • I make sure the window at the top center of xcode doesn't show anything processing. 

  • I select Build as my target and then click Run button


And I have the problem I mentioned where the project isn't loaded and won't load when I try to re-open.

I've even tried waiting a few minutes before doing my build just to make sure, even though xcode isn't showing anything processing.

When I do the exact same thing with release 42, it works fine.  I've even reinstalled release 42, made sure it worked then installed release 45 again and I get this problem.

avenue33

The procedure you're following is the right one.

I don't understand what's happening as I'm unable to replicate the problem on my MacBook.

Other users with chipKIT boards run the first Build successfully.

The issue you describe is related to the corruption of the project.pbxproj file. The project.pbxproj file becomes corrupt when two processes are dealing with it.

As it is not another process from Xcode so it should be an external process. Do you have an anti-virus installed (I do) and some SSD caching (I don't)?

ScottG


Do you have an anti-virus installed (I do) and some SSD caching (I don't)?


No antivirus.  I don't have an SSD drive.

ScottG

Can you tell me exactly where on github you have release 43 & 44 .pkg files.  I looked and couldn't find them.  Maybe it would help if we knew which release was the first on to give me this problem.

avenue33

The differences between releases 42 and 45 are:
  • wget (42) vs. curl (45)

  • check release every time (42) vs. check release only once

  • specific MPIDE handling (45)


Should I be able to replicate the same issue, I would understand what's going on and work on a fix.

avenue33


Can you tell me exactly where on github you have release 43 & 44 .pkg files.  I looked and couldn't find them.  Maybe it would help if we knew which release was the first on to give me this problem.


The log with all changes is available at http://github.com/rei-vilo/embedXcode/commits/master

ScottG



Can you tell me exactly where on github you have release 43 & 44 .pkg files.  I looked and couldn't find them.  Maybe it would help if we knew which release was the first on to give me this problem.


The log with all changes is available at http://github.com/rei-vilo/embedXcode/commits/master


Thanks.  I'll go by the dates because I see there are two files for r39 and nothing for  r42 and r44.

Go Up