问题标签 [ipatool]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
988 浏览

ios - iPA 构建失败并出现异常 - 为 QA 测试/ AdHod 准备构建时出现 NonZeroExcitException

每次和我一起构建 ipa 都失败了

  • Xcode 10.2
  • iOS 10
  • 斯威夫特 5

  • 我为 AdHoc 创建了新的分发证书和配置文件

  • 关闭 App Thinning 但仍然没有运气。

  • 即使在查看多个论坛和 SO 帖子上的类似问题后,我也尝试了多种技巧,但结果是相同的。

如果有人在查看以下错误消息时有任何想法,那就绕圈子

这个构建有什么问题

在此处输入图像描述

完整的错误消息文本是:

“ipatool 因异常而失败:CmdSpec::NonZeroExcitException: 命令以 pid 19900 exit 1 退出:/Applications/Xcode.app/Contents/Developer/usr/bin/bitcode-build-tool -v -t /Applications/Xcode.app /Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin --sdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk -o /var/folders/ f4/wbk3bb9500s8527_0_ncx1r40000gn/T/ipatool20190729-17893-1r436rx/thinned-out/armv7/Payload/LanguageCurry.app/Frameworks/CardinalMobile.framework/CardinalMobile --generate-dsym /var/folders/f4/wbk3bb9500s8527_0_ncx1r40000gn/T/ipatool20190729-17893 -1r436rx/thinned-out/armv7/Payload/LanguageCurry.app/Frameworks/CardinalMobile.framework/CardinalMobile。dSYM --strip-swift-symbols /var/folders/f4/wbk3bb9500s8527_0_ncx1r40000gn/T/ipatool20190729-17893-1r436rx/thinned-in/armv7/Payload/LanguageCurry.app/Frameworks/CardinalMobile.framework/CardinalMobile 标准输出:调试:SDK 路径: /Applications/Xcode.app/Contents/Dev"

PS:我正在使用以下一组 pod

0 投票
0 回答
494 浏览

pyinstaller - 如何在 pyinstaller .exe 中使用 patool

我有一个简单的 python 脚本,可以解压一个 file.rar 它工作正常,直到我用 pyinstaller 将它编译成一个 exe 并且它停止工作。

Python 3.7 Windows 7 PyInstaller 3.4

我的文件.py

我试图将自己置于:

Python37-32\Lib\site-packages\PyInstaller\hooks

并添加名为“hook-patoolib.py”的钩子,内容如下

钩子-patoolib

但我仍然得到

patool 无法解压

0 投票
1 回答
131 浏览

swift - ipatool 因异常而失败,Xcode 11,6

错误: ipatool 失败并出现异常:#<CmdSpec::NonZeroExitException: ...

你好!当我尝试分发我的应用程序存档以进行开发并选择从位码重建时,会出现此错误,但是当我取消选中从位码重建时,它会成功生成 .ipa 我已尝试将 Xcode 更新到最新版本 11.6,并将 MacOS 更新到 10.15.6 ,我认为从 Mojave 更新到 Catalina 后没有帮助

错误图片链接

0 投票
1 回答
905 浏览

ios - iOS/macOS app distribution failed while using framework after upgrading Xcode12 and macOS BigSur

We are unable to distribute our sample app which uses our framework as well as our users can't. While archiving and distributing to AppStore, the app is rejected with the following message:

Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path. If your app contains bitcode, bitcode processing may have failed. Because of these errors, this build of your app will not be able to be submitted for review or placed on the App Store.

The framework contain the bitcode, or at least there's a BITCODE_GENERATION_MODE = bitcode build setting in our .xcconfig, which basically means, the Xcode will add -fembed-bitcode build flag to any clang invocation.

From here, we've started testing using Ad-Hoc builds, to speed up our trial and error attempts, which also fails while Rebuild from bitcode option is selected. Organiser shows the popup with the following contents: enter image description here

Logs provided isn't very informative, here is the snippet from IDEDistributionPipeline.log

which after bunch of warnings shows the actual error at the end of file (I can't include full log, since it's too much of a raw text):

Not sure what to to do with this, I've tried different build settings options, nothing helped... Already contacted apple, but no feedback yet, and knowing them, we can wait far too long...

The strange part here, is if we include our .framework directly as a source code and then archive the app - everything works as expected. If we include it as XCFramework or just .framework, which is pre-built - it fails as described above.

I might miss something simple or obvious here, so please let me know if somebody have some insights on that matter.

We've tried different combinations of macOS and Xcode, e.g.:

Any help is greatly appreciated. Thanks.

0 投票
0 回答
3 浏览

xcode - 找不到运行 ipatool 的 otool-classic wile

运行 ipatool 错误。

它打印以下错误

我应该从哪里来otool-classic。我的机器有otoolxcode 工具链附带的。