1
votes

I'm trying to build a sample in codenameone, when i try to generate ios build i'm getting error like "Build Error" in codenameone-build server under builds. not understood why i'm getting this.

here is the Error Log what i got

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

if anyone have idea about this please help me..

sorry for my poor English..

Thanks in Advance..

1
This isn't the full error text. Post a link to it. - Diamond
sorry for late reply @Diamond.. i think i found error,i added to the question please check it.. - tyson
i'm unable to sort it ..so i added error to the above question so could you tell me the solution for this please? - tyson
I don't see the link to the full error log in the question. - Shai Almog

1 Answers

0
votes

The error in your log is here :

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.

I indicate that your certificate linked to your provisionning profile (MyApplication IOS_DEVELOPMENT) is invalid or inexistant.
You can create a new provisionning profile with a new certificate or get back your exisiting certificate on itunes connect an add it in your CN1 settings.