Ticket #11193 (closed build error: fixed)
2.9.0 release doesn't work with Xcode due to missing file
| Reported by: | disc | Owned by: | csomor |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9.1 |
| Component: | wxOSX-Carbon | Version: | 2.9.0 |
| Keywords: | Cc: | ||
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
Building src/wxWindows.xcodeproj from wxWidgets-2.9.0.tar.bz2 using any supported Xcode results in the following error:
[...]/wxWidgets-2.9.0/src/build/wxWindows.build/Development/static.build/Script-4091C82C0BC9584900699A3E.sh: line 2: [...]/wxWidgets-2.9.0/src/../distrib/mac/pbsetup-sh: No such file or directory
The release doesn't include the root folder "distrib" however the script distrib/mac/pbsetup-sh is needed to (conditionally) copy include/wx/osx/setup0.h to include/wx/osx/setup.h (copying pbsetup-sh over from a branch or trunk solves it).
Note that this particular error occurs with the Xcode IDE only. The command-line xcodebuild doesn't (seem to try to) run the script and instead results in errors related to missing setup.h.
I suggest to include the file in a next release, I would prefer that to having (include/osx/)setup.h in the release (as is done for MSW). Perhaps also rename distrib/mac/ to distrib/osx/ or, because I think the location of pbsetup-sh is somewhat of a misnomer, move the file to e.g. build/script/ or (not yet existing) build/osx/ .
[I took the liberty to set the milestone to 2.9.1, I don't know how near that release is but feel free to change it of course]

