[AC-5853] iOS: App freezes on splash screen in adhoc build.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Not Our Bug |
Resolution Date | 2018-11-16T13:58:21.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Sharif AbuDarda |
Assignee | Shak Hossain |
Created | 2018-08-21T18:46:03.000+0000 |
Updated | 2018-11-16T13:58:21.000+0000 |
Description
Hello, I have an app, which is when building normally for simulator or device it works fine. The app launch in the simulator and device. The issue is when I do an adhoc build. After the package is generated, I install the app to my device through Xcode (My device is listed in the provisioning profile) and tried to launch the app, the app opens and freezes on the splash screen in the device. Similar issue also sent through testflight. Any idea why?
Attachments
File | Date | Size |
---|---|---|
Console log 8-23.rtf | 2018-08-23T18:07:22.000+0000 | 18776 |
Crash log 10-31 (1).rtf | 2018-11-07T16:57:56.000+0000 | 24010 |
Crash log 8-23.png | 2018-08-23T18:07:11.000+0000 | 105430 |
Dashboard Symbols.app.dSYM.zip | 2018-11-14T16:40:51.000+0000 | 4505715 |
Dashboard Symbols.ipa | 2018-11-15T15:21:14.000+0000 | 7414569 |
Dashboard Symbols.ipa | 2018-11-14T20:33:52.000+0000 | 7497754 |
Dashboard Symbols.ipa | 2018-11-14T19:36:13.000+0000 | 7440119 |
Dashboard Symbols.ipa.zip | 2018-11-09T02:02:34.000+0000 | 7373942 |
Screen Shot 2018-11-06 at 9.53.41 PM.png | 2018-11-08T16:56:58.000+0000 | 40850 |
Screen Shot 2018-11-06 at 9.54.14 PM.png | 2018-11-08T16:57:04.000+0000 | 19894 |
Screen Shot 2018-11-15 at 9.56.43 AM.png | 2018-11-15T15:03:51.000+0000 | 12838 |
Screen Shot 2018-11-15 at 9.58.08 AM.png | 2018-11-15T15:03:59.000+0000 | 19955 |
Missing environment (SDK version, CLI version, iOS version, Xcode version), missing logs, missing crash report. Resolving as
Invalid
for now.Hello [~hknoechel], can you please update on this? Anything else needed?
We still need more input to investigate this. On what device is this happening? iOS version? Logs from the device? Crash reports? If the freeze happens on iOS 12, have they tested with the build posted to TIMOB-26391? Anything that could give us a clue, really.
This problem persists (at least 6 months now). It was last tested on an iPhone, 12.0.1, with the same freeze found with the adhoc build. It DID NOT register a log! Please see the images (empty log AND the phone's info) just added and please HELP! Using the latest updates.
[~mfavreau], can you provide the IPA so we can test this? Without any logs or crash report it's hard to understand what might be going on in your app.
Of course. Can it be posted here??
Hello [~mfavreau], You can privately send email to Jan if you think that's more secure. Thanks.
Sent compressed via mac@dashboardsymbols.com. And now I see how I could have attached it here, so I did... [^Dashboard Symbols.ipa.zip]
Is anything happening??
[~mfavreau], we can't install the IPA because our devices are obviously not registered for your ad-hoc distribution. Do you have an app store targeted IPA you can share or can you provide the project? What third-party frameworks or modules are you using?
I should have guessed. I now have two avenues. I am NOT sure I can grab an IPA built for distribution, but I will do a build and try. Otherwise, it would be simple to register a device.PLEASE don't take a week to respond...
Ok, I've got a new build but no idea how to snag the new ipa. Someone pls advise or give me a device uuid.
[~mfavreau], please contact me at jvennemann@axway.com so i can give you my device id. That's probably the easiest way to move forward here.
Ok, this one holds the right profile. Massive pain in the a$$ putting this together. [^Dashboard Symbols.ipa]
[~mfavreau] It looks your problem is related to certificate similar to TIMOB-26448. https://stackoverflow.com/questions/52440492/ios-app-wont-run-on-device-any-more-under-ios-12-unrecoverable-ct-signature-is . https://forums.developer.apple.com/thread/106711 See if this can help you. Thanks!
[~mfavreau], we took another look at your project. So a few things: * Update to the latest SDK. You are using 5.2.0 which is over two years old and has no support for iOS 12. Change the sdk version in your tiapp.xml to this:
<sdk-version>7.4.1.GA</sdk-version>
* Enable main thread by adding this to your tiapp.xml:<property name="run-on-main-thread" type="bool">true</property>
After updating the SDK to 7.4.1.GA and enabling run on main thread i was able to build and run you project on Simulator, Device and as an adhoc-build. Please verify you project settings and also your certificates as mentioned by Vijay above.Ok, so first, thanks for the feedback, and just for fun, Vijay, I thought you were still playing golf... Seriously, I can and will change signing to "Defaults". Actually thought about doing this and didn't for no good reason. But MORE seriously, Jan you have to explain how it is possible that sdk 5.2 is in use. The software has updated itself a dozen times this year alone and 7.4.1 is installed!!! In fact, I cannot choose an sdk below 7.0.1 (I tried a month ago to see if it would help)! Something else is in play causing 5.2 to somehow 'stick'. How and where do I look to address this?? Thank you...
Read my comment again, i specifically explained where you set the SDK version. In your project's
tiapp.xml
within the<sdk-version>
tag. Just because the SDK is installed does not mean it's set in your project. Every project has it's own version constraint so you can easily have multiple projects with different version of our SDK.Sorry Jan, but its not going to be that simple. Please see the two screen shots. !Screen Shot 2018-11-15 at 9.56.43 AM.png|thumbnail! !Screen Shot 2018-11-15 at 9.58.08 AM.png|thumbnail!
You send us a copy of your project which has
<sdk-version>5.2.0.GA</sdk-version>
. Please double check the dropbox link you send me yesterday.I just ran a new version changing signing to Defaults without success, and it freezes on my older iPad (which, as far as I am concerned is VERY important). Ipa attached. [^Dashboard Symbols.ipa]
Sorry, we overran each other. I'll check the drop box copy.
Ok, I'm sorry, not sure how why or what, but I sent an old copy. This link goes to the new one (from this morning...). https://www.dropbox.com/s/l1w9il9e8es725t/Dashboard%20Symbols.zip?dl=0
Its too bad, Thought we were on to something.
[~mfavreau] In alloy.js please replace line
with
as the file under controllers is adMob.js (Capital 'M'). It should fix your problem. And it was giving me error message on screen when I simply run, not adhoc build. I am surprised if you were not getting the error. Please let me know if you face any other issue. Thanks!
Well many thanks. It actually works, and on my old device. And so simple. You won't believe it, but the start of this -- 6+ months ago -- involved a request for help getting admob to deliver ads on the iOS platform... Thank you again.