What the heck is XCBuildData, and why are the build folders NOT actually updated?












3















Have an Xcode project for OSX. Get it building and notice the build/ folder contents ..



enter image description here



in short,



When you build (say, Build-for-Running specifically),




  1. XCBuildData seems to be updated at that moment


  2. Say you have an extra copy phase, perhaps copying the final product outside as a library or whatever - that too is correctly updated at that moment


  3. Bizarrely both Release/ and Debug/ are not updated.


  4. Release/ and Debug/ seemingly do not change at all


  5. If you experimentally just delete everything in Build/ in fact Xcode seems to quickly (ie, in the background, you do nothing) repopulate? them, all with a fresh date. (As far as I know, it does not actually compile/link in this process, it just "comes from" somewhere.)


  6. "Clean build folders" etc doesn't really seem to change this behavior



So




  1. What the hell is XCBuildData/ anyway?


  2. In fact, is the thing in the build folders actually a build ?????



Say you "want your build", you know, to use it as a library or whatever. Can you actually use the "build" in the "build folder" ?? Or is it not up to date?



Again, if you are automatically exporting it (via a copy phase), then even that final result, gets updated instantly when you build (just like XCBuildData) - but the "build folders" do not get updated.



What's going on here? How to get them to update - they do seem to be "the build folders"? (If it matters??)



I think, but do not know, if this is specific to Xcode 10.










share|improve this question

























  • is it a Swift project ?

    – 0xBFE1A8
    Feb 6 at 19:50











  • that's an excellent point, @Shaman ! indeed it was a framework, not a whole app. I wonder if that is relevant .. thanks

    – Fattie
    Feb 6 at 20:13
















3















Have an Xcode project for OSX. Get it building and notice the build/ folder contents ..



enter image description here



in short,



When you build (say, Build-for-Running specifically),




  1. XCBuildData seems to be updated at that moment


  2. Say you have an extra copy phase, perhaps copying the final product outside as a library or whatever - that too is correctly updated at that moment


  3. Bizarrely both Release/ and Debug/ are not updated.


  4. Release/ and Debug/ seemingly do not change at all


  5. If you experimentally just delete everything in Build/ in fact Xcode seems to quickly (ie, in the background, you do nothing) repopulate? them, all with a fresh date. (As far as I know, it does not actually compile/link in this process, it just "comes from" somewhere.)


  6. "Clean build folders" etc doesn't really seem to change this behavior



So




  1. What the hell is XCBuildData/ anyway?


  2. In fact, is the thing in the build folders actually a build ?????



Say you "want your build", you know, to use it as a library or whatever. Can you actually use the "build" in the "build folder" ?? Or is it not up to date?



Again, if you are automatically exporting it (via a copy phase), then even that final result, gets updated instantly when you build (just like XCBuildData) - but the "build folders" do not get updated.



What's going on here? How to get them to update - they do seem to be "the build folders"? (If it matters??)



I think, but do not know, if this is specific to Xcode 10.










share|improve this question

























  • is it a Swift project ?

    – 0xBFE1A8
    Feb 6 at 19:50











  • that's an excellent point, @Shaman ! indeed it was a framework, not a whole app. I wonder if that is relevant .. thanks

    – Fattie
    Feb 6 at 20:13














3












3








3








Have an Xcode project for OSX. Get it building and notice the build/ folder contents ..



enter image description here



in short,



When you build (say, Build-for-Running specifically),




  1. XCBuildData seems to be updated at that moment


  2. Say you have an extra copy phase, perhaps copying the final product outside as a library or whatever - that too is correctly updated at that moment


  3. Bizarrely both Release/ and Debug/ are not updated.


  4. Release/ and Debug/ seemingly do not change at all


  5. If you experimentally just delete everything in Build/ in fact Xcode seems to quickly (ie, in the background, you do nothing) repopulate? them, all with a fresh date. (As far as I know, it does not actually compile/link in this process, it just "comes from" somewhere.)


  6. "Clean build folders" etc doesn't really seem to change this behavior



So




  1. What the hell is XCBuildData/ anyway?


  2. In fact, is the thing in the build folders actually a build ?????



Say you "want your build", you know, to use it as a library or whatever. Can you actually use the "build" in the "build folder" ?? Or is it not up to date?



Again, if you are automatically exporting it (via a copy phase), then even that final result, gets updated instantly when you build (just like XCBuildData) - but the "build folders" do not get updated.



What's going on here? How to get them to update - they do seem to be "the build folders"? (If it matters??)



I think, but do not know, if this is specific to Xcode 10.










share|improve this question
















Have an Xcode project for OSX. Get it building and notice the build/ folder contents ..



enter image description here



in short,



When you build (say, Build-for-Running specifically),




  1. XCBuildData seems to be updated at that moment


  2. Say you have an extra copy phase, perhaps copying the final product outside as a library or whatever - that too is correctly updated at that moment


  3. Bizarrely both Release/ and Debug/ are not updated.


  4. Release/ and Debug/ seemingly do not change at all


  5. If you experimentally just delete everything in Build/ in fact Xcode seems to quickly (ie, in the background, you do nothing) repopulate? them, all with a fresh date. (As far as I know, it does not actually compile/link in this process, it just "comes from" somewhere.)


  6. "Clean build folders" etc doesn't really seem to change this behavior



So




  1. What the hell is XCBuildData/ anyway?


  2. In fact, is the thing in the build folders actually a build ?????



Say you "want your build", you know, to use it as a library or whatever. Can you actually use the "build" in the "build folder" ?? Or is it not up to date?



Again, if you are automatically exporting it (via a copy phase), then even that final result, gets updated instantly when you build (just like XCBuildData) - but the "build folders" do not get updated.



What's going on here? How to get them to update - they do seem to be "the build folders"? (If it matters??)



I think, but do not know, if this is specific to Xcode 10.







xcode build linker xcode10






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 29 at 0:54









Lightness Races in Orbit

294k54477811




294k54477811










asked Jan 3 at 15:06









FattieFattie

20.8k31207450




20.8k31207450













  • is it a Swift project ?

    – 0xBFE1A8
    Feb 6 at 19:50











  • that's an excellent point, @Shaman ! indeed it was a framework, not a whole app. I wonder if that is relevant .. thanks

    – Fattie
    Feb 6 at 20:13



















  • is it a Swift project ?

    – 0xBFE1A8
    Feb 6 at 19:50











  • that's an excellent point, @Shaman ! indeed it was a framework, not a whole app. I wonder if that is relevant .. thanks

    – Fattie
    Feb 6 at 20:13

















is it a Swift project ?

– 0xBFE1A8
Feb 6 at 19:50





is it a Swift project ?

– 0xBFE1A8
Feb 6 at 19:50













that's an excellent point, @Shaman ! indeed it was a framework, not a whole app. I wonder if that is relevant .. thanks

– Fattie
Feb 6 at 20:13





that's an excellent point, @Shaman ! indeed it was a framework, not a whole app. I wonder if that is relevant .. thanks

– Fattie
Feb 6 at 20:13












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54024900%2fwhat-the-heck-is-xcbuilddata-and-why-are-the-build-folders-not-actually-updated%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54024900%2fwhat-the-heck-is-xcbuilddata-and-why-are-the-build-folders-not-actually-updated%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Monofisismo

Angular Downloading a file using contenturl with Basic Authentication

Olmecas