summaryrefslogtreecommitdiff
path: root/configure-iphone
diff options
context:
space:
mode:
Diffstat (limited to 'configure-iphone')
-rwxr-xr-xconfigure-iphone5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure-iphone b/configure-iphone
index 29dfcbc2..e7e4f203 100755
--- a/configure-iphone
+++ b/configure-iphone
@@ -25,7 +25,10 @@ fi
# Set the main iPhone developer directory, if not set
if test "x${DEVPATH}" = "x"; then
- DEVPATH=/Developer/Platforms/iPhoneOS.platform/Developer
+ DEVPATH=/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer
+ if test ! -d $DEVPATH; then
+ DEVPATH=/Developer/Platforms/iPhoneOS.platform/Developer
+ fi
echo "$F: DEVPATH is not specified, using ${DEVPATH}"
fi