Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.
Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.
Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.
Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.
XS 5.8.1 Mac, Yosemite. I edited a storyboard with Interface Builder, then came back into Xamarin Studio. It said "updating from changes from xcode project" or whatever. Then, I clicked Run (the play button) and XS simply ran the project instead of building it, failing to see that the storyboard had changed.
I'll need the build log when you click "Run" after making a change in Xcode.
How do I get that build log?
Click on the "Errors" button at the bottom right of your Xamarin Studio window and it will pup up a panel with the build errors. If you do not see the build log on the right side of that panel, click on the "Build Output" button and that will show the log.
+1 for this. I get this all the time with Stable, Alpha and Beta channels. XCode 6.2 and 6.3. My log is attached.:
Created attachment 10692 [details] Build log "showing" the storyboard not being rebuilt. as reuqested
Steps: Run the app. Label is white. Open storyboard in xcode. Change label to red. Save and close (XS shows "syncing") Hit run. Actual: Label is white Expected: Label is red. Rebuild (from the Build menu) Actual: Label is Red.
Which storyboard am I looking for? I'm assuming you mean the main app's storyboard which is MainStoryboard.storyboard. According to the build log, the build is invoking ibtool on it to produce MainStoryboard.storyboard.c in the obj/ibtool directory: Tool /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool execution started with arguments: --errors --warnings --notices --output-format xml1 --minimum-deployment-target 8.0 --auto-activate-custom-fonts --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk --compile /Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc /Users/nic/code/git/NearestBus2/NearestBusApp/MainStoryboard.storyboard And in the _CopyContentToBundle task, it is being copied from the obj directory into the final app bundle: Creating directory '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/0Vb-aM-06d-view-Iba-G5-Vgd.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/0Vb-aM-06d-view-Iba-G5-Vgd.nib' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/AiQ-iW-xVU-view-JGO-8f-nsg.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/AiQ-iW-xVU-view-JGO-8f-nsg.nib' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/Info.plist' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/Info.plist' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/UIViewController-0Vb-aM-06d.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/UIViewController-0Vb-aM-06d.nib' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/UIViewController-SIw-v2-sBX.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/UIViewController-SIw-v2-sBX.nib' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/UIViewController-b6e-47-gHd.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/UIViewController-b6e-47-gHd.nib' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/UIViewController-bNi-1Y-Oge.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/UIViewController-bNi-1Y-Oge.nib' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/UIViewController-fSr-oK-A5J.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/UIViewController-fSr-oK-A5J.nib' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/UIViewController-vXZ-lx-hvc.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/UIViewController-vXZ-lx-hvc.nib' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/b6e-47-gHd-view-bqe-VR-ilB.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/b6e-47-gHd-view-bqe-VR-ilB.nib' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/fSr-oK-A5J-view-wwS-hM-HQO.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/fSr-oK-A5J-view-wwS-hM-HQO.nib' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/oBx-Vk-iEE-view-3Ga-PA-pqK.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/oBx-Vk-iEE-view-3Ga-PA-pqK.nib' Copying file from '/Users/nic/code/git/NearestBus2/NearestBusApp/obj/iPhoneSimulator/Debug/ibtool/MainStoryboard.storyboardc/vXZ-lx-hvc-view-kh9-bI-dsS.nib' to '/Users/nic/code/git/NearestBus2/NearestBusApp/bin/iPhoneSimulator/Debug/NearestBusApp.app/MainStoryboard.storyboardc/vXZ-lx-hvc-view-kh9-bI-dsS.nib'
here's the problem Build started 10/04/2015 9:42:00 a.m. My clock says 09:45 when I hit "run". that log is from the previous rebuild I did. I'll try changing both some code AND the storyboard...
OK. Just verified. Steps: 1. Rebuild app and run. Label is white. (correct) 2. Go into xcode and change label to blue. 3. Run (don't rebuild). Label is white. (incorrect) 4. Rebuild. Run. Label is blue. (correct) 5. go into xcode. Change label to green 6. CHANGE any line of code in the app. 7. Press RUN. App builds and label is green. (correct) I have to change a line of code to get it to rebuild the app. Just changing the storyboard doesn't do it.
I should add that when I run in #3, I dont get a new build log. It just runs it and connects the debugger. Same as if I ran it, then pressed stop, then pressed play again without changing any code.
Okat, got it. I think I know what the problem is. In 5.8, a new "optimization" was introduced into MonoDevelop core to avoid building the project when you hit Run if it thinks nothing has changed. There have already been a number of reports of this optimization breaking stuff, though, and I think it got reverted already in git. Not sure which versions have the fix. @Lluis?
Thanks @Jeffery - as long as you lot know about it (and I hope, fix it), it's only a minor irritation for a short while :)
*** This bug has been marked as a duplicate of bug 29159 ***