sharpie xcode -sdks return empty list

DuyenHoaHADuyenHoaHA USMember
edited October 2015 in Objective Sharpie


As described in the title, when I launch this command, the console return nothing. I have XCode 6.4 and 7.0 in parallel.

Can anyone give me some idea to resolve this problem?

Thanks !!!

Here is my Xamarin environment:

Xamarin Studio
Version 5.9.7 (build 9)
Installation UUID: 2de8e08d-ba37-4a21-b7ff-a1000b547d4e
Mono 4.0.4 ((detached/d481017)
GTK+ 2.24.23 (Raleigh theme)

Package version: 400040004

Version: (Enterprise Edition)
Android SDK: /Users/haduyenhoa/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.0 (API level 21)
5.1 (API level 22)
Java SDK: /usr
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Xamarin Android Player
Not Installed

Apple Developer Tools
Xcode 6.4 (7720)
Build 6E35b

Version: (Enterprise Edition)
Hash: d8e9592
Branch: master
Build date: 2015-09-18 23:22:05-0400

Version: (Starter Edition)

Best Answer


  • abockabock USXamarin Team, Insider Xamurai
    edited October 2015

    Can you provide me the output of the following two commands on the shell?

    • find /Applications -name Xcode\*.app -maxdepth 1
    • sharpie -version

    Objective Sharpie searches for Xcode installations inside /Applications matching the glob pattern Xcode*.app.

    Also, Objective Sharpie has nothing to do with Xamarin Studio so that information is not useful :smile:.


  • DuyenHoaHADuyenHoaHA USMember
    edited October 2015

    Ah, I find that my XCode is not in /Applications but I've placed it in another place. Maybe it causes the problem?

  • descorpdescorp RUUniversity ✭✭
    edited May 2017

    @abock Hi Aaron,

    Could you check that your solution of creating symlink actually working ?

    I'm one of those people who keep Xcode not in '/Applications'. I've tried your solution and created symlink :

    ➜  ~ find /Applications -name Xcode\*.app -maxdepth 2
    /Applications/   **this one is symlink**
    ➜  ~ sharpie -v                                      
    3.3.0p 3d8547f 3d8547fcf1f7c2c2337b122c8d1fe893eb6a1ad3 2016-08-03 04:49:53

    Xcode is perfectly fine:

    ➜  ~ xcodebuild -showsdks                            
    iOS SDKs:
        iOS 10.3                        -sdk iphoneos10.3
    iOS Simulator SDKs:
        Simulator - iOS 10.3            -sdk iphonesimulator10.3
    ➜  ~ 

    Sharpie see no SDKs:

    ➜  ~ sharpie xcode -sdks                             
    ➜  ~ 

    After I moved one of my Xcodes to '/Applications' it works.

    ➜  ~ sharpie xcode -sdks
    sdk: appletvos10.1    arch: arm64   
    sdk: iphoneos10.2     arch: arm64   armv7   
    sdk: macosx10.12      arch: x86_64  i386    
    sdk: watchos3.1       arch: armv7k  

    I understand idea about using one path to Xcode, but I'd rather have a parameter to specify path to xcode.

Sign In or Register to comment.