Building XCode / iPhone
Steve Wetherill <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to set up CruiseControl to build an iPhone project using the
<xcode/> built in XCode support. Obviously this is running in OSX, and the
binary version is cruisecontrol-bin-2.8.2.zip (installed from that zip
rather than source).
It basically works, and I can monitor SVN, which is great. The dashboard is
working as is the java configuration util, etc.
However, I have an issue with a dependent project, which happens to generate
a static lib. The first project is setup through XCode to have a dependency,
and it builds both OK. However, when building the static lib XCode project
as a standalone, it will always fail, and I believe this is because no
xcodebuild.cc.output file is being generated.
Error log extract:
[cc]Feb-13 16:18:17 ThreadQueue - uncaught exception in Thread-1126
java.lang.RuntimeException: java.io.FileNotFoundException:
projects/Components/Charts/xcodebuild.cc.output (No such file or directory)
at
net.sourceforge.cruisecontrol.builders.XcodeBuilder$OutputFile.createReader(XcodeBuilder.java:231)
at
net.sourceforge.cruisecontrol.builders.XcodeBuilder$OutputFile.hasMoreLines(XcodeBuilder.java:191)
at
net.sourceforge.cruisecontrol.builders.XcodeBuilder.elementFromFile(XcodeBuilder.java:68)
at
net.sourceforge.cruisecontrol.builders.XcodeBuilder.build(XcodeBuilder.java:42)
at net.sourceforge.cruisecontrol.Schedule.build(Schedule.java:169)
at net.sourceforge.cruisecontrol.Project.build(Project.java:226)
at net.sourceforge.cruisecontrol.Project.execute(Project.java:147)
at
net.sourceforge.cruisecontrol.ProjectConfig.execute(ProjectConfig.java:402)
at
net.sourceforge.cruisecontrol.ProjectWrapper.run(ProjectWrapper.java:69)
at java.lang.Thread.run(Thread.java:613)
Caused by: java.io.FileNotFoundException:
projects/Components/Charts/xcodebuild.cc.output (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileReader.<init>(FileReader.java:55)
at
net.sourceforge.cruisecontrol.builders.XcodeBuilder$OutputFile.createReader(XcodeBuilder.java:222)
I am not really sure what actually generates that file (is it XCode or
CruiseControl) but I am trying to figure out why it is not generated, or if
it is really needed at all. As noted, the main project does generate this
file and builds OK, but I can't get the dependency lib to build.
I did search the archives but could find very little on this. Hopefully I've
given enough detail here, grateful for any pointers.
Steve
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Cruisecontrol-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user