简体   繁体   中英

can i build and package my ios app separately with xcodebuild?

I am using xcodebuild commandline tool to generate my ios app(mainly c++ source code). The command is like

xcodebuild -project Application.xcodeproj

I want to ask whether can I separate the build phase and package phase, that is to say, first build the binary executable, then at sometime package the app later.

From Apple technical note , xcodebuild supports various build actions such as build, analyze, and archive that can be performed on your target or scheme. However, build is performed by default when no action is specified xcodebuild supports various build actions such as build, analyze, and archive that can be performed on your target or scheme. However, build is performed by default when no action is specified . So, when you want to package, specify action archive otherwise just leave it empty as shown in Apple Example in the document.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM