GithubHelp home page GithubHelp logo

hoaye / autopacking-ios Goto Github PK

View Code? Open in Web Editor NEW
635.0 635.0 136.0 4.63 MB

iOS自动打包脚本 多项选择 一行上传指定位置

License: MIT License

Shell 74.22% Objective-C 23.82% Ruby 1.95%
ios iosshell shell

autopacking-ios's People

Contributors

hoaye avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

autopacking-ios's Issues

.xcworkspace 打包报错

** 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)

********* 项目构建失败 😢 😢 😢 ***************

error: Multiple commands produce

大哥请教一下

`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 **`

求助** ARCHIVE FAILED **

** 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里的第三方库会报这个错误!!

default info.plist file direction is not configurable

已经指定Target的Info.plist文件路径

__CURRENT_INFO_PLIST_NAME="${__SCHEME_NAME}-Info.plist"

获取 Info.plist 路径

__CURRENT_INFO_PLIST_PATH="${__PROJECT_NAME}/Configs/${__CURRENT_INFO_PLIST_NAME}"

the "Configs " path should be configurable, right?

BUILD TARGETS OF PROJECT Pods WITH CONFIGURATION Release

=== 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?

Unknown build action 'Doesn't'

Build settings from command line:
CFBundleVersion = File
CODE_SIGN_IDENTITY = iPhone Distribution: Chongqing xxxxxxxxxx xxxxxxx Co., Ltd.

xcodebuild: error: Unknown build action 'Doesn't'.

Xcode9.4打包出现下面问题,scheme已设置无误

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'.

********* 项目构建失败 😢 😢 😢 ***************

xcodebuild: error: Unknown build action 'Reading'.

image

********* 您选择了以 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
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/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
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
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/Alcatraz.xcplugin' not present in DVTPlugInCompatibilityUUIDs
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图片中的位置一致

打包成功导出失败

********* 项目构建成功 🚀 🚀 🚀 ***************

********* 开始导出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 包失败 😢 😢 😢 ***************

build fail for unknown error. May cocoadpods be blamed.

=== 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"

xcode12 打包失败

xcode11 打包 OK,但是更新到 xcode12 后打包失败,失败原因如下:
image

automatically signed problem

=== 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实在不熟

项目构建失败

已开始打包

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'.
项目构建失败 😢 😢 😢


我直接指定版本号貌似也不行,求解。
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.