Skip to content

Commit

Permalink
Merge pull request #2913 from mstepanov/timob-10854
Browse files Browse the repository at this point in the history
[TIMOB-10854] ios-sim uses default Xcode.app location ignoring location specified by xcode-select
  • Loading branch information
srahim committed Sep 12, 2012
2 parents 6b4dcb2 + 9113404 commit 5a6524f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion support/iphone/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ def handler(signum, frame):
# set the DYLD_FRAMEWORK_PATH environment variable for the following Popen iphonesim command
# this allows the XCode developer folder to be arbitrarily named
xcodeselectpath = os.popen("/usr/bin/xcode-select -print-path").readline().rstrip('\n')
iphoneprivateframeworkspath = xcodeselectpath + '/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks'
iphoneprivateframeworkspath = xcodeselectpath + '/Platforms/iPhoneSimulator.platform/Developer/Library/PrivateFrameworks:' + xcodeselectpath + '/../OtherFrameworks'
os.putenv('DYLD_FRAMEWORK_PATH', iphoneprivateframeworkspath)

# launch the simulator
Expand Down

0 comments on commit 5a6524f

Please sign in to comment.