forked from adobe/brackets-shell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfix-xcode.sh
More file actions
16 lines (13 loc) · 925 Bytes
/
Copy pathfix-xcode.sh
File metadata and controls
16 lines (13 loc) · 925 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Fix up paths
sed 's:exec mac/:exec tools/:' appshell.xcodeproj/project.pbxproj > tmp_pbxproj.txt
mv tmp_pbxproj.txt appshell.xcodeproj/project.pbxproj
sed 's:SYMROOT = \([^\;]*\);:SYMROOT = xcodebuild;:' appshell.xcodeproj/project.pbxproj > tmp_pbxproj.txt
mv tmp_pbxproj.txt appshell.xcodeproj/project.pbxproj
# Included chromium .gypi files set SDK to 10.7 in a couple places. Replace with empty string
# to use default SDK
sed 's:macosx10.7:"":' appshell.xcodeproj/project.pbxproj > tmp_pbxproj.txt
mv tmp_pbxproj.txt appshell.xcodeproj/project.pbxproj
# XCode is complaining about the "All" target not being optimized for multi-resolution images.
# I couldn't find a clean way to fix that in the .gyp file, so it is hard-coded here.
sed 's:PRODUCT_NAME = All;:PRODUCT_NAME = All; COMBINE_HIDPI_IMAGES = YES;:' appshell.xcodeproj/project.pbxproj > tmp_pbxproj.txt
mv tmp_pbxproj.txt appshell.xcodeproj/project.pbxproj