解决ios脚本打包报IDEDistributionErrorDomain Code=14错

最近游戏接入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文件,将报错的选项删除,重新打包成功!

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值