defold / editor2-issues

DEPRECATED
44 stars 4 forks source link

Impossible to sign iOS app [DEFEDIT-895] #689

Closed albertopiantanida closed 7 years ago

albertopiantanida commented 7 years ago

Expected behaviour

Actual behaviour

Steps to reproduce


Defold version1.2.102
Defold shaeb6c764ede93df308853ccbf12496487e3683f0e
Build time2017-04-13T16:23:46.350160
OS nameMac OS X
OS version10.12.4
OS archx86_64
Java version1.8.0_102-b14
Errordc1893444caf448190b77dcc037d1d3c
albertopiantanida commented 7 years ago

I tried to sign my iOS app but after have created the app ID and generated the iOS certificate and the provisioning profile, when I try to sign my app with those data I receive the error described here

erikangelin-king commented 7 years ago

Hi! It looks like you're not logged in to the defold server, and we apparently don't check that before attempting to sign. As a workaround while we solve the actual problem, you could try to provoke a login by synchronizing your project or restarting and clicking import project.

matgis-king commented 7 years ago

After investigating further it appears you are indeed logged in, but somehow are not authorized to upload a signed ipa to the dashboard. I'm having trouble figuring out how this could happen. Could you locate an editor2.*.log file for a session that exhibits this problem under ~/Library/Application Support/Defold and send it to me on the Defold forums? I'm mats.gisselson. If you could send me a direct message with a log file it would help a lot!

matgis-king commented 7 years ago

Thanks for the log! It looks like your project uses Native Extensions? We found several issues that prevented iOS app signing from working in projects using Native Extensions. A fix is coming for these.

albertopiantanida commented 7 years ago

Yes, I'm working in a personal project with Native Extension to participate to the Kingfomarket contest. I hope you could have a fix soon. Thank you very much.

matgis-king commented 7 years ago

We've just merged a fix that should hopefully solve your problem. You should see an update to the editor within an hour or so. Please let us know if you have any more issues!

albertopiantanida commented 7 years ago

After updating the editor and trying to bundle the iOS Application, I still have the same error... com.dynamo.bob.MultipleCompileExceptionError: Build error com.defold.extender.client.ExtenderClientException: Failed to build source.

albertopiantanida commented 7 years ago

Maybe this could help...

Expected behaviour

Actual behaviour

Steps to reproduce


Defold version1.2.103
Defold sha24e0f53794f5efbae846052b78250ac160f9f8d1
Build time2017-04-21T14:08:33.218528
OS nameMac OS X
OS version10.12.4
OS archx86_64
Java version1.8.0_102-b14
Errorfdb547bbf3f74200bfe1bdf4fc9e6dc6
matgis-king commented 7 years ago

Yes, using this we were able to track down the error report from the Native Extension build servers. It seems your extension uses the new Speech framework from iOS 10.0. Sadly, our build servers are still on the iOS 9.0 SDK. We have it on our roadmap to update to 10.0, but some work still remains before that can happen.

But all is not lost! I'm told that you can bundle frameworks with your project. Simply create a lib folder below your extension and an ios folder below the lib folder. Then copy the Speech.framework from the iOS 10.0 SDK into your extension/lib/ios folder. You can then remove "Speech" from the frameworks listed in the ext.manifest file. After that the build servers will use Speech.framework from the extension/lib/ios folder, and you should hopefully be able to build your project.

speech-framework

In the meantime I'll try to ensure we extract as much information as possible from the errors we get from the servers. The error message should have mentioned the Speech framework to give you some hint about what could have gone wrong. Since Native Extensions is kind of new, we're still working out the kinks. Sorry about that.

albertopiantanida commented 7 years ago

I'm sorry but, even after creating the folder that you suggested and putting there the Speech.framework, I still have the same problem generating the bundle. This is the error that I have:

Expected behaviour

Actual behaviour

Steps to reproduce


Defold version1.2.103
Defold sha24e0f53794f5efbae846052b78250ac160f9f8d1
Build time2017-04-21T14:08:33.218528
OS nameMac OS X
OS version10.12.4
OS archx86_64
Java version1.8.0_102-b14
Errorc8e132ee46774a2192d7faaa4b54ff2e
matgis-king commented 7 years ago

Sadly, there is not much information to be gained from that error report. I've reached out to you on internal channels to ask if you're comfortable sharing your project with us so we can help shepherd it through the build process. In the process we hope to learn about the various pitfalls that can occur and ensure we show helpful build errors.

matgis-king commented 7 years ago

You should now have much better error reporting from Native Extension builds. Please let us know if you have further issues!