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
Make sure your build is successfulBefore beginning to archive your build, you need to make sure that the build is successful not only for Debug, for also for Release.
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.
You can move messages to the Archive folder to help keep your inbox from getting too cluttered. Unlike messages you move to the Bin, archived messages remain in your Archive folder until you delete them. You can view the Archive folder in the Mailboxes list.
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.
The archive (.ipa
) file is a zip file, which will account for the difference in size.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With