12

I'm trying to build a working simulator build from xcodebuild. Compilation works but the final product won't run on the simulator when installed via WaxSim. If I build through the Xcode GUI then the final product installs without issue from WaxSim.

My question is, how can I see the exact xcodebuild command line that xcode is using to build a working simulator build. I just need to copy that into my shell script but it's proving elusive. I did a find in the build logs from xcode but there's no mention of xcodebuild there.

Kirby Todd
  • 11,254
  • 3
  • 32
  • 60

1 Answers1

5

You can't. Xcode itself doesn't invoke xcodebuild during the build process. This post has more information on executing xcodebuild to build for the simulator.

Community
  • 1
  • 1
indragie
  • 18,002
  • 16
  • 95
  • 164
  • Yeah, it all looks sane to me. xcodebuild -target "Acceptance Tests" -configuration Debug -sdk iphonesimulator -arch i386 build. The final product just doesn't install and is about half the size of the one xcode is building. – Kirby Todd Jan 29 '13 at 02:28