CodeName一个服务器错误:签署“<appname>”需要开发团队。在项目编辑器中选择一个开发团队

时间:2018-01-17 19:01:27

标签: ios build codenameone

我正在尝试为ios的CodeName One服务器提交构建版本,但是我收到以下错误:

=== BUILD TARGET <> OF PROJECT <> WITH CONFIGURATION Release ===

Check dependencies
Code Signing Error: Signing for "<AppName>" requires a development team. Select a development team in the project editor.
warning: skipping file '/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build2312703286849472619xxx/dist/<>-src/<>-Prefix.pch' (unexpected file type 'sourcecode.c.objc.preprocessed' in Frameworks & Libraries build phase)
warning: skipping file '/var/folders/p7/d3z112yd0156kxkm2p21p8ym0000gn/T/build2312703286849472619xxx/dist/<>-src/<>-Info.plist' (unexpected file type 'text.plist.xml' in Frameworks & Libraries build phase)
Warning: The Link Binary With Libraries build phase contains this target's Info.plist file '<>-src/<>-Info.plist'.
Code Signing Error: Code signing is required for product type 'Application' in SDK 'iOS 11.2'

** ARCHIVE FAILED **

The following build commands failed:
    Check dependencies
(1 failure)
Failed xcodebuild step

代码在本地构建良好;将错误提交给远程构建服务器时会显示错误。关于这个xcodebuild问题,我已经看到了几个关于SO的问题,但没有一个问题适用于CodeName One。 (我假设CodeName One在进行服务器构建时使用xcode。)如何从CodeName One NetBeans插件中选择开发团队?

我使用CodeName One向导生成ios证书;不确定这是否有所作为。

2 个答案:

答案 0 :(得分:0)

这是大学还是企业iOS开发者帐户?如果是这样,您需要进入Codename One Settings中的iOS Signing部分并配置正确的选项。

enter image description here

答案 1 :(得分:0)

在查看构建错误日志后,Shai能够识别问题。 xcode版本已设置为9.2而不是7.3。通过将codenameone_settings.properties文件中的codename1.arg.ios.xcode_version变量的值从9.2更改为7.3,构建成功完成。