• 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: Xcode 7.2 / iOS 9.2 xcodebuild wrong architecture for simulator builds?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Xcode 7.2 / iOS 9.2 xcodebuild wrong architecture for simulator builds?


  • Subject: Re: Xcode 7.2 / iOS 9.2 xcodebuild wrong architecture for simulator builds?
  • From: Nick Gillett <email@hidden>
  • Date: Mon, 14 Dec 2015 23:40:50 -0800

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 <email@hidden> 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._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._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 <email@hidden> wrote:

Try this:
https://trac.macports.org/wiki/ProblemHotlist#xcode7.2

From: <xcode-users-bounces+shaz=email@hidden> on behalf of Nick Gillett <email@hidden>
Date: Thursday, December 10, 2015 at 10:19 AM
To: XCode Users <email@hidden>
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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Xcode 7.2 / iOS 9.2 xcodebuild wrong architecture for simulator builds? (From: Nick Gillett <email@hidden>)
 >Re: Xcode 7.2 / iOS 9.2 xcodebuild wrong architecture for simulator builds? (From: Shazron Abdullah <email@hidden>)
 >Re: Xcode 7.2 / iOS 9.2 xcodebuild wrong architecture for simulator builds? (From: Nick Gillett <email@hidden>)

  • Prev by Date: Re: Xcode 7.2 / iOS 9.2 xcodebuild wrong architecture for simulator builds?
  • Next by Date: Xcode 7.2 deadlocks freqently
  • Previous by thread: Re: Xcode 7.2 / iOS 9.2 xcodebuild wrong architecture for simulator builds?
  • Next by thread: Can't po anything without getting tons of warnings
  • Index(es):
    • Date
    • Thread