简体   繁体   English

终端MacOS Fastlane / Gym / xcodebuild错误65:GenerateDSYMFile,dsymutil malloc:未分配正在释放的指针

[英]Terminal MacOS Fastlane/Gym/xcodebuild Error 65: GenerateDSYMFile, dsymutil malloc: pointer being freed was not allocated

I'm trying to make an little bash script for automatisation of ipa uploading on itunes. 我正在尝试制作一些bash脚本来自动在iTunes上上传ipa。 [From Xcode uploading it works fine]. [通过Xcode上传,效果很好]。

For command: 对于命令:

gym

from Fastlane,some projects are uploading fine, others are failing with log: 从Fastlane,某些项目可以正常上传,其他项目则无法记录日志:

The following build commands failed:    
GenerateDSYMFile [...] 
    Exit status: 65

In gym logs: 在健身日志中:

GenerateDSYMFile [...] 
dsymutil(20223,0x7fff724c3000) malloc: *** error for object 0x610000100000: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil failed with exit code 6 

...tried all google solutions.... 尝试了所有Google解决方案。

I've had the same issue. 我有同样的问题。

I've found a reference in this thread , and also here 我在此线程中找到了参考,也在这里

suggesting that it's the MallocNanoZone environment variable. 提示它是MallocNanoZone环境变量。 after changing it (on terminal): 更改后(在终端上):

export MallocNanoZone=0 出口MallocNanoZone = 0

The build successfully completed. 构建成功完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM