mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 16:39:57 +00:00
.. just upgraded to Xcode 4.6 and the project files created by qmake 4.8 don't work. After scanning the web I found a workaround in QTBUG-29371 and implemented it in a little shell script: qmake-xcode. .. to run, from the src directory invoke it with $ sh ./qmake-xcode
14 lines
434 B
Plaintext
14 lines
434 B
Plaintext
:
|
|
# zap existing if already there
|
|
rm -rf ./GoldenCheetah.xcodeproj
|
|
qmake -spec macx-xcode src.pro
|
|
|
|
#if that worked update the project file created
|
|
if [ -d ./GoldenCheetah.xcodeproj ]
|
|
then
|
|
# update project file for Xcode 4.6
|
|
sed 's/isa = PBXFrameworkReference/lastKnownFileType = wrapper.framework;
|
|
isa = PBXFileReference/g' <GoldenCheetah.xcodeproj/project.pbxproj >tmp
|
|
|
|
mv tmp GoldenCheetah.xcodeproj/project.pbxproj
|
|
fi
|