gomobile init should have a flag if we want only IOS or Android

302 views
Skip to first unread message

Abhishek Sinha

unread,
Aug 29, 2016, 10:22:14 AM8/29/16
to golang-nuts
While doing gomobile init on OSX, I get the following error
gomobile: xcrun --show-sdk-path: exit status 1
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: SDK "iphoneos" cannot be located
xcrun: error: unable to lookup item 'Path' in SDK 'iphoneos'

Seems like xcode needs to be installed. Shouldn't there be a flag to override this as one may exclusively want to use his device for android development

Hyang-Ah Hana Kim

unread,
Aug 31, 2016, 8:14:22 PM8/31/16
to Abhishek Sinha, golang-nuts
What do you think if the error message is modified to clearly include the instruction for xcode installation?

--
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
__

Tristian Azuara

unread,
Sep 7, 2016, 11:20:52 AM9/7/16
to golang-nuts
I feel that it would be useful, a while ago we were only doing Android Go/mobile development and it forced the iOS download; consider opening an
Reply all
Reply to author
Forward
0 new messages