[ 
https://issues.jenkins-ci.org/browse/JENKINS-12894?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ian carr resolved JENKINS-12894.
--------------------------------

    Resolution: Not A Defect

After further investigation this appears to be a problem with xcodebuild or the 
project!

xcodebuild will build and test the project once, subsequent attempts to build 
fail with the multiple inclussion compile problems.

My appologies!
                
> Building a scheme including multiple static library test targets fails under 
> jenkins but works with xcodebuild from cli
> -----------------------------------------------------------------------------------------------------------------------
>
>                 Key: JENKINS-12894
>                 URL: https://issues.jenkins-ci.org/browse/JENKINS-12894
>             Project: Jenkins
>          Issue Type: Bug
>          Components: xcode
>    Affects Versions: current
>         Environment: OSX lion server 
> jenkins 1.450 
> xcode 4.2 
> plugin 1.3
> glassfish 3.1 host
>            Reporter: ian carr
>            Priority: Blocker
>
> I have an XCode workspace with several projects, each building a static 
> library target. Each library with it's own test target.
> I have created a scheme containing each of the 7 test targets each selected 
> for build, test, run (7 targets in all)
> (parralel building is disabled in this scheme.)
> Checking out this workspace from git and running a manual xcodebuild and 
> setting TEST_AFTER_BUILD completes the build successfully and runs the tests.
> I have also configured a jenkins build for this same workspace and scheme.
> Most of the targets build, but one generates compile errors when compiling 
> the test target. The failures indicate redefinitions of objective c interfaces
> indicating multiple inclusions of header files. Since these files are 
> #imported and not #included there should be no multiple-inclusion. And as 
> mentioned
> in XCode or from a manual run of xcodebuild these errors are not appearing.
> I am wondering whether there are some additional environment variables being 
> set in the jenkins invocation?
> or perhaps the mutiple target scheme is not supported?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to