Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/121.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
获取IOS开发生成错误_Ios_Codenameone - Fatal编程技术网

获取IOS开发生成错误

获取IOS开发生成错误,ios,codenameone,Ios,Codenameone,开发构建在导出过程中出现以下错误,这表明存档成功。此外,应用商店分发版本也通过了。我使用证书工具生成了所有的证书 完整的生成日志如下所示: 以下是看起来像是故障原因的消息: ** ARCHIVE SUCCEEDED ** Executing: echo /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -exportArchive -archivePath rvgame.xcarchive -exportPath /v

开发构建在导出过程中出现以下错误,这表明存档成功。此外,应用商店分发版本也通过了。我使用证书工具生成了所有的证书

完整的生成日志如下所示:

以下是看起来像是故障原因的消息:

** ARCHIVE SUCCEEDED ** Executing: echo /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -exportArchive -archivePath rvgame.xcarchive -exportPath /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build4175955742863989776xxx/result -exportOptionsPlist /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/export4912377426492049316.plist -verbose PROVISIONING_PROFILE=4b697edf-96fe-4b7a-ae88-07eaa148026f CODE_SIGN_IDENTITY=iPhone Developer: samuel lotti (V8JNGG63WU) KEYCHAIN=/Users/administrator/Library/Keychains/temp1513260206451.keychain CODE_SIGN_ENTITLEMENTS=/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/Entitlements4983206492678257794.plist /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -exportArchive -archivePath rvgame.xcarchive -exportPath /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build4175955742863989776xxx/result -exportOptionsPlist /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/export4912377426492049316.plist -verbose PROVISIONING_PROFILE=4b697edf-96fe-4b7a-ae88-07eaa148026f CODE_SIGN_IDENTITY=iPhone Developer: samuel lotti (V8JNGG63WU) KEYCHAIN=/Users/administrator/Library/Keychains/temp1513260206451.keychain CODE_SIGN_ENTITLEMENTS=/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/Entitlements4983206492678257794.plist Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -exportArchive -archivePath rvgame.xcarchive -exportPath /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/build4175955742863989776xxx/result -exportOptionsPlist /var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/export4912377426492049316.plist -verbose PROVISIONING_PROFILE=4b697edf-96fe-4b7a-ae88-07eaa148026f CODE_SIGN_IDENTITY=iPhone Developer: samuel lotti (V8JNGG63WU) KEYCHAIN=/Users/administrator/Library/Keychains/temp1513260206451.keychain CODE_SIGN_ENTITLEMENTS=/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/Entitlements4983206492678257794.plist 2017-12-14 08:05:38.785 xcodebuild[42364:31715511] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/p_/xlvwhg4101z8r81_nl13cds80000gn/T/rvgame_2017-12-14_08-05-38.784.xcdistributionlogs'. 2017-12-14 08:05:38.825 xcodebuild[42364:31715511] [MT] DeveloperPortal: Using pre-existing current store at URL (file:///Users/administrator/Library/Developer/Xcode/DeveloperPortal%207.3.1.db). 2017-12-14 08:05:59.053 xcodebuild[42364:31715511] [MT] IDEDistribution: Step failed: : 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 ** **存档成功** 正在执行:echo/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild-exportArchive-archive-archivePath rvgame.xarchive-exportPath/var/folders/p_/xlvwhg4101z8r81_nl13cds8000gn/T/build4175955742863989776xxx/result-exportoptions plist/var/folders/p_/xlvwhg4101z8r8113cds8000gn/T/export4912377649204936.plist-verbose配置文件=4b697edf-96fe-4b7a-ae88-07eaa148026f代码\u符号\u标识=iPhone开发者:塞缪尔·洛蒂(V8JNGG63WU)KEYCHAIN=/Users/administrator/Library/Keychains/temp113260206451.KEYCHAIN CODE\u SIGN\u authorities=/var/folders/p\uxlvwhg4101z8r81\u nl13cds8000gn/T/authoritments4983206492678257794.plist/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild-exportArchive-archive-archive-archive-rvgame.xcarve-exportPath/var/folders/p_/xlvwhg4101z8r81‰CDS8000GN/T/build4175955742863989776xxx/result-exportOptionsPlist/var/folders/p_/XLVWHGH4101Z8R81‰CDS8000GN/T/export4912377426492049316.plist-详细资源调配配置文件=4b697edf-96fe-4b7a-ae88-07eaa148026f代码_签名身份=iPhone开发者:塞缪尔·洛蒂(V8JNG63WU)KEYCHAIN=/Users/administrator/Library/Keychains/temp113260206451.KEYCHAIN CODE\u SIGN\u authorities=/var/folders/p\uxlvwhg4101z8r81\u nl13cds8000gn/T/authoritments4983206492678257794.plist 执行:/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild-exportArchive-archivePath rvgame.xarchive-exportPath/var/folders/p_/xlvwhg4101z8r8113cds8000gn/T/build4175955742863989776xxx/result-exportOptionsPlist/var/folders/p_/vwhg4101z8r8113cds8000gn/T/export49123776492049316.plist-verbose配置文件=4b697edf-96fe-4b7a-ae88-07eaa148026f代码-签名-身份=iPhone开发者:samuel lotti(V8JNG63WU)KEYCHAIN=/Users/administrator/Library/Keychains/temp15132602064451.KEYCHAIN代码-签名权利=/var/folders/p\uu/xlvwhg4101z8r81\u NL13CDS8000GN/T/T/权利4983206492678257794.plist 2017-12-14 08:05:38.785 xcodebuild[42364:31715511][MT]IDEDistribution:-[IDEDistributionLoggingBundleATPath:]:在路径“/var/folders/p\uxlvwhg4101z8r81\u nl13cds8000gn/T/rvgame\u 2017-12-14\u 08-05-38.784.xDistributionLogs”处创建的包。 2017-12-14 08:05:38.825 xcodebuild[42364:31715511][MT]DeveloperPortal:使用URL上预先存在的当前存储(file:///Users/administrator/Library/Developer/Xcode/DeveloperPortal%207.3.1.db). 2017-12-14 08:05:59.053 xcodebuild[42364:31715511][MT]IDEDistribution:步骤失败::错误域=IDEDistributionErrorDomain代码=14“未找到适用的设备”。用户信息={NSLocalizedDescription=未找到适用的设备。} 错误:exportArchive:未找到适用的设备。 错误域=IDEDistributionErrorDomain代码=14“未找到适用的设备”。用户信息={NSLocalizedDescription=未找到适用的设备。} **导出失败**
不确定如何修复此问题。

