• 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: Build failure dependent on target device/simulator
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build failure dependent on target device/simulator


  • Subject: Re: Build failure dependent on target device/simulator
  • From: Paul Summermatter <email@hidden>
  • Date: Mon, 22 Oct 2012 14:27:14 -0400

Folks,

	I'm not sure if anyone cared about this issue, but maybe someone at some point will, so I'm going to post what I found.  There can definitely be differences in the build settings for device versus simulator.  It's very hard to keep track of all of this, because it seems like project settings and values change subtly from release to release, and it also seems like Xcode attempts to update the project settings for you automatically when a new version is released.  Unfortunately, those automatic changes may not always work.  In my case, this Codova subproject wasn't configured with the Standard setting under Architectures which is under Build Settings for the project.  We found a post on Stackoverflow from a little while back that got us pointed in the right direction.  Once we made the change to Standard, the libCordova.a file was created for both simulator and device builds.  I'm happily debugging on my device again!

Regards,
Paul

On Oct 19, 2012, at 10:32 AM, Paul Summermatter wrote:

> Folks,
>
> 	I'm still nowhere on this problem, and I'm desperate to debug on my device.  Is anyone aware of whether there are any paid support options for issues such as these?  I simply do not have more time to spend on this, and need to find some way to resolve this.  If anyone has any thoughts on this issue, I would greatly appreciate hearing them.
>
> Regards,
> Paul
>
> On Oct 15, 2012, at 7:16 PM, Paul Summermatter wrote:
>
>> RE: Xcode 4.5.1, Mac OS X 10.7.4
>>
>> Folks,
>>
>> 	Something broke in my project since this morning, and I'm trying to figure out what it is I've done wrong.  I have a target in my project that builds fine for any of the simulators, but, when I try to build it for an attached device, the build fails with a series of warnings and then one error related to a missing libCordova.a (an apache library that I have included in my project as a subproject).  None of these warnings nor the error happen when I build for the simulators (and the app runs just fine in the simulator, including the pieces that reference/rely on Cordova).  The warnings and errors are all related to Codova.  I'm completely confused by all of this, because, as far as I know and can tell in Xcode, the build settings, phases, etc, are all applied to a target and not the combination of a target and a simulator/device.  I have tried building clean, quitting xcode and deleting the ~/Developer/Xcode/DerivedData/MyApp... folder all to no avail.  I'm just very confused as to how the choice of simulator versus device makes any difference here.  If anyone can shed any light on this, maybe I can figure out what exactly changed to cause this problem.  Thanks in advance for any pointers.
>>
>> Regards,
>> Paul
>
>
> _______________________________________________
> 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: 
 >Build failure dependent on target device/simulator (From: Paul Summermatter <email@hidden>)
 >Re: Build failure dependent on target device/simulator (From: Paul Summermatter <email@hidden>)

  • Prev by Date: Re: Word selection boundaries
  • Next by Date: Deployment prior to 4.3?
  • Previous by thread: Re: Build failure dependent on target device/simulator
  • Next by thread: Xcode does not play nice with AutoSave in Mountain Lion
  • Index(es):
    • Date
    • Thread