Re: Did xcodebuild change in 4.3?
Re: Did xcodebuild change in 4.3?
- Subject: Re: Did xcodebuild change in 4.3?
- From: Joar Wingfors <email@hidden>
- Date: Wed, 28 Mar 2012 14:34:23 -0700
You need to be either using xcode-select to switch between versions of Xcode, or directly (using the full path) invoke the copy of xcodebuild that you want to use from the respective install of Xcode.
Doing this, do you still see the same issue?
Joar
On 28 mar 2012, at 13:54, Jeremy Derr wrote:
> In our CI system, the follow is eventually invoked:
>
> xcodebuild -sdk iphoneos -project SomeProject.xcodeproj -target SomeTarget -configuration Release
>
> In 4.2 and all previous versions, this has worked beautifully. After upgrading to Xcode 4.3, however, xcodebuild seems unable to discover provisioning files correctly.
>
> # build with 4.2
> DEVELOPER_DIR=/Developer xcodebuild -sdk iphoneos -project SomeProject.xcodeproj -target SomeTarget -configuration Release
> [ ... ]
> ** BUILD SUCCEEDED **
>
> # build with 4.3 instead
> DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer xcodebuild -sdk iphoneos -project SomeProject.xcodeproj -target SomeTarget -configuration Release
>
> === BUILD NATIVE TARGET SomeTarget OF PROJECT SomeProject WITH THE DEFAULT CONFIGURATION (Release) ===
> Check dependencies
>
> [BEROR]Code Sign error: a valid provisioning profile matching the application's Identifier 'com.project.appname
> ' could not be found
>
> ** BUILD FAILED **
>
> The following build commands failed:
> Check dependencies
> (1 failure)
>
> Oddly enough, building the same project – with no code or config changes – will succeed with nary a warning, even in Xcode 4.3.
>
> Any ideas what might be causing this behavior from xcodebuild?
>
> Jeremy Derr
> DevOps
>
> Mutual Mobile
> m › 512.426.0702
> w › mutualmobile.com
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> 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