Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Xcode build path in the static lib build script for Xcode 4.3.1+ …
…or version downloaded from App Store Summary: Previously xcodebuild could be found under the /Developer directory but it has since moved for Xcode downloaded from the App Store. If the developer has migrated from one version to another, then calling "which xcodebuild" will not work, unless they have run a script called "xcode-select switch". So for now we first check the older location, then look in the newer App Store location. Test Plan: I tried running the build script in my folder after a recent upgrade from 4.2 to 4.3.1. Without the build script change I got an error. With the build script change, the library was generated. Reviewers: mmarucheck, bruce, jacl Reviewed By: jacl CC: selekman, vijaye, jacl, gregschechte Differential Revision: https://phabricator.fb.com/D440943 Revert Plan: OK Task ID: 998703
- Loading branch information