Xamarin Studio 6 Bugs?: infinite cleaning and not saving

Just to know. With my Mac quite often it happens that Xamarin Studio tries to clean the solution and this operation blocks de facto my Xamarin Studio. If I wait 5 minutes or 1 hour it's the same. In this scenario the only thing I can do is a "Force quit". Unless I select "Save All" Xamarin Studio does't save anything.

Answers

  • ChrisHamonsChrisHamons USXamarin Team Xamurai

    That sounds like a Xamarin Studio bug, not related to Xamarin.Mac (programming against Cocoa). I will move your post to the right forum.

    If you happen to have a project that reproduces this, may I suggest filing a bug at https://bugzilla.xamarin.com and attaching it so they get can to the bottom of this.

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    Oh, just in case. There is another problem. When I compile a solution I always receive this error:

    /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/iOS/Xamarin.iOS.Common.targets: Error: System.IO.FileNotFoundException: /Users/enricorossini/Projects/myInspection/iOS/obj/iPhone/Debug/build-ipad2.5-9.3.2/ibtool/LaunchScreen.nib does not exist
    File name: '/Users/enricorossini/Projects/myInspection/iOS/obj/iPhone/Debug/build-ipad2.5-9.3.2/ibtool/LaunchScreen.nib'
    at System.IO.File.Copy (System.String sourceFileName, System.String destFileName, Boolean overwrite) <0x1a24c50 + 0x00333> in :0
    at Xamarin.MacDev.Tasks.SmartCopyTaskBase.CopyFile (System.String source, System.String target, System.String targetItemSpec) <0x907fe80 + 0x000c7> in :0
    at Xamarin.MacDev.Tasks.SmartCopyTaskBase.Execute () <0x907f648 + 0x002bf> in :0 (myInspection.iOS)

    The solution is very simple (after a lot of bad words!!!) Go in the solution folder, open iOS folder, then obj folder and delete the folder called "iPhone". After that all is working fine

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    I think the problem appears in particular when you change something in the iOS project.

  • EnricoRossiniEnricoRossini USMember ✭✭✭
    edited June 2016

    Ahahahahah more good fun!
    I rewrote the some class in iOS project about 20 times!!! If I change something and and save, nothing happens. I tried to change the class and closed the project and reopen the project. Nothing. At the end I decided to open wit Visual Studio Code my class. This class has all my code!
    Why doesn't Xamarin Studio read the file correctly? And block the compilation?
    I can show you that!

  • BrendanZagaeskiBrendanZagaeski USForum Administrator, Xamarin Team Xamurai

    As mentioned in the forum announcement for Cycle 7, please do:

    File a bug using the "Cycle 7" new bug form if you have found an issue that only happens on Cycle 7 (or if you have found an issue that you otherwise suspect is a bug).

    Thanks in advance!

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    Ok!

  • LluisSanchezLluisSanchez ESXamarin Team Xamurai

    We are having a really hard time trying to reproduce this issue. If you have problems with XS getting stuck when saving or building a project, it would be very useful if you could send me this information:

    • A copy of the detailed version information from the about dialog.
    • The IDE log file with a thread dump. While XS is stuck, find out what's the process ID of XamarinStudio (using the activity monitor or ps for example), and on a terminal run "kill -QUIT ". This will not kill XS, it will signal the IDE to dump thread information into the IDE.log file. You can find it using the Help -> Open Log Directory command.

    Please send the information to lluis@xamarin.com.

    Thanks!

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    Hi @LluisSanchez,
    first about dialog.

    Xamarin Studio Community
    Version 6.0 (build 5174)
    Installation UUID: f10ec485-4b48-4819-b014-9be79730ef5a
    Runtime:
    Mono 4.4.0 (mono-4.4.0-branch-c7-baseline/5995f74) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 404000182

    Xamarin.Profiler
    Not Installed

    Apple Developer Tools
    Xcode 7.3.1 (10188.1)
    Build 7D1014

    Xamarin.Mac
    Version: 2.8.0.323 (Xamarin Studio Community)

    Xamarin.iOS
    Version: 9.8.0.323 (Xamarin Studio Community)
    Hash: 39ebb77
    Branch: cycle7
    Build date: 2016-06-01 21:23:15-0400

    Xamarin.Android
    Version: 6.1.0.71 (Xamarin Studio Community)
    Android SDK: /Users/enricorossini/Library/Developer/Xamarin/android-sdk-mac_x86
    Supported Android versions:
    2.3 (API level 10)
    4.0.3 (API level 15)
    4.4 (API level 19)
    6.0 (API level 23)

    SDK Tools Version: 25.1.2
    SDK Platform Tools Version: 24.0.0
    SDK Build Tools Version: 23.0.2

    Java SDK: /usr
    java version "1.7.0_71"

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    This is an old file... now I'm creating a new one

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    This is a screenshot... I tried to Kill but I don't have anything in the log

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    Ide log...

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    For your fun a short video

  • EnricoRossiniEnricoRossini USMember ✭✭✭
    edited June 2016

    And now a fresh log! Here I'm just waiting that the solution is been cleaned...

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    I forced quit and then I tried to build the solution... I'm waiting and then I forced quit again

  • EnricoRossiniEnricoRossini USMember ✭✭✭
    edited June 2016

    Here a very long building to deploy on a real device... I force quit

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    XS was building my app has hour... After that I closed XS

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    Ok I'll try to reinstall from scratch XS. I can't work! The bad thing is in these days I'm starting a new job and I'm developing a new application for this company... How to explain them I have problems with XS? :(

  • DenisSugakovDenisSugakov RUMember ✭✭

    @EnricoRossini I think, better solution - install the previous version XS. I installed both 6.0 and 5.10.3. With 6.0 I have such issues as the infinite build for one project and too slow debug for other projects. I switched to 5.10.3 and waiting for stable XS 6

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    @DenisSugakov you're perfectly right! I installed 5.10.3 and I don't find any problems. Nuget for example is working perfectly, no problem with compiling...
    I'm finding very useful the little button near a folder (like in the picture): why is it disappeared now?

  • EnricoRossiniEnricoRossini USMember ✭✭✭
    edited June 2016

    But there is a problem: with XS 5.10.3 I can't deploy on a device because I have this error

    error MT1006: Could not install the application '/Users/enricorossini/Projects/myInspection/iOS/bin/iPhone/Debug/build-ipad2.5-9.3.2/myInspection.iOS.app' on the device 'iPad di Enrico': AMDeviceSecureInstallApplicationBundle returned: 0xe8000087 (kAMDIncorrectArchitectureError).
    The application was terminated by a signal: SIGHUP

    I have to open the solution with XS6 and then deploy it (when XS6 is working :neutral: ).

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    @DenisSugakov can you deploy an app on iPad 2 for example? :)

  • I have a same or similar issue. Failed a bug: https://bugzilla.xamarin.com/show_bug.cgi?id=42010

    @BrendanZagaeski

  • ahanzalaahanzala PKMember

    Hey guys, Any update on this bug ? I've tried quitting/re-installing XS again and again but of no use.

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

    I have a lot of problems with last XF release:
    1- Always "Loading..." project when I select a project from the list
    2- Continue "Building..."

    What can I do?

  • AlessandroCaliaroAlessandroCaliaro ITMember ✭✭✭✭✭

    downgraded

  • EnricoRossiniEnricoRossini USMember ✭✭✭

    Hi guys,
    the problem is still there. And I can't stop the building.

    Xamarin information:

    === Xamarin Studio Community ===

    Version 6.0.1 (build 9)
    Installation UUID: 8a4112a0-ccda-4b27-931b-b7e62e9fac26
    Runtime:
    Mono 4.4.1 (mono-4.4.0-branch-c7sr0/4747417) (64-bit)
    GTK+ 2.24.23 (Raleigh theme)

    Package version: 404010000
    

    === Xamarin.Profiler ===

    Not Installed

    === Xamarin.Android ===

    Version: 6.1.1.1 (Xamarin Studio Community)
    Android SDK: /Users/enricorossini/Library/Developer/Xamarin/android-sdk-macosx
    Supported Android versions:
    6.0 (API level 23)

    SDK Tools Version: 25.1.2
    SDK Platform Tools Version: 24.0.0
    SDK Build Tools Version: 23.0.2

    Java SDK: /usr
    java version "1.7.0_71"
    Java(TM) SE Runtime Environment (build 1.7.0_71-b14)
    Java HotSpot(TM) 64-Bit Server VM (build 24.71-b01, mixed mode)

    Android Designer EPL code available here:
    https://github.com/xamarin/AndroidDesigner.EPL

    === Xamarin Android Player ===

    Not Installed

    === Apple Developer Tools ===

    Xcode 7.3.1 (10188.1)
    Build 7D1014

    === Xamarin.Mac ===

    Version: 2.8.1.4 (Xamarin Studio Community)

    === Xamarin.iOS ===

    Version: 9.8.1.4 (Xamarin Studio Community)
    Hash: 3cf8aae
    Branch: c7sr0
    Build date: 2016-06-20 16:09:58-0400

    === Build Information ===

    Release ID: 600010009
    Git revision: e879ce52093257c5c386ad7e390dfaa937fa7f90
    Build date: 2016-06-24 11:53:43-04
    Xamarin addins: a9252e6df4851fbbed1f9c6228e7b6dd1b475ac5
    Build lane: monodevelop-lion-cycle7-sr0

    === Operating System ===

    Mac OS X 10.11.6
    Darwin Enricos-MacBook-Air.local 15.6.0 Darwin Kernel Version 15.6.0
    Thu Jun 23 18:25:34 PDT 2016
    root:xnu-3248.60.10~1/RELEASE_X86_64 x86_64

    === Enabled user installed addins ===

    Gorilla Player 0.9.1.2

Sign In or Register to comment.