{"id":37760741,"url":"https://github.com/zhipengbird/xcode_archive","last_synced_at":"2026-01-16T14:36:28.770Z","repository":{"id":62589817,"uuid":"92157250","full_name":"zhipengbird/xcode_archive","owner":"zhipengbird","description":"xcode编译工具脚本","archived":false,"fork":false,"pushed_at":"2017-10-11T10:07:39.000Z","size":25,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-12T20:54:45.860Z","etag":null,"topics":["xc8-compiler","xcode","xcode-archive","xcodebuild"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhipengbird.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-23T09:54:38.000Z","updated_at":"2019-08-14T06:21:28.000Z","dependencies_parsed_at":"2022-11-03T17:53:31.912Z","dependency_job_id":null,"html_url":"https://github.com/zhipengbird/xcode_archive","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/zhipengbird/xcode_archive","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhipengbird%2Fxcode_archive","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhipengbird%2Fxcode_archive/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhipengbird%2Fxcode_archive/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhipengbird%2Fxcode_archive/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhipengbird","download_url":"https://codeload.github.com/zhipengbird/xcode_archive/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhipengbird%2Fxcode_archive/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28479397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["xc8-compiler","xcode","xcode-archive","xcodebuild"],"created_at":"2026-01-16T14:36:28.693Z","updated_at":"2026-01-16T14:36:28.752Z","avatar_url":"https://github.com/zhipengbird.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"py# xcodearchive\n\n  一个方便快捷的xcode编译打包工具脚本 ，一个命令行，搞定你的所有需求。\n\n\n 在使用中遇到什么问题，或有什么新的需求，请邮件联系 yuanpinghua@yeah.net\n\u003ePS:运行环境为python 2.7  在高版本上可以会出现问题\n\n# 主要功能：\n1. ✔ 打包项目(.xcodeproj, .xcworkspace), 生成.xcarchive\n2. ✔ 生成.ipa\n3. ✔ 导出.DSYM\n4. ✔ 清理编译文件\n5. ✔ 检查项目编码格式为srgb图片\n6. ✔ 上传ipa到苹果商店\n\n# 使用说明\n作为命令行工具使用的安装方式：\n1. 下载本工程源文件\n打开命令行工具，切换置工程目录，执行如下命令：\n`python setup.py install`\n2. 使用pip安装(**推荐使用方法安装**)\n   打开命令行工具，执行如下命令：\n   `pip install xcoodearchive`\n   \u003e 如果你已安装该工具，需要更新的话，请执行如下命令：\n    `pip install -U xcodearchive`\n\n\u003eps:  我不安装，可以使用吗，当然可以\n  将本工程源文件放置到你项目录下，在命令行输入'python xcodearchive/xcodetool.py'即可，后续操作请见后续说明。\n\n\n如何使用该工具进行xcode工程打包：\n在命令行中切换置你的项目工程录，输入`xcodearchive`回车即可\n输入回车后，你会看到一个命令行交互菜单：\n```\n Please select a way to work!\n\n =\u003e build project\n    archive project\n    export ipa\n    clean build\n    Check Asset.car\n    upload ipa\n```\n这里有五个入口分别是：\n1. 编译工程文件\n2. 对项目工程进行打包\n3. 对已经archive好的项目进行导出相应的ipa\n4. 清理编译文件\n5. 检查项目是的编码格式不对的图片资源\n6. 上传ipa到苹果商店\n\n\n\n根据你的需要进行选择相应的入口。\n这里将其他可以可能遇到界面菜单稍作说明：\n```\n Please select the corresponding target\n\n =\u003e Mask\n    MaskTests\n    MaskUITests\n    MaskRandomUITests\n\n```\n在上面的交互里要列出了你项目中所有可用的target，你选择相应的target即可。\n\n\n```\n Please select the corresponding scheme\n\n =\u003e Mask\n```\n在上面的交互里列出了你项目中所有可用的schem文件，选择相应的schem文件即可\n\n```\n Please select the corresponding configuration\n\n =\u003e Debug\n    Release\n```\n在上面的交互里列出了要打包或都编译的模式（debug/release），根据你的需要进行选择。\n\n\n```\n Please choose the way to export!\n\n =\u003e app-store\n    enterpris\n    ad-hoc\n    development\n\n```\n在上面的交互里列出需要导出包的用途，上传至商店／企业包／测试包／开发包，根据你的需要进行选择。\n\n\n\n\n  ps:  有人在使用pip 安装过程中出现错误，提示找不到pip，是因为机子上没有安装pip\n  请参考[pip安装教程](http://yuanph.org/2017/06/27/pip%E5%AE%89%E8%A3%85%E4%BD%BF%E7%94%A8%E8%AF%A6%E8%A7%A3/)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhipengbird%2Fxcode_archive","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhipengbird%2Fxcode_archive","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhipengbird%2Fxcode_archive/lists"}