我试图用codenameone构建一个样本,当我尝试生成ios build时,我得到的错误就像" Build Error"在构建下的codenameone-build服务器中。不明白为什么我得到这个。
这是我得到的错误日志
Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version Result is Xcode 7.3.1
Build version 7D1014
Xcode version line matching pattern: Xcode 7.3.1
Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version Result is Xcode 7.3.1
Build version 7D1014
Build version 7D1014
Xcode version line matching pattern: Xcode 7.3.1
Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version Result is Xcode 7.3.1
Build version 7D1014
Xcode version line matching pattern: Xcode 7.3.1
Executing: /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version Result is Xcode 7.3.1
Build version 7D1014
Xcode version line matching pattern: Xcode 7.3.1
Executing: /Library/Java/JavaVirtualMachines/jdk1.8.0_91.jdk/Contents/Home/bin/java -Dretrolambda.inputDir=/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build4791690017772302908xxx/classes -Dretrolambda.classpath=/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build4791690017772302908xxx/classes:/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/temp7148120558546354889.jar -Dretrolambda.outputDir=/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build4791690017772302908xxx/classes_retrolamda -Dretrolambda.bytecodeVersion=49 -Dretrolambda.defaultMethods=true -jar /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/temp5509752908315778415.jar Retrolambda 2.5.1
00:00 INFO: Bytecode version: 49 (Java 5)
00:00 INFO: Default methods: true
00:00 INFO: Input directory: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build4791690017772302908xxx/classes
00:00 INFO: Output directory: /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build4791690017772302908xxx/classes_retrolamda
00:00 INFO: Classpath: [/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/build4791690017772302908xxx/classes, /var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcm0000gn/T/temp7148120558546354889.jar]
00:00 INFO: Included files: all
00:00 INFO: Agent enabled: false
** ARCHIVE FAILED **
The following build commands failed:
Check dependencies
(1 failure)
Failed xcodebuild step
如果有人对此有所了解,请帮帮我..
抱歉我的英语很差..先谢谢..
答案 0 :(得分:0)
日志中的错误如下:
Code Sign error: No codesigning identities found:
No codesigning identities (i.e. certificate and private key pairs) that match the provisioning profile specified in your build settings (“MyApplication IOS_DEVELOPMENT Profileâ€) were found.
我指出与您的配置文件(MyApplication IOS_DEVELOPMENT)关联的证书无效或不存在。
您可以使用新证书创建新的配置文件,或者在iTunes上将您的现有证书取回连接,并将其添加到您的CN1设置中。