hoaye / autopacking-ios Goto Github PK
View Code? Open in Web Editor NEWiOS自动打包脚本 多项选择 一行上传指定位置
License: MIT License
iOS自动打包脚本 多项选择 一行上传指定位置
License: MIT License
********* 项目构建成功 🚀 🚀 🚀 ***************
********* 开始导出ipa文件 ***************
2017-10-26 15:16:10.638 xcodebuild[8279:41963] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/q6/trbzk_6d0wj6kbtl_l3qwhnw0000gp/T/Leaf_2017-10-26_15-16-10.637.xcdistributionlogs'.
2017-10-26 15:16:12.550 xcodebuild[8279:41963] [MT] IDEDistribution: Step failed: <IDEDistributionOptionsStep: 0x7fd194bd24c0>: Error Domain=NSCocoaErrorDomain Code=3840 "No value." UserInfo={NSDebugDescription=No value., NSFilePath=/var/folders/q6/trbzk_6d0wj6kbtl_l3qwhnw0000gp/T/ipatool-json-filepath-Ve305u}
error: exportArchive: The data couldn’t be read because it isn’t in the correct format.
Error Domain=NSCocoaErrorDomain Code=3840 "No value." UserInfo={NSDebugDescription=No value., NSFilePath=/var/folders/q6/trbzk_6d0wj6kbtl_l3qwhnw0000gp/T/ipatool-json-filepath-Ve305u}
** EXPORT FAILED **
mv: rename ./build/Leaf.ipa to ./build/Leaf_V2.4.0.1_20171026_151142.ipa: No such file or directory
********* 导出 Leaf_V2.4.0.1_20171026_151142.ipa 包失败 😢 😢 😢 ***************
OutPutFile_Failed.md.zip
我错误提示内容,做了个markdown文件。
请作者看看。
怎么没有EnterpriseExportOptionsPlist这个文件
********* 您选择了以 xcworkspace-Debug 模式打包 ***************
2018-05-07 15:01:49.292 xcodebuild[45175:4425633] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ESJsonFormat.xcplugin' not present in DVTPlugInCompatibilityUUIDs/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-05-07 15:01:49.292 xcodebuild[45175:4425633] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '
xcodebuild: error: 'DeepCopyQuestion.xcworkspace' does not exist.
2018-05-07 15:01:49.772 xcodebuild[45176:4425669] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ESJsonFormat.xcplugin' not present in DVTPlugInCompatibilityUUIDs/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-05-07 15:01:49.772 xcodebuild[45176:4425669] [MT] PluginLoading: Required plug-in compatibility UUID B395D63E-9166-4CD6-9287-6889D507AD6A for plug-in at path '
User defaults from command line:
IDEArchivePathOverride = /Users/wyw/Git_reources/iOS/2018Year/04Month/DeepCopyQuestion/build/APPxxxxTest.xcarchive
Build settings from command line:
CFBundleVersion = Error
CODE_SIGN_IDENTITY = iPhone Developer:Xiamen henz wealth financial information services co., LTD
你好,请问下哪里配置错误了吗,文件位置和demo图片中的位置一致
对打包经验不足的情况,需要在这上面浪费很多时间, gif合适
大哥请教一下
`xcodebuild: error: You cannot specify both a scheme and -alltargets.
2018-10-29 14:06:38.593 xcodebuild[6695:113309] [MT] PluginLoading: Required plug-in compatibility UUID 8B9F56A7-4D8B-41AA-A65D-D4906CDF1539 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ClangFormat.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2018-10-29 14:06:38.594 xcodebuild[6695:113309] [MT] PluginLoading: Required plug-in compatibility UUID 8B9F56A7-4D8B-41AA-A65D-D4906CDF1539 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
User defaults from command line:
IDEArchivePathOverride = /Users/oswin/Downloads/auto_code/zzios_test/build/ios.xcarchive
Build settings from command line:
CFBundleVersion = 1
CODE_SIGN_IDENTITY = iPhone Distribution:xxxxx(已经配置)
note: Using new build system
note: Planning build
note: Constructing build description
Build system information
warning: The Copy Bundle Resources build phase contains this target's Info.plist file '/Users/oswin/Downloads/auto_code/zzios_test/ios/Info.plist'. (in target 'ios')
Build system information
warning: duplicate output file '/Users/oswin/Library/Developer/Xcode/DerivedData/ios-afezxkudgwcbseamdzpppfeesusv/Build/Intermediates.noindex/ArchiveIntermediates/ios/InstallationBuildProductsLocation/Applications/ios.app/Info.plist' on task: ProcessInfoPlistFile /Users/oswin/Library/Developer/Xcode/DerivedData/ios-afezxkudgwcbseamdzpppfeesusv/Build/Intermediates.noindex/ArchiveIntermediates/ios/InstallationBuildProductsLocation/Applications/ios.app/Info.plist /Users/oswin/Downloads/auto_code/zzios_test/ios/Info.plist (in target 'ios')
Build system information
error: Multiple commands produce '/Users/oswin/Library/Developer/Xcode/DerivedData/ios-afezxkudgwcbseamdzpppfeesusv/Build/Intermediates.noindex/ArchiveIntermediates/ios/InstallationBuildProductsLocation/Applications/ios.app/Info.plist':
1) Target 'ios' (project 'ios') has copy command from '/Users/oswin/Downloads/auto_code/zzios_test/ios/Info.plist' to '/Users/oswin/Library/Developer/Xcode/DerivedData/ios-afezxkudgwcbseamdzpppfeesusv/Build/Intermediates.noindex/ArchiveIntermediates/ios/InstallationBuildProductsLocation/Applications/ios.app/Info.plist'
2) Target 'ios' (project 'ios') has process command with output '/Users/oswin/Library/Developer/Xcode/DerivedData/ios-afezxkudgwcbseamdzpppfeesusv/Build/Intermediates.noindex/ArchiveIntermediates/ios/InstallationBuildProductsLocation/Applications/ios.app/Info.plist'
** ARCHIVE FAILED **`
=== BUILD TARGET iforvert OF PROJECT iforvert WITH CONFIGURATION Debug ===
Check dependencies
Code Signing Error: iforvert has conflicting provisioning settings. iforvert is automatically signed, but code signing identity iPhone Developer: xuelin li (FH4LU34754) has been manually specified. Set the code signing identity value to "iPhone Developer" in the build settings editor, or switch to manual signing in the project editor.
大神, 能不能帮忙改下脚本, 在automatically signed状态下也能打包,万分感谢, 我对shell实在不熟
** CLEAN SUCCEEDED **
User defaults from command line:
IDEArchivePathOverride = /Users/think/Documents/workspace/zznet/git/smart-class-iOS/smart-class/build/smart-class.xcarchive
Build settings from command line:
CFBundleVersion = 4
CODE_SIGN_IDENTITY = iPhone Developer: Gao Haitao (74E6NBPBCP)
2018-04-04 16:09:10.454 xcodebuild[4398:249345] DTDeviceKit: deviceType from 4a30868e4f6a429d542619dac38fed1684036b2b was NULL
=== BUILD TARGET DTFoundation OF PROJECT Pods WITH CONFIGURATION Release ===
Check dependencies
Code Signing Error: DTFoundation does not support provisioning profiles. DTFoundation does not support provisioning profiles, but provisioning profile NO_SIGNING/ has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor.
=== BUILD TARGET DACircularProgress OF PROJECT Pods WITH CONFIGURATION Release ===
Check dependencies
Code Signing Error: DACircularProgress does not support provisioning profiles. DACircularProgress does not support provisioning profiles, but provisioning profile NO_SIGNING/ has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor.
=== BUILD TARGET AFNetworking OF PROJECT Pods WITH CONFIGURATION Release ===
Check dependencies
Code Signing Error: AFNetworking does not support provisioning profiles. AFNetworking does not support provisioning profiles, but provisioning profile NO_SIGNING/ has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor.
=====
请问这是为什么,我的使用 pod 构建的工程,pod里的第三方库会报这个错误!!
** ARCHIVE FAILED **
The following build commands failed:
Ld /Users/edaobao/Library/Developer/Xcode/DerivedData/AutoPackingDemo-ggclroqhawoqkrbfupxglfycilxo/Build/Intermediates.noindex/ArchiveIntermediates/AutoPackingDemo/IntermediateBuildFilesPath/AutoPackingDemo.build/Debug-iphoneos/AutoPackingDemo.build/Objects-normal/arm64/AutoPackingDemo normal arm64
(1 failure)
********* 项目构建失败 😢 😢 😢 ***************
用这个打包怎么比用xcode打包多了20M这么多?
=== BUILD TARGET SnapKit OF PROJECT Pods WITH CONFIGURATION Release ===
Check dependencies
Code Signing Error: SnapKit does not support provisioning profiles. SnapKit does not support provisioning profiles, but provisioning profile NO_SIGNING/ has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor.
** ARCHIVE FAILED **
The following build commands failed:
Check dependencies
Check dependencies
Check dependencies
Check dependencies
Check dependencies
Check dependencies
Check dependencies
Check dependencies
(8 failures)
********* 项目构建失败 😢 😢 😢 ***************
the pod --version is 1.3.1 and the build settings is "Don't code sign"
=== BUILD TARGET AliyunOSSiOS OF PROJECT Pods WITH CONFIGURATION Release ===
Check dependencies
Code Signing Error: AliyunOSSiOS does not support provisioning profiles. AliyunOSSiOS does not support provisioning profiles, but provisioning profile NO_SIGNING/ has been manually specified. Set the provisioning profile value to "Automatic" in the build settings editor.
How to deal with these problems?
__CURRENT_INFO_PLIST_NAME="${__SCHEME_NAME}-Info.plist"
__CURRENT_INFO_PLIST_PATH="${__PROJECT_NAME}/Configs/${__CURRENT_INFO_PLIST_NAME}"
the "Configs " path should be configurable, right?
Build settings from command line:
CFBundleVersion = File
CODE_SIGN_IDENTITY = iPhone Distribution: Chongqing xxxxxxxxxx xxxxxxx Co., Ltd.
xcodebuild: error: Unknown build action 'Doesn't'.
多个Target能打包吗,看了下第86行,只知道写一个,多个这么写?
能否添加该功能,企业证书打包关闭推送开关,开发证书打包打开推送证书,谢谢
已开始打包
autopacking.sh: line 166: 104: command not found
Print: Entry, "CFBundleVersion", Does Not Exist
autopacking.sh: line 168: 1.4#File: command not found
2019-05-17 13:35:22.053 xcodebuild[60630:936461] [MT] PluginLoading: Required plug-in compatibility UUID 72F7D751-F810-43B8-A53F-1F1DFD74FC54 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/xTransCodelation.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2019-05-17 13:35:22.053 xcodebuild[60630:936461] [MT] PluginLoading: Required plug-in compatibility UUID 72F7D751-F810-43B8-A53F-1F1DFD74FC54 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ESTranslate.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2019-05-17 13:35:22.054 xcodebuild[60630:936461] [MT] PluginLoading: Required plug-in compatibility UUID 72F7D751-F810-43B8-A53F-1F1DFD74FC54 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
xcodebuild: error: Unknown build action 'Release'.
2019-05-17 13:35:22.882 xcodebuild[60631:936505] [MT] PluginLoading: Required plug-in compatibility UUID 72F7D751-F810-43B8-A53F-1F1DFD74FC54 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/xTransCodelation.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2019-05-17 13:35:22.882 xcodebuild[60631:936505] [MT] PluginLoading: Required plug-in compatibility UUID 72F7D751-F810-43B8-A53F-1F1DFD74FC54 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/ESTranslate.xcplugin' not present in DVTPlugInCompatibilityUUIDs
2019-05-17 13:35:22.883 xcodebuild[60631:936505] [MT] PluginLoading: Required plug-in compatibility UUID 72F7D751-F810-43B8-A53F-1F1DFD74FC54 for plug-in at path '~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
User defaults from command line:
IDEArchivePathOverride = /Users/nathan/Documents/workspace/YY/LuckyBet/build/.xcarchive
Build settings from command line:
CFBundleVersion =
xcodebuild: error: Unknown build action 'Release'.
项目构建失败 😢 😢 😢
对打包经验不足的情况,需要在这上面浪费很多时间, gif合适
User defaults from command line:
IDEArchivePathOverride = /Users/zhonggaorong/ios/RedEnvelopes/build/xxxxx.xcarchive
Build settings from command line:
CFBundleVersion = File
CODE_SIGN_IDENTITY = iPhone Developer:xxxxxxxxxxxx(xxxxxx)
xcodebuild: error: Unknown build action 'Doesn't'.
********* 项目构建失败 😢 😢 😢 ***************
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.