What is difference between build and archive in Xcode
ios, xcode
Solution
Build: The compilation for your source code to execute the project
Archive: As its name says, it is the overall package (that contains .app and other related files). From archive you can create .IPA file similar to .apk file (android) with that you can distribute your application.
Problem
I want to build a framework, when I compiled the project using build and archive using command line,the result is different about their sizes. "build " is much larger than archive. why? The command I use: `xcodebuild -target xx -configuration Release clean build UFW_ACTION=archive` `xcodebuild -scheme xx -configuration Release clean archive`