I am using xcodebuild
command line tool to create an archive and then export as IPA file, for my iOS project.
By default, while using xcodebuild -exportArchive
, it creates the IPA file which has the same label as the scheme
selected for building .
Is there anyway to change the output IPA file name while using xcodebuild -exportArchive
from command line?
Any help will be greatly appreciated. Thanks.
如果不起作用的另一种方法是设置customArchiveName(请参阅此答案) https://stackoverflow.com/a/43809933
Change the PRODUCT_NAME
in your target's Build Settings.
The parameter that sets your IPA name is actually PRODUCT_MODULE_NAME
, which is by default empty and thus defaults to your PRODUCT_NAME
.
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.