TAILIEUCHUNG - Lập trình Wrox Professional Xcode 3 cho Mac OS part 82

Hãy tham khảo các mẫu khác, hoặc fi rst tạo ra một mục tiêu của các loại mong muốn và thêm vào các giai đoạn của bạn mong muốn với nó, để đảm bảo rằng các mục tiêu có thể chấp nhận một kiểu xây dựng đặc biệt giai đoạn. Bạn không nên bao gồm xây dựng giai đoạn trong một loại mục tiêu đó không bình thường chấp nhận rằng giai đoạn xây dựng các loại. | 674 CHAPTER 23 CUSTOMIZING XCODE JavaArchive Legacy Library Native Resources ShellScript Sources Tool Refer to other templates or first create a target of the desired type and add your desired phases to it to ensure that the target can accept a particular build phase type. You should not include a build phase in a target type that does not normally accept that build phase type. Name your target template file and place it where you want it to reside inside the Target Templates folder. Relaunch Xcode to use the new template. USER SCRIPTS User scripts are custom actions that appear in the Xcode menu. Each script is an executable text file that can optionally interact with the content of your active editor pane essentially allowing you to extend the editor with your own commands. You can write your scripts using a shell language perl python ruby awk or any other interpreter you want. Ta the script lt n the form ffu e fie yu caonoi softie a oug e sc p s n e oi m o an execwisw e e you cunnv su s u e a binary executable. The file must be a text file encoded using UTF-8. However there is nothing stopping a script from launching another binary executable or script. For example a custom script could start an AppleScript using the osascript tool. Xcode preprocesses script files before they are executed. Scripts contain additional properties and commands that enable them to communicate with the Xcode application in a fashion. Because of the subtle differences between regular executable scripts and custom Xcode scripts the following sections use the term custom script to indicate an executable script that employs special Xcode syntax. The StartupScript When Xcode starts it looks for the custom script Developer Library Xcode StartupScript and executes it. This script is a custom script that can employ any of the special custom script extensions explained later at least those that make sense in the absence of an editor context. You can modify this script to automatically perform

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.