You were close, it looks like xcodebuild has changed the way it chooses a 
default device, adding a destination to my xcodebuild invocation allows things 
to build:

xcodebuild -project Sample.xcodeproj -scheme Sample -configuration Release -sdk 
iphonesimulator9.2 -destination 'name=iPhone 6s,OS=9.2’

.n

> On Dec 14, 2015, at 23:06, Nick Gillett <drevil...@gmail.com> wrote:
> 
> No go, but I do get a number of console errors:
> 
> 12/14/15 23:03:32.927 com.apple.CoreSimulator.CoreSimulatorService[871]: 
> Requested watch is is not available for pairing.  Assuming it has the 
> capability.
> 12/14/15 23:03:32.927 com.apple.CoreSimulator.CoreSimulatorService[871]: 
> Requested watch is is not available for pairing.  Assuming it has the 
> capability.
> 12/14/15 23:03:32.927 com.apple.CoreSimulator.CoreSimulatorService[871]: 
> Requested phone is is not available for pairing.  Assuming it has the 
> capability.
> 12/14/15 23:03:32.927 com.apple.CoreSimulator.CoreSimulatorService[871]: 
> Requested watch is is not available for pairing.  Assuming it has the 
> capability.
> 12/14/15 23:03:32.928 com.apple.CoreSimulator.CoreSimulatorService[871]: 
> Requested watch is is not available for pairing.  Assuming it has the 
> capability.
> 12/14/15 23:03:32.928 com.apple.CoreSimulator.CoreSimulatorService[871]: 
> Requested phone is is not available for pairing.  Assuming it has the 
> capability.
> 12/14/15 23:03:33.522 com.apple.usbmuxd[78]: SCEDeviceSocketCallback Client 
> 0x7f9570d020c0-xcodebuild/com.apple.dt.xcodebuild connect to 0xa1 failed, 
> connection failed with error 61 - Connection refused
> 12/14/15 23:03:33.522 xcodebuild[6217]: _connect_to_port (thread 
> 0x700000ad0000): USBMuxConnectByPort failed to connect to the device 
> 7cd75a354722f573895874f79bd3d671c6b26dbb on port 32975: Device not configured
> 12/14/15 23:03:33.523 xcodebuild[6217]: AMDeviceConnect (thread 
> 0x700000ad0000): Could not connect to lockdown port (53120) on device 161 - 
> 7cd75a354722f573895874f79bd3d671c6b26dbb: 0xe8000065.
> 12/14/15 23:03:46.565 Xcode[867]: CompanionProxy: _SocketReadCallback:128 
> (0x0x7000003a6000): Failed to receive response from AMDevice 0x7fd8c55b9b80 
> {UDID = 7cd75a354722f573895874f79bd3d671c6b26dbb, device ID = 161, 
> FullServiceName = 70:3e:ac:1d:66:e9@fe80::723e:acff:fe1d:66e9 
> <mailto:e9@fe80::723e:acff:fe1d:66e9>._apple-mobdev2._tcp.local.}: 0xe8000084
> 12/14/15 23:03:46.565 Xcode[867]: CompanionProxy: _SocketReadCallback:200 
> (0x0x7000003a6000): Stopped listening for paired devices from AMDevice 
> 0x7fd8c55b9b80 {UDID = 7cd75a354722f573895874f79bd3d671c6b26dbb, device ID = 
> 161, FullServiceName = 70:3e:ac:1d:66:e9@fe80::723e:acff:fe1d:66e9 
> <mailto:e9@fe80::723e:acff:fe1d:66e9>._apple-mobdev2._tcp.local.}: 0xe8000084
> 
> I believe this is because its trying to erroneously build for a device though 
> (hence not finding one connected via usbmuxd).
> 
> .n
> 
>> On Dec 14, 2015, at 12:19, Shazron Abdullah <s...@adobe.com 
>> <mailto:s...@adobe.com>> wrote:
>> 
>> Try this:
>> https://trac.macports.org/wiki/ProblemHotlist#xcode7.2 
>> <https://trac.macports.org/wiki/ProblemHotlist#xcode7.2>
>> 
>> From: <xcode-users-bounces+shaz=adobe....@lists.apple.com 
>> <mailto:xcode-users-bounces+shaz=adobe....@lists.apple.com>> on behalf of 
>> Nick Gillett <drevil...@gmail.com <mailto:drevil...@gmail.com>>
>> Date: Thursday, December 10, 2015 at 10:19 AM
>> To: XCode Users <xcode-users@lists.apple.com 
>> <mailto:xcode-users@lists.apple.com>>
>> Subject: Xcode 7.2 / iOS 9.2 xcodebuild wrong architecture for simulator 
>> builds?
>> 
>> Updating to 7.2 broke all of our build scripts that compile for the 
>> simulator. Did I miss some release notes or project file changes that need 
>> to be made?
>> 
>> All of our commands like this fail (yes I created a clean sample app and it 
>> still fails):
>> 
>> $ xcodebuild -project Sample.xcodeproj -scheme Sample -configuration Release 
>> -sdk iphonesimulator9.2
>> 
>> Even manually providing the architectures doesn’t help:
>> 
>> $ xcodebuild -project Sample.xcodeproj -scheme Sample -configuration Release 
>> -sdk iphonesimulator9.2 -arch i386 -arch x86_64
>> Build settings from command line:
>>     ARCHS = i386 x86_64
>>     SDKROOT = iphonesimulator9.2
>> 
>> === BUILD TARGET Sample OF PROJECT Sample WITH CONFIGURATION Release ===
>> 
>> Check dependencies
>> No architectures to compile for (ARCHS=i386 x86_64, VALID_ARCHS=arm64 armv7 
>> armv7s).
>> 
>> ** BUILD FAILED **
>> 
>> 
>> The following build commands failed:
>>      Check dependencies
>> (1 failure)
>> 
>> Anyone else seeing this?
>> 
>> Cheers.
>> 
>> .n
> 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (Xcode-users@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/xcode-users/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to