开发者

XCode 4 migration questions

开发者 https://www.devze.com 2023-02-20 12:23 出处:网络
Instead of cr开发者_开发问答eating separate questions for each, here\'s a list of XCode 4 related stuff that I just can\'t seem to figure out. I\'ve read the migration guide and the XCode 4 user manua

Instead of cr开发者_开发问答eating separate questions for each, here's a list of XCode 4 related stuff that I just can't seem to figure out. I've read the migration guide and the XCode 4 user manual.

  1. How can I view the build log in XCode 4?

  2. How can I build a run a Release version of my product? I don't want to archive it or submit it to iTunes, and I don't want to give up the ability to build/run the Debug version. Is creating a new scheme my only option?

  3. How do I build using the command line and the different 'schemes'? Previously, I used xcodebuild -project foo.xcodeproj -target TargetName -configuration Release|Debug. What's the XCode 4 equivalent? How does it work if I have multiple schemes for each mode (see prev bullet)?

  4. Is it just me, or did everyone feel pretty stupid when they started using XCode 4?


  1. The left hand pane that contains the file hierarchy is called the Navigator Pane. The right most tab on the tab bar is the log navigator. You'll find 'em there. If you want to see the raw text, select all, copy, and paste into TextEdit (or your editor of choice).

  2. Set up a new scheme that builds against the Release configuration.

  3. xcodebuild -h is your friend. Generally, xcodebuild works just like it did in Xcode 3.

  4. Yes. Then I got used to it, embraced it, and realized I'm about 8.27x more efficient with Xcode 4 than 3.

0

精彩评论

暂无评论...
验证码 换一张
取 消