Inconsistent LaunchScreen behavior

I’ve been working to get our app compatible with iOS 11 / Xcode 9 / iPhone X.  I’ve done the new icon set up and I switched from the old LaunchScreen.nib to the LaunchScreen.storyboardc method as described in the development guides.  I’m running into two issues.

  1.  The launch screen works with one version of our app (IAP), but with our paid version, it doesn’t.  Through trial and error, I’ve discovered that setting up the paid app normally, and ONLY changing the provisioning profile to that of the IAP version, the launch screen will work!  I am completely out of ideas as to why the launch screen would behave this way.  Any ideas?

  2.  The launch screen doesn’t show up in the simulator regardless of app build.

Thanks for any help resolving this issue.

I’m using the latest build Corona 2017.3163 and Xcode 9.0.

The launch screen won’t show in the Corona Simulator, but it should show briefly in the Xcode Simulator.  

Do your apps share an app name? Bundle ID or any other identifier? iOS is very aggressive in its caching and it’s easy if they share the same app name to get the OS confused.

Rob

The app name and bundle id are all distinct.

So, I confirmed that the launch screen shows up in the Xcode simulator, but that same build didn’t show the launch screen on my device.  Then I suspected it might be an iOS version thing since my device is an older iPhone 5 which only supports iOS 10.3.3.  I installed the same app on an iPhone 6 with iOS 11.01 and lo and behold the launch screen shows up.

The question is now why is this messing up for iOS 10.3.3 with this provisioning profile?  If I switch to my IAP provisioning profile the launch screen still works…  So confusing…

Ok, scratch the provisioning profile business.  Today for some reason the launch screen isn’t working on either provisioning profile regardless of build on iOS 10.3.3.  Not sure what changed from yesterday.  Launch screen works on iOS 11.  

Are you using a LaunchScreen.storyboardc file that you made or are you using one copied from our “New Project” template? 

I used the one from the Git repository and also tried the one in the zip file that was linked in the developer guide.

I just installed a test flight app on 10.3.3 last night and the launch screen is working as expected even though I built with Xcode 9, but I didn’t hand compile the storyboard. I copied it from a Xcode 8 compiled storyboard.

Rob

Well, I don’t know if you guys updated the build server or the magic faeries decided to sprinkle some dust on my computer last night, but today the splash screen works on both of my devices…  I’ll take it I guess, but the engineer in me is totally confused.  Consider this closed.

I’ll go with magic fairies.  We did make build server changes yesterday, but it was adding Xcode 9.1 support.

Rob

The launch screen won’t show in the Corona Simulator, but it should show briefly in the Xcode Simulator.  

Do your apps share an app name? Bundle ID or any other identifier? iOS is very aggressive in its caching and it’s easy if they share the same app name to get the OS confused.

Rob

The app name and bundle id are all distinct.

So, I confirmed that the launch screen shows up in the Xcode simulator, but that same build didn’t show the launch screen on my device.  Then I suspected it might be an iOS version thing since my device is an older iPhone 5 which only supports iOS 10.3.3.  I installed the same app on an iPhone 6 with iOS 11.01 and lo and behold the launch screen shows up.

The question is now why is this messing up for iOS 10.3.3 with this provisioning profile?  If I switch to my IAP provisioning profile the launch screen still works…  So confusing…

Ok, scratch the provisioning profile business.  Today for some reason the launch screen isn’t working on either provisioning profile regardless of build on iOS 10.3.3.  Not sure what changed from yesterday.  Launch screen works on iOS 11.  

Are you using a LaunchScreen.storyboardc file that you made or are you using one copied from our “New Project” template? 

I used the one from the Git repository and also tried the one in the zip file that was linked in the developer guide.

I just installed a test flight app on 10.3.3 last night and the launch screen is working as expected even though I built with Xcode 9, but I didn’t hand compile the storyboard. I copied it from a Xcode 8 compiled storyboard.

Rob

Well, I don’t know if you guys updated the build server or the magic faeries decided to sprinkle some dust on my computer last night, but today the splash screen works on both of my devices…  I’ll take it I guess, but the engineer in me is totally confused.  Consider this closed.

I’ll go with magic fairies.  We did make build server changes yesterday, but it was adding Xcode 9.1 support.

Rob