Failed to bundle iOS application

  1. Same issue on Defold 1.3.2
  2. The editor log does not show any issues
  3. Project path contains spaces but no strange characters
  4. You can bundle to other platforms without problems

So it successfully bundles the project sometimes? Any pattern to this behaviour?

The last time iOS successfully bundled is in June 6th GMT+8. After that day, never success.
Screen Shot 2022-06-09 at 5.26.33 PM

Hereā€™s what we know:

Some more things to try:

  • Can you bundle an empty project. No extensions or anything.
  • What if you delete the folders .internal and build from the project? Can you bundle to iOS? Can you still bundle to macOS?
  • Could you please start Defold editor from the terminal again and bundle and check the output

I can iOS bundle for empty project.

Do you mean the empty project or the project has iOS bundle problem.

After deletion, the original project in the post canā€™t bundle to iOS. The log in editor:

'arm64-ios' could not be built. Sdk version: '287c945fab310c324493e08b191ee1b1538ef973'
Log: '<failed reading log>'

There is no problem to bundle to macOS after delete .internal and build folders.

When start Defold from terminal, iOS bundle failed again. Terminal output here:

Downloading 2 archive(s)
 0: Downloading https://github.com/defold/extension-admob/archive/master.zip
 0: Status 200: Stored /Users/***/defold_projects/****/.internal/lib/cefb435ca54ea7223995078b01981364a9ae4170-Ijc5NTVhNzI2OTJjZjVjNzY4NDdkNTk1NzY4N2Y0ZDAxNGQxZDI2NTAwOGIyN2U2M2U3ZmI1NjM5NDM4Njk3NjMi.zip
 1: Downloading https://github.com/defold/extension-review/archive/master.zip
 1: Status 200: Stored /Users/***/defold_projects/****/.internal/lib/90b19dd96a8c07b2dcf96f73a0b196113e86a0ad-IjI0OTMwYzYzNDZkNzhjODlmM2FjNGFmMDRlYTZlMjY0MGM2YjZmY2Y3OWQ1NTAzNzE1M2NkZjcxOGEyYzUyMzgi.zip
Build Remote Engine...
ERROR: unspecified:-1: 'com.dynamo.bob.CompileExceptionError: 'arm64-ios' could not be built. Sdk version: '287c945fab310c324493e08b191ee1b1538ef973'
Log: '<failed reading log>''

Could you please zip the project and share it here (remove .git, .internal and build folder)?

Probably not. I will publish this project commercially. I should keep the code in private.

Sure, I understand, but if you create an empty project and add extension-admob you get the same issue?

I got no issue using extension-admob in empty project, but no admob code in the project.

I found something interesting happened in my project. The project finally bundle iOS successfully, however both extension admob and extension review were all not signed in the final output. It does generate the ipa file successfully, but this time it will never download the extension online, after successfully generate ipa file, the output in terminal shows: No ./Framework folder to sign. In the project structure in editor, I canā€™t see extension admob folder and extension review folder. The code about admob and review tips were also disappeared.

Ok, so thatā€™s good!

What do you mean by this?

Did you do Project->Fetch Libraries?

I just tried to fetch libraries, once contain extension-admob library, the iOS bundle will fail. if the project only fetch extension-review library, the iOS bundle success.

java.security.PrivilegedActionException: Unknown javax.net.ssl.SSLProtocolException: Read timed out java.net.SocketTimeoutException: Read timed out java.io.EOFException: Unexpected end of ZLIB input stream

The java.io.EOFException: Unexpected end of ZLIB input stream error prompt again and agian in editor.

I just got these error prompt when try to bundle iOS application again. I canā€™t report to defold github issues from this link: https://github.com/defold/defold/issues/new?title=&labels=new&body=%3C%21ā€“+NOTE%21+The+information+you+specify+will+be+publicly+accessible.Ā±-%3E%0A%23%23%23+Expected+behaviour%0A%0A%23%23%23+Actual+behaviour%0A%0A%23%23%23+Steps+to+reproduce%0A%0A%3Chr%2F%3E%0A%0A%3Ctable%3E%0A%3Ctr%3E%3Ctd%3EBuild+time%3C%2Ftd%3E%3Ctd%3E2022-05-23T17%3A41%3A12.326947%3C%2Ftd%3E%3C%2Ftr%3E%0A%3Ctr%3E%3Ctd%3EDefold+channel%3C%2Ftd%3E%3Ctd%3Eeditor-alpha%3C%2Ftd%3E%3C%2Ftr%3E%0A%3Ctr%3E%3Ctd%3EDefold+editor+sha%3C%2Ftd%3E%3Ctd%3E766a51fe39df047a249d3efc48ae10f052ca51b7%3C%2Ftd%3E%3C%2Ftr%3E%0A%3Ctr%3E%3Ctd%3EDefold+engine+sha%3C%2Ftd%3E%3Ctd%3E287c945fab310c324493e08b191ee1b1538ef973%3C%2Ftd%3E%3C%2Ftr%3E%0A%3Ctr%3E%3Ctd%3EDefold+version%3C%2Ftd%3E%3Ctd%3E1.3.2%3C%2Ftd%3E%3C%2Ftr%3E%0A%3Ctr%3E%3Ctd%3EGPU%3C%2Ftd%3E%3Ctd%3EIntel%28R%29+Iris%28TM%29+Graphics+6100%3C%2Ftd%3E%3C%2Ftr%3E%0A%3Ctr%3E%3Ctd%3EGPU+Driver%3C%2Ftd%3E%3Ctd%3E2.1+INTEL-18.3.5%3C%2Ftd%3E%3C%2Ftr%3E%0A%3Ctr%3E%3Ctd%3EJava+version%3C%2Ftd%3E%3Ctd%3E11.0.1%2B13%3C%2Ftd%3E%3C%2Ftr%3E%0A%3Ctr%3E%3Ctd%3EOS+arch%3C%2Ftd%3E%3Ctd%3Ex86_64%3C%2Ftd%3E%3C%2Ftr%3E%0A%3Ctr%3E%3Ctd%3EOS+name%3C%2Ftd%3E%3Ctd%3EMac+OS+X%3C%2Ftd%3E%3C%2Ftr%3E%0A%3Ctr%3E%3Ctd%3EOS+version%3C%2Ftd%3E%3Ctd%3E10.16%3C%2Ftd%3E%3C%2Ftr%3E%0A%3Ctable%3E, it says error: 500

Ok, that SSLException will be fixed in a release tomorrow. Letā€™s wait and see if that helps.