mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-13 16:18:42 +00:00
Add script to build xcode 4.6 project files
.. 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
This commit is contained in:
13
src/qmake-xcode
Normal file
13
src/qmake-xcode
Normal file
@@ -0,0 +1,13 @@
|
||||
:
|
||||
# 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
|
||||
Reference in New Issue
Block a user