Bug 29159 - Changes to *.xib files don't result in a project rebuild
Summary: Changes to *.xib files don't result in a project rebuild
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Mac Add-in ()
Version: 5.9
Hardware: PC Mac OS
: --- normal
Target Milestone: 5.9.1 (C5SR1)
Assignee: Greg Munn
URL:
: 28519 28916 ()
Depends on:
Blocks:
 
Reported: 2015-04-16 13:11 UTC by Aaron Bockover [MSFT]
Modified: 2015-05-01 02:56 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

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.

Related Links:
Status:
VERIFIED FIXED

Description Aaron Bockover [MSFT] 2015-04-16 13:11:33 UTC
After editing a XIB in Xcode and switching back to XS, the changes are synced, but the project is not marked as needing to rebuild. Without properly rebuilding, the XIB changes will not be reflected in the app when running.

I have to remember to either manually rebuild the project or make a superfluous code change to trigger rebuilding in order to see changes made in the XIB.

1. Create new Unified Cocoa app
2. Run, to ensure everything is build
3. While making no other code or project changes, open a XIB file in Xcode and add some UI element to it
4. Switch back to XS and notice in the status area that changes are being synced from Xcode back to the XS project
5. Ensuring no changes have been made since refocusing XS, "Run" the project
6. Notice the running application does not reflect any changes made in step (3)
7. Quit the application, return to XS
8. Manually rebuild the project and then run it
9. Notice changes made in step (3) are now reflected in the application due to the manual rebuild
Comment 1 Aaron Bockover [MSFT] 2015-04-16 13:11:54 UTC
=== Xamarin Studio ===

Version 5.9 (build 409)
Installation UUID: 2701a58e-0630-4e42-b81d-229161066215
Runtime:
	Mono 4.0.0 ((detached/21d849b)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400000121

=== Apple Developer Tools ===

Xcode 6.3 (7569)
Build 6D570

=== Xamarin.iOS ===

Version: 8.10.0.197 (Business Edition)
Hash: 4dac6bf
Branch: master
Build date: 2015-04-01 21:55:11-0400

=== Xamarin.Android ===

Version: 5.1.0.100
Android SDK: Not found

=== Xamarin Android Player ===

Not Installed

=== Xamarin.Mac ===

Version: 2.0.0.197 (Business Edition)

=== Build Information ===

Release ID: 509000409
Git revision: a4b6f01073514629a6adb0eb51d3fe2c8ec95a8e
Build date: 2015-04-08 11:32:37-04
Xamarin addins: 17770ed626281a8fa2fe49a39bfb13ffeed3c4a9

=== Operating System ===

Mac OS X 10.10.3
Darwin bacon-2.local 14.3.0 Darwin Kernel Version 14.3.0
    Mon Mar 23 11:59:05 PDT 2015
    root:xnu-2782.20.48~5/RELEASE_X86_64 x86_64
Comment 2 Aaron Bockover [MSFT] 2015-04-16 13:33:06 UTC
FWIW, there are multiple projects in the solution as well, not just the Mac application project, and this is a Unified Full Profile 4.5 app.
Comment 3 Greg Munn 2015-04-16 17:43:52 UTC
Fixed in master, PR for 5.9 (not sure if 5.9 or 5.9.1) https://github.com/xamarin/md-addins/pull/481
Comment 4 Lluis Sanchez 2015-04-21 10:22:44 UTC
*** Bug 28916 has been marked as a duplicate of this bug. ***
Comment 5 Lluis Sanchez 2015-04-21 10:23:34 UTC
*** Bug 28519 has been marked as a duplicate of this bug. ***
Comment 6 Alain 2015-04-23 07:07:49 UTC
There are multiple projects in the solution.

Project shared with a library IOS, a library MACOS, a projet IOS and a projet MACOS.

There is too with the library. If I change the code in the library, Xamarin Studio doesn't detect the change. I mut compile all project to run my app.

Alain
Comment 7 xamarin-release-manager 2015-04-29 14:51:31 UTC
Fixed in version 5.9.0.458 (monodevelop-5.9-branch)
Comment 8 Alain 2015-04-30 04:41:42 UTC
Super, thanks
Comment 9 Saurabh 2015-05-01 02:56:25 UTC
I have checked this Issue with C5SR1 build and now this is working fine. changed in Xcode appears when run the application using XS without reopening solution. This is the screencast for the same: http://www.screencast.com/t/DNvpRz35a2Jz

=== Xamarin Studio ===

Version 5.9 (build 459)
Installation UUID: 2939b8b4-8977-42bd-82d6-100275ccd9cd
Runtime:
	Mono 4.0.0 ((detached/d136b79)
	GTK+ 2.24.23 (Raleigh theme)

	Package version: 400000143

=== Apple Developer Tools ===

Xcode 6.2 (6776)
Build 6C131e

=== Xamarin.iOS ===

Version: 8.10.1.5 (Enterprise Edition)
Hash: 6e84211
Branch: master
Build date: 2015-04-30 06:07:27-0400

=== Xamarin.Android ===

Version: 5.1.0.122 (Enterprise Edition)
Android SDK: /Users/360_macmini/Library/Developer/Xamarin/android-sdk-mac_x86
	Supported Android versions:
		2.3    (API level 10)
		4.0.3  (API level 15)
		4.1    (API level 16)
		4.2    (API level 17)
		4.3    (API level 18)
		4.4    (API level 19)
		4.4.87 (API level 20)
		5.0    (API level 21)
Java SDK: /usr
java version "1.7.0_75"
Java(TM) SE Runtime Environment (build 1.7.0_75-b13)
Java HotSpot(TM) 64-Bit Server VM (build 24.75-b04, mixed mode)

=== Xamarin Android Player ===

Version: Unknown version
Location: /Applications/Xamarin Android Player.app

=== Xamarin.Mac ===

Version: 2.0.1.7 (Enterprise Edition)

=== Build Information ===

Release ID: 509000459
Git revision: 84bacb5e3f9be4e7b5743c7e58a22cc58007fa5f
Build date: 2015-04-30 04:20:30-04
Xamarin addins: 0e5c28beb42ad379214edfb60ddd18acdbe8fd0c

=== Operating System ===

Mac OS X 10.9.4
Darwin 360-MACMINIs-Mac-mini-2.local 13.3.0 Darwin Kernel Version 13.3.0
    Tue Jun  3 21:27:35 PDT 2014
    root:xnu-2422.110.17~1/RELEASE_X86_64 x86_64