Leading EDJE TechChallengeFactors See - https://sites.google.com/a/leadingedje.com/techchallengefactors/?pli=1 for details about this challenge.
- Mac running OS X Mountain Lion
- Xcode 4.5 or Xcode 4.6
- Clone this project from GitHub
- Open TechChallengeFactors.xcodeproj inside Xcode 4.5 or Xcode 4.6
- Select Product -> Clean from Xcode's menu bar
- Select Product -> Build For -> Archiving from the menu bar
- Build the project (see build instructions above)
- Open a Terminal window
- Run the command cd ~/Library/Developer/Xcode/DerivedData
- At the prompt, enter cd TechChallengeFactors and then, press the Tab key to complete the directory. Then, press Enter.
- Run the command cd Build/Products/Release/
- Run ./TechChallengeFactors factors.txt replacing factors.txt with the fully qualified path to factors.txt downloaded from the challenge link above. The results will be written to factorsresult.txt inside the current directory.