gpt4 book ai didi

ios - 上传前验证 IPA

转载 作者:行者123 更新时间:2023-11-28 23:40:00 25 4
gpt4 key购买 nike

我用更新的供应配置文件辞职了IPA文件,我想验证它以确认一切都已正确完成。但是,管理器中的 xcode 只允许验证 xcarchive 而不是 IPA

有什么方法可以从 TerminalXcode 验证 IPA 吗?

最佳答案

您可以尝试从终端运行 altool:

/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool 
-v -f YourApp.ipa -u <username> -p <password>

altool的帮助:

/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool -h

Copyright (c) 2009-2018, Apple Inc. Version 1.1.1138

Usage: altool --validate-app -f <file> -t <platform> -u <username> [-p <password>]
altool --upload-app -f <file> -t <platform> -u <username> [-p <password>]
altool --notarize-app -f <file> --primary-bundle-id <bundle_id> -u <username> [-p <password>] [--asc-provider <provider_shortname>]
altool --notarization-info <uuid> -u <username> [-p <password>]
altool --notarization-history <page> -u <username> [-p <password>] [--asc-provider <provider_shortname>]

-f, --file <file> <file> specifies the path to the file to process.
-t, --type {osx | ios | appletvos} Specify the platform of the file.
-u, --username <username> Username. Required to connect for validation, upload, and notarization.
-p, --password <password> Password. Required if username specified.
If this argument is not supplied on the command line, it will be read from stdin.
Alternatively to entering <password> in plaintext, it may also be specified using a '@keychain:'
or '@env:' prefix followed by a keychain password item name or environment variable name.
Example: '-p @keychain:<name>' uses the password stored in the keychain password item named <name>
and whose Account value matches the user name specified
Example: '-p @env:<variable>' uses the value in the environment variable named <variable>

--primary-bundle-id <bundle_id> Used with --notarize-app to uniquely identify a package.

--asc-provider <provider_shortname> Required with --notarize-app and --notarization-history when a user account is associated with multiple
providers.
-v, --validate-app Validates an app archive for the App Store. The username, password, and file path to the app archive are required.

--upload-app Uploads the given app archive to the App Store. The username, password, and file path to the app archive are required.

--notarize-app Uploads the given app package, dmg or zip file for notarization. The file path to the package, user name,
password, and --primary-bundle-id are required. --asc-provider is required for an account associated with multiple providers.
If successful, the UUID associated with the upload is returned.

--notarization-info <uuid> Returns the status and log file URL of a package previously uploaded for notarization with the specified uuid.
The user name and password are required. The log file can be retrieved with 'curl <log_file_url>'.

--notarization-history <page> Returns a list of all uploads submitted for notarization. <page> specifies a range of entries where 0
returns the most recent number of entries. A new page value will be returned which can be used as the
<page> value to the next use of --notarization-history and so forth until no more items are returned. The user name
and password are required. --asc-provider is required for an account associated with multiple providers.

--output-format {xml | normal} Specifies how the output is formatted. 'xml' displays the output in a structured format; 'normal' displays in
an unstructured format (default).

-h, --help Display this output.

关于ios - 上传前验证 IPA,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53741258/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com