这是静态库上新Xcode要求的问题。Admob和Flurry静态库是使用旧版本的Xcode编译的,该Xcode不包含LC\u version\u MIN\u IPHONEOS运行命令,如果ipatool遇到不包含此命令的库,它现在会崩溃

我已将Admob和Flurry cn1libs更新为直接使用Cocoapods而不是静态库,这将解决此问题。在下一次服务器更新(本周)后,这些将在Codename One设置中提供。如果在此之前需要,您可以直接下载并安装cn1libs:


我还对构建服务器进行了一些更改,以便在检测到此情况时添加更具描述性的错误消息。这也将在下一次构建服务器更新中更新。

看起来您在GUI中选中了
ios.includePush
选项,但据我所知,在配置中没有激活它。但我不确定。W由于使用向导生成了证书/资源调配?您过去是否成功生成过?请注意,它们每年都会过期,需要重新生成。我确实让向导生成了它们,但没有让它生成推送证书,因为我有当前的生产推送证书。没有开发推送证书。配置文件都支持推送。如果我让向导生成push,它将撤销我的旧版本。我不希望发生这种情况。凭直觉,请尝试设置ios.pods.platform构建提示。例如,
ios.pods.platform=7.0
,看看这是否修复了错误。另外,请尝试暂时删除flurry cn1lib(并注释掉使用它的代码),然后查看其构建是否正常。可能需要更新Flurry cn1lib以使用Cocoapods。我尝试了ios.pods.platform,没有帮助。删除了Flurry,没有帮助。删除了admob,现在可以构建。可能Flurry和admob需要更新?如何更新它们?