Xcode Interface builder opens twice when opening xibs, storyboards in Xamarin Studio RRS feed

  • Question

  • User51603 posted

    I have been facing this issue for a couple of months. When I try to open xibs or storyboard with xcode IB, it opens twice and I need to reopen it every time when I want to edit my views which is annoying and time consuming. I know xamarin iOS designer could be a solution but my app UI s are very complex and have massive layout constraints. If anyone has faced this issue and fixed it (workaround would be ok too), I will be very appreciated. Thanks.

    Xamarin Studio Version 5.10.2 (build 56) Installation UUID: 3e137f12-4510-4e3a-b13e-63bc3fac9a8c Runtime: Mono 4.2.2 (explicit/996df3c) GTK+ 2.24.23 (Raleigh theme)

    Package version: 402020030

    Xamarin.Profiler Version: Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

    Xamarin.Android Version: (Starter Edition) Android SDK: /Users/onur.hazar/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 2.3 (API level 10) 4.0.3 (API level 15) 4.4 (API level 19) 5.1 (API level 22) 6.0 (API level 23)

    SDK Tools Version: 24.4.1 SDK Platform Tools Version: 23.0.1 SDK Build Tools Version: 23.0.1

    Java SDK: /usr java version "1.8.045" Java(TM) SE Runtime Environment (build 1.8.045-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

    Xamarin Android Player Version: 0.6.5 Location: /Applications/Xamarin Android Player.app

    Apple Developer Tools Xcode 7.2.1 (9548.1) Build 7C1002

    Xamarin.Mac Not Installed

    Xamarin.iOS Version: (Business Edition) Hash: 962a050 Branch: master Build date: 2016-01-29 16:59:11-0500

    Build Information Release ID: 510020056 Git revision: bb74ff467c62ded42b7b7ac7fdd2edc60f8647b0 Build date: 2016-01-26 16:24:41-05 Xamarin addins: 8b797d7ba24d5abab226c2cf9fda77f666263f1b Build lane: monodevelop-lion-cycle6-c6sr1

    Operating System Mac OS X 10.10.5 Darwin adb-macmini01.local 14.5.0 Darwin Kernel Version 14.5.0 Tue Sep 1 21:23:09 PDT 2015 root:xnu-2782.50.1~1/RELEASEX8664 x86_64

    Friday, February 26, 2016 3:03 PM

All replies

  • User51603 posted

    If you open xib file with source code editor, integration process between IB and xamarin updates the version of the xib document and an identifier is added to dependencies node. This fixes twice opening issue but when you open it again its not guaranteed that this identifier remains there. It can be erased after closing the IB so the issue still exists.

    <?xml version="1.0" encoding="UTF-8" standalone="no"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="9532" systemVersion="14F1605" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES"> <dependencies> <deployment identifier="iOS"/> ==> should be remained after every xib update. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="9530"/> </dependencies> <objects>......

    Friday, February 26, 2016 3:21 PM
  • User51603 posted

    I found a temporary solution; just close the second Xcode window and select your storyboard or xib from the first Xcode window :smile: this can be a workaround if someone still wants to edit xibs from Xcode.

    Tuesday, June 21, 2016 11:52 AM