#17896: xcodebuild: unknown option: -sdk ----------------------------+----------------------------------------------- Reporter: skl@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: ----------------------------+----------------------------------------------- I'm running Leopard 10.5.6 and XCode 3.0. When using the universal variant on some XCode project, xcodebuild exits with an error {{{ erCode" && xcodebuild -alltargets -configuration Deployment build -sdk /Developer/SDKs/MacOSX10.5.sdk OBJROOT=build/ SYMROOT=build/ ARCHS="ppc i386" MACOSX_DEPLOYMENT_TARGET=10.5 ' unknown option: -sdk }}} The patch described in https://trac.macports.org/ticket/17610 does not fix the bug. The manpage of xcodebuild says, that there should be an "=" char added to any '-option'. When calling xcodebuild with "-sdk=/Developer/SDKs/MacOSX10.5.sdk" everything runs well. -- Ticket URL: <http://trac.macports.org/ticket/17896> MacPorts <http://www.macports.org/> Ports system for Mac OS