I am trying to upload an ipa generated from a pipeline task to testflight, but I keep getting this error,
2022-09-08T19:15:04.3027660Z [19:15:04]: Transporter transfer failed.
2022-09-08T19:15:04.3035460Z [19:15:04]:
2022-09-08T19:15:04.3038030Z [19:15:04]: iTMSTransporter could not generate an itmsp: null
2022-09-08T19:15:04.3148450Z An exception has occurred: null
2022-09-08T19:15:04.5690040Z [19:15:04]: [iTMSTransporter] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2022-09-08T19:15:04.5692520Z
2022-09-08T19:15:04.5693940Z [19:15:04]: [iTMSTransporter] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
2022-09-08T19:15:04.5694840Z
2022-09-08T19:15:04.5695950Z [19:15:04]: [iTMSTransporter] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
2022-09-08T19:15:04.5696630Z
2022-09-08T19:15:04.5697520Z [19:15:04]: [iTMSTransporter] at java.base/java.lang.reflect.Method.invoke(Unknown Source)
2022-09-08T19:15:04.5698140Z
2022-09-08T19:15:04.5699110Z [19:15:04]: [iTMSTransporter] at com.apple.transporter.launcher.Application.start(Application.java:450)
2022-09-08T19:15:04.5699870Z
2022-09-08T19:15:04.5701020Z [19:15:04]: [iTMSTransporter] at com.apple.transporter.launcher.Application.main(Application.java:947)
2022-09-08T19:15:04.5701970Z
2022-09-08T19:15:04.5703840Z [19:15:04]: [iTMSTransporter]
2022-09-08T19:15:04.5704400Z
2022-09-08T19:15:04.5705320Z [19:15:04]: [iTMSTransporter]
2022-09-08T19:15:04.5705520Z
2022-09-08T19:15:04.5706710Z [19:15:04]: [iTMSTransporter]
2022-09-08T19:15:04.5706970Z
2022-09-08T19:15:04.5707850Z [19:15:04]: [iTMSTransporter]
2022-09-08T19:15:04.5708140Z
2022-09-08T19:15:04.5708820Z [19:15:04]: [iTMSTransporter] Error Summary
2022-09-08T19:15:04.5709040Z
2022-09-08T19:15:04.5709430Z [19:15:04]: [iTMSTransporter]
2022-09-08T19:15:04.5709600Z
2022-09-08T19:15:04.5710090Z [19:15:04]: [iTMSTransporter] iTMSTransporter could not generate an itmsp: null
2022-09-08T19:15:04.5710380Z
2022-09-08T19:15:04.5710820Z [19:15:04]: [iTMSTransporter] An exception has occurred: null
2022-09-08T19:15:04.5711280Z
2022-09-08T19:15:04.5713560Z [19:15:04]: [iTMSTransporter] [2022-09-08 19:15:04 UTC] <main> DBG-X: Returning 1
2022-09-08T19:15:04.5713960Z
2022-09-08T19:15:04.5714350Z [19:15:04]: iTunes Transporter output above ^
2022-09-08T19:15:04.5714900Z [19:15:04]: iTMSTransporter could not generate an itmsp: null
2022-09-08T19:15:04.5715430Z An exception has occurred: null
2022-09-08T19:15:04.5716020Z Return status of iTunes Transporter was 1: iTMSTransporter could not generate an itmsp: null
2022-09-08T19:15:04.5717110Z \nAn exception has occurred: null
2022-09-08T19:15:04.5718220Z The call to the iTMSTransporter completed with a non-zero exit status: 1. This indicates a failure.
2022-09-08T19:15:04.5918110Z
2022-09-08T19:15:04.5920580Z [!] Error uploading ipa file:
2022-09-08T19:15:04.5921290Z
2022-09-08T19:15:04.6299370Z ##[error]Error: The process '/usr/local/lib/ruby/gems/2.7.0/bin/fastlane' failed with exit code 1
2022-09-08T19:15:04.6329380Z ##[section]Finishing: Publish to the App Store TestFlight track
Any reason why I am getting this. I couldn't find an exact cause for this issue in other threads.
This issue was coming basically because I've configured multiple schemes but I haven't defined build numbers for some schemes. The error generated from the pipeline is pretty ambiguous.A more detailed answer on validating your ipa incase you got this type of a similar issue is posted here,
https://github.com/fastlane/fastlane/discussions/20636
Related
Getting below error while running jenkins build,
Running as SYSTEM
Installing AdoptOpenJDK to /home/jenkins/agent/tools/hudson.model.JDK/jdk13
ERROR: Failed to download file:/jenkins_data/jenkins_home/caches/adoptopenjdk/LINUX/amd64/jdk8u345-b01.zip from agent; will retry from controller
Also: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from 172.30.16.214/172.30.16.214:32768
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1784)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:356)
at hudson.remoting.Channel.call(Channel.java:1000)
at hudson.FilePath.act(FilePath.java:1194)
at hudson.FilePath.act(FilePath.java:1183)
at hudson.FilePath.installIfNecessaryFrom(FilePath.java:1046)
at hudson.FilePath.installIfNecessaryFrom(FilePath.java:982)
at io.jenkins.plugins.adoptopenjdk.AdoptOpenJDKInstaller.performInstallation(AdoptOpenJDKInstaller.java:121)
at hudson.tools.InstallerTranslator.getToolHome(InstallerTranslator.java:70)
at hudson.tools.ToolLocationNodeProperty.getToolHome(ToolLocationNodeProperty.java:108)
at hudson.tools.ToolInstallation.translateFor(ToolInstallation.java:221)
at hudson.model.JDK.forNode(JDK.java:149)
at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:342)
at hudson.model.Run.getEnvironment(Run.java:2431)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:955)
at hudson.maven.AbstractMavenBuild.getEnvironment(AbstractMavenBuild.java:57)
at hudson.maven.MavenModuleSetBuild.getEnvironment(MavenModuleSetBuild.java:168)
at org.jenkinsci.plugins.ghprb.Ghprb.getEnvVars(Ghprb.java:354)
at org.jenkinsci.plugins.ghprb.upstream.GhprbUpstreamStatusListener.returnEnvironmentVars(GhprbUpstreamStatusListener.java:42)
at org.jenkinsci.plugins.ghprb.upstream.GhprbUpstreamStatusListener.onStarted(GhprbUpstreamStatusListener.java:102)
at org.jenkinsci.plugins.ghprb.upstream.GhprbUpstreamStatusListener.onStarted(GhprbUpstreamStatusListener.java:31)
at hudson.model.listeners.RunListener.lambda$fireStarted$2(RunListener.java:230)
at jenkins.util.Listeners.lambda$notify$0(Listeners.java:59)
at jenkins.util.Listeners.notify(Listeners.java:67)
at hudson.model.listeners.RunListener.fireStarted(RunListener.java:228)
at hudson.model.Run.execute(Run.java:1895)
at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
at hudson.model.ResourceController.execute(ResourceController.java:101)
at hudson.model.Executor.run(Executor.java:442)
java.io.FileNotFoundException: /jenkins_data/jenkins_home/caches/adoptopenjdk/LINUX/amd64/jdk8u345-b01.zip (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.(FileInputStream.java:157)
at java.base/java.io.FileInputStream.(FileInputStream.java:112)
at java.base/sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:86)
at java.base/sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:184)
at java.base/java.net.URL.openStream(URL.java:1165)
at hudson.FilePath$Unpack.invoke(FilePath.java:1082)
at hudson.FilePath$Unpack.invoke(FilePath.java:1074)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:3502)
at hudson.remoting.UserRequest.perform(UserRequest.java:211)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:377)
at hudson.remoting.InterceptingExecutorService.lambda$wrap$0(InterceptingExecutorService.java:78)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
atjava.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
atjava.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:125)
at java.base/java.lang.Thread.run(Thread.java:829)
I tried rerunning build , not sure why it is appearing
When trying to upload my iOS app to the app store I see this error with iTMSTransporter. This occurs when using xcrun altool or fastlane pilot builds :
2022-04-22T01:20:31.9952870Z An exception has occurred: null
2022-04-22T01:20:32.0055430Z [0m 2022-04-22T01:20:32.1260390Z
[01:20:32]: [33m[iTMSTransporter] at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method) 2022-04-22T01:20:32.1360210Z [0m 2022-04-22T01:20:32.1463160Z
[01:20:32]: [33m[iTMSTransporter] at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source) 2022-04-22T01:20:32.1563930Z [0m 2022-04-22T01:20:32.1596110Z
[01:20:32]: [33m[iTMSTransporter] at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source) 2022-04-22T01:20:32.1660320Z [0m 2022-04-22T01:20:32.1725320Z
[01:20:32]: [33m[iTMSTransporter] at
java.base/java.lang.reflect.Method.invoke(Unknown Source)
2022-04-22T01:20:32.1770950Z [0m 2022-04-22T01:20:32.1804250Z
[01:20:32]: [33m[iTMSTransporter] at
com.apple.transporter.launcher.Application.start(Application.java:450)
2022-04-22T01:20:32.1840080Z [0m 2022-04-22T01:20:32.1884420Z
[01:20:32]: [33m[iTMSTransporter] at
com.apple.transporter.launcher.Application.main(Application.java:947)
2022-04-22T01:20:32.1987130Z [0m 2022-04-22T01:20:32.2087410Z
[01:20:32]: [33m[iTMSTransporter] 2022-04-22T01:20:32.2189840Z [0m
2022-04-22T01:20:32.2290160Z [01:20:32]: [33m[iTMSTransporter]
2022-04-22T01:20:32.2392840Z [0m 2022-04-22T01:20:32.2494790Z
[01:20:32]: [33m[iTMSTransporter] 2022-04-22T01:20:32.2597270Z [0m
2022-04-22T01:20:32.2699930Z [01:20:32]: [33m[iTMSTransporter]
2022-04-22T01:20:32.2802450Z [0m 2022-04-22T01:20:32.2903000Z
[01:20:32]: [33m[iTMSTransporter] Error Summary
2022-04-22T01:20:32.3004120Z [0m 2022-04-22T01:20:32.3105710Z
[01:20:32]: [33m[iTMSTransporter] 2022-04-22T01:20:32.3158440Z [0m
2022-04-22T01:20:32.3209430Z [01:20:32]: [33m[iTMSTransporter]
iTMSTransporter could not generate an itmsp: null
2022-04-22T01:20:32.3259380Z [0m 2022-04-22T01:20:32.3361780Z
[01:20:32]: [33m[iTMSTransporter] An exception has occurred: null
2022-04-22T01:20:32.3461800Z [0m 2022-04-22T01:20:32.3552070Z
[01:20:32]: [33m[iTMSTransporter] [2022-04-22 01:20:31 UTC]
DBG-X: Returning 1 2022-04-22T01:20:32.3611160Z [0m
2022-04-22T01:20:32.3668780Z [01:20:32]: iTunes Transporter output
above ^ 2022-04-22T01:20:32.3705330Z [01:20:32]: [31miTMSTransporter
could not generate an itmsp: null
Although the above error is pretty ambiguous it could be a result of the actuall .ipa not being validate. This should be the first thing that is tried before diagnosing certificates etc. Use the following commands to validate your app:
xcrun altool --validate-app -f [ipaname].ipa --type ios -u appstore-username -p appspecific-password
or with app store connect api key
xcrun altool --validate-app -t ios --apiKey unique-api-key --apiIssuer api-key-issuer -f ipname.ipa
Example error output
2022-04-26 09:09:22.285 *** Error: The Info.plist in the package must contain the CFBundleVersion key. Unable to validate your application. (-27001) {
NSLocalizedDescription = "The Info.plist in the package must contain the CFBundleVersion key.";
NSLocalizedFailureReason = "Unable to validate your application."; }
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 3 years ago.
Improve this question
I use Fastlane to push a build to the App Store. I released the app almost 8 times using this. But this I updated my Xcode10.1 to Xcode11. Somehow I was facing some issue to building. So I rollback to Xcode10.1. Now when I ran my scripts its build successfully but failed with below error.
Successfully uploaded set of metadata to App Store Connect
Successfully uploaded screenshots to App Store Connect Uploading
binary to App Store Connect [14:51:03]: Going to upload updated app to
App Store Connect [14:51:03]: This might take a few minutes. Please
don't interrupt the script.
then after this:
[Transporter Error Output]: Could not start delivery: all transports
failed diagnostics [14:56:09]: Transporter transfer failed.
[14:56:09]: [14:56:09]: Could not start delivery: all transports
failed diagnostics [14:56:09]: [iTMSTransporter] at
com.signiant.interactivetransfer.engine.TransferEngine.access$1200(TransferEngine.java:149)
[14:56:09]: [iTMSTransporter] at
com.signiant.interactivetransfer.engine.TransferEngine$8.run(TransferEngine.java:4060)
[14:56:09]: [iTMSTransporter]
[14:56:09]: [iTMSTransporter] [2019-10-09 14:56:09 IST] DEBUG: Received failed transfer notification; aborting
[14:56:09]: [iTMSTransporter] [2019-10-09 14:56:09 IST] INFO: The Signiant transfer engine's status is DISCONNECTED
[14:56:09]: [iTMSTransporter] [2019-10-09 14:56:09 IST] ERROR:
Could not start delivery: all transports failed diagnostics
[14:56:09]: [iTMSTransporter]
[14:56:09]: [iTMSTransporter]
[14:56:09]: [iTMSTransporter]
[14:56:09]: [iTMSTransporter] Package Summary:
[14:56:09]: [iTMSTransporter]
[14:56:09]: [iTMSTransporter] 1 package(s) were not uploaded because
they had problems:
[14:56:09]: [iTMSTransporter] /tmp/1179206989.itmsp - Error Messages:
[14:56:09]: [iTMSTransporter] Could not start delivery: all
transports failed diagnostics
[14:56:09]: [iTMSTransporter] [2019-10-09 14:56:09 IST] DBG-X:
Returning 1
[14:56:09]: iTunes Transporter output above ^ [14:56:09]: Could not
start delivery: all transports failed diagnostics Return status of
iTunes Transporter was 1: Could not start delivery: all transports
failed diagnostics The call to the iTMSTransporter completed with a
non-zero exit status: 1. This indicates a failure.
I had the same issue on XCode 11. After some retries of archiving and uploading, it has been working for me as expected till now.
As it was some server related issue. re-ran the scripts for release twice and it worked.
iTunes Transporter successfully finished its job
"C:\Program Files\Java\jdk1.8.0_102\bin\java" -XX:+TieredCompilation -XX:TieredStopAtLevel=1 -XX:CICompilerCount=3 -Djline.WindowsTerminal.directConsole=false -classpath E:\Users\viswanadha-k\AppData\Local\Temp\classpath.jar -Dfile.encoding=UTF-8 org.grails.cli.GrailsCli run-app
|Running application...
ERROR org.springframework.boot.SpringApplication - Application startup failed
java.lang.NoSuchMethodError: org.springframework.web.context.support.ServletContextAwareProcessor: method ()V not found
at org.springframework.boot.context.embedded.WebApplicationContextServletContextAwareProcessor.(WebApplicationContextServletContextAwareProcessor.java:40)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.postProcessBeanFactory(EmbeddedWebApplicationContext.java:110)
at org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext.postProcessBeanFactory(AnnotationConfigEmbeddedWebApplicationContext.java:181)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:517)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:760)
at org.springframework.boot.SpringApplication.createAndRefreshContext(SpringApplication.java:360)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:306)
at grails.boot.GrailsApp.run(GrailsApp.groovy:55)
at grails.boot.GrailsApp.run(GrailsApp.groovy:374)
at grails.boot.GrailsApp.run(GrailsApp.groovy:363)
at grails.boot.GrailsApp$run.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
at merck.serono.sasp.epc.ecko.Application.main(Application.groovy:9)
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':merck-serono-sasp-epc-ecko:bootRun'.
Process 'command 'C:\Program Files\Java\jdk1.8.0_102\bin\java.exe'' finished with non-zero exit value 1
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
Error |
Failed to start server (Use --stacktrace to see the full trace)
Process finished with exit code 1
Please any one provide the sollution
I add Spring Security to Grails 3.0.9 and use Spring Security.
compile 'org.grails.plugins:spring-security-core:3.0.0.M1'
compile 'org.springframework.security:spring-security-core:3.2.9.RELEASE'
compile 'org.springframework.security:spring-security-web:3.2.9.RELEASE'
And I run application and I have this errors:
ERROR org.springframework.boot.context.embedded.tomcat.TomcatStarter - Error starting Tomcat context: org.springframework.beans.factory.BeanCreationException
ERROR grails.boot.GrailsApp - Application startup failed
org.springframework.context.ApplicationContextException: Unable to start embedded container; nested exception is org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.onRefresh(EmbeddedWebApplicationContext.java:133) ~[spring-boot-1.2.6.RELEASE.jar:1.2.6.RELEASE]
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:474) ~[spring-context-4.1.7.RELEASE.jar:4.1.7.RELEASE]
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:118) ~[spring-boot-1.2.6.RELEASE.jar:1.2.6.RELEASE]
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:687) ~[spring-boot-1.2.6.RELEASE.jar:1.2.6.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:321) ~[spring-boot-1.2.6.RELEASE.jar:1.2.6.RELEASE]
at grails.boot.GrailsApp.run(GrailsApp.groovy:52) [grails-core-3.0.9.jar:3.0.9]
at grails.boot.GrailsApp.run(GrailsApp.groovy:330) [grails-core-3.0.9.jar:3.0.9]
at grails.boot.GrailsApp.run(GrailsApp.groovy:319) [grails-core-3.0.9.jar:3.0.9]
at grails.boot.GrailsApp$run.call(Unknown Source) [grails-core-3.0.9.jar:3.0.9]
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) [groovy-2.4.5.jar:2.4.5]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) [groovy-2.4.5.jar:2.4.5]
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133) [groovy-2.4.5.jar:2.4.5]
at up2you2.Application.main(Application.groovy:8) [main/:na]
Caused by: org.springframework.boot.context.embedded.EmbeddedServletContainerException: Unable to start embedded Tomcat
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.initialize(TomcatEmbeddedServletContainer.java:98) ~[spring-boot-1.2.6.RELEASE.jar:1.2.6.RELEASE]
at org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer.<init>(TomcatEmbeddedServletContainer.java:75) ~[spring-boot-1.2.6.RELEASE.jar:1.2.6.RELEASE]
(...)
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':bootRun'.
> Process 'command 'C:\Program Files\Java\jdk1.8.0_45\bin\java.exe'' finished with non-zero exit value 1
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
When I deactive Spring Security this is project run.
Please help me.
Adibak