• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Debug-iphoneos
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debug-iphoneos


  • Subject: Re: Debug-iphoneos
  • From: Shazron Abdullah <email@hidden>
  • Date: Thu, 20 Sep 2012 11:35:36 -0700
  • Acceptlanguage: en-US
  • Thread-topic: Debug-iphoneos

xcodebuild (and xcode-select) are just symlinks to xcrun, maybe that's why?

[ ~]$ ls -la /usr/bin/xc*
lrwxr-xr-x  1 root  wheel      5 13 Sep 00:53 /usr/bin/xcode-select -> xcrun
lrwxr-xr-x  1 root  wheel      5 13 Sep 00:53 /usr/bin/xcodebuild -> xcrun
-rwxr-xr-x  1 root  wheel  23392 13 Sep 00:53 /usr/bin/xcrun


Wondering if you could use selectors to other Build Settings like how it is done here for ARCHS: http://cl.ly/JbhN

So you possibly could do (don't know if this works):
TARGETED_DEVICE_FAMILY[sdk=iphoneos*] = "1"
TARGETED_DEVICE_FAMILY[sdk=iphonesimulator*] = "2"


On 2012-09-20, at 7:41 AM, Fritz Anderson <email@hidden> wrote:

> On 19 Sep 2012, at 4:01 PM, CocoNuts <email@hidden> wrote:
>> On Sep 19, 2012, at 2:28 PM, David Duncan wrote:
>>
>>> xcrun xcodebuild -scheme <foo> -sdk [iphoneos | iphonesimulator]
>>
>> The secret sauce I overlooked … thanks!
>>
>> Si, Xcode 4 es muy cool.
>
> As an aside, "xcrun" shouldn't be necessary for xcodebuild. xcrun uses the executable path set by xcode-select, but the xcode-select man page says
>
>> After setting an Xcode folder, running /usr/bin/xcodebuild will automati-
>> cally invoke the version of xcodebuild(1) out of the current Xcode
>> folder.
>
> The man page lists agvtool, ibtool, opendiff, xcodebuild, xcrun, and instruments as running automatically from the current Xcode folder.
>
> But seeing David Duncan say otherwise gives me pause.
>
> 	— F
>
> --
> Fritz Anderson -- Xcode 4 Unleashed -- 4.5 supplement on the way! -- <http://x4u.manoverboard.org/>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Debug-iphoneos (From: koko <email@hidden>)
 >Re: Debug-iphoneos (From: CocoNuts <email@hidden>)
 >Re: Debug-iphoneos (From: David Duncan <email@hidden>)
 >Re: Debug-iphoneos (From: CocoNuts <email@hidden>)
 >Re: Debug-iphoneos (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: What is eating stderr from Privileged Helper Tool?
  • Next by Date: Re: What is eating stderr from Privileged Helper Tool?
  • Previous by thread: Re: Debug-iphoneos
  • Next by thread: Xcode 4.5 not yet in App Store?
  • Index(es):
    • Date
    • Thread