怎样解决xcode安装中idedeferredinitializationerrordomain err
发布网友
发布时间:2022-06-06 06:27
我来回答
共1个回答
热心网友
时间:2023-10-05 02:18
最近游戏接入SDK之后,使用之前的脚本生成ipa报错,用xcode手动Archive再Export却可以。报错信息如下
** ARCHIVE SUCCEEDED **
2017-01-05 14:09:45.534 xcodebuild[53098:5148140] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/gy/ql0crk9d28n9hxmp88jbh5fh0000gn/T/xxxx_xx_2017-01-05_14-09-45.533.xcdistributionlogs'.
1.2.840.113635.100.1.61
2017-01-05 14:10:07.489 xcodebuild[53098:5148140] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7f913582dcf0>: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
error: exportArchive: No applicable devices found.
Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
** EXPORT FAILED **
之后将百度和谷歌到的能尝试的方法都尝试了一遍,依然没有解决!
看上诉的日志,xcode有生成日志_createLoggingBundleAtPath,打开了日志目录,在IDEDistribution.standard.log文件中发现了一个Error
2017-01-05 12:51:47 +0000 error: Info.plist of “xxxx_xx.app/XQTNowPayResource.bundle” specifies a non-existent file for the CFBundleExecutable key
找到该Info.plist文件,将报错的选项删除,重新打包成功!