Corona SDK and iOS 8 Issues

Apple has to keep somethings secret, so no one could look at the pre-release Xcode and figure out what the new iPhones were going to be.  Apple doesn’t let anyone know that in advance.

You can build against the iOS 8 today and submit your apps today with daily builds.  We made the iOS 8 betas open earlier than we have in past beta releases.  The problem with early beta’s is you can’t tell if its a Corona bug or an Apple bug.  Sure some of these things were documented early, but until we get a more stable build, i.e. the GM seed, it’s much more engineering intense to work on things that are likely to change before the GM seed.

If you don’t need something impacted by the bugs in the blog post (which even more were fixed today and should show up soon), then you can submit today. If you want @3x assets, just add it to your config.lua.  Though franklyl the iPhone 6 should use the same assets as the @2x devices since it’s basically the same resolution as the iPads.  The @4x graphics you would use for an iPad retina device are not that much bigger than the iPhone 6 plus screen, so you really don’t need the @3x graphics.

What issues are you having Kyle?  Why can’t you build against iOS 8 today?

Rob

I get that certain things are buggy during beta, but changes to push notifications, contacts and location data access were documented from the start.

The iPhone 6 and 6 plus are scaling up apps as if they were built for the iPhone 5 until you build against them specifically, providing the special launch image sizes. This is regardless of how adaptive our Corona apps may already be. In other words, every Corona app today is being rendered at 640x1136 and then blown up to 750x1334 or even 1080x1920. Further, the oversized status bars and keyboards are used instead.

Building against iOS 8 alone is not enough to fix this anyways, but personally I can’t today because push notifications aren’t supported.

I should clarify the “concerning” part to me, is more the attitude of the blog post that kind of suggests all this stuff just “happened” on iPhone 6 launch day without any prior notice, or that it was all up to Apple.

Hi.

There is an issue when I recorded 2 times at the sampleCode:SimpleAudioRecorder.

<Error>: mediaserverd(524,0x1001b8000) malloc: *** mach_vm_map(size=68719493120) failed (error code=3)

I used iPad mini Retina(iOS8) and build with xcode6 and corona 2393a and 2445 (I tried both)

@developer21, please file a bug report with this.  It will need to be the minimal code that reproduces the problem.  It must have a config.lua and a build.settings file and be compressed into a .zip file (no other compression).  Use the Report a bug feature at the top of the page and provide as much information as possible.  Make sure to get iOS 8 into the title somewhere.

Thanks

Rob

In one of my landscape apps, I use the camera and noticed the app crashing now that I have updated my phone to iOS8. There’s a funny workaround for this issue for iOS6 and 7, CoronaUseIOS7LandscapeOnlyWorkaround =  true. Will we have to add CoronaUseIOS8LandscapeOnlyWorkaround?

thanks,

Jen

Jen can you file a bug report please?

Thanks

Rob

The iOS8 recording bug is confirmed and sent to Engineering.

I tried modifying our Camera sample for landscape and don’t see any problems on iOS 8 devices. We need a bug report with test project and details on how to reproduce the bug.

The “work-arounds” are no longer needed (or supported) for orientation issues. Our code automatically handles the orientation of the view controllers.

I did similar testing, I think we’re ok on the landscape and camera issue. That’s good news! Now I’m trying to see adMob ads…

thanks,

Jen

Just filed a bug report - landscape adMod ads refuse to show for iOS8. Isn’t that nice? :( 

HI,

I have two questions. Please clearly clarify for me.

1.Can Corona Starter Version work with Xcode6 Simulator?

2.Can Corona Starter version work with Admob advertising?

Thanks

@jen.looper

Are you talking about Admob banners or interstitials?

I developed my own Admob plugin and its showing Admob interstitials in landscape just fine on iOS 8. I don’t use Admob banners so I haven’t implemented them in my plugin (yet).

Jen can you post the bug ID # that was emailed to you here in the thread as a reference?

@nipon.ph The current version of Corona SDK’s public build should work with Xcode 6, however the Xcode simulator might not launch correctly.  That has been fixed in a daily build open to Pro and Enterprise subscribers.  As far as AdMob goes, Starter accounts can use AdMob.

Hey…

I’m using the most recent daily builds and although I get the notification popup to access location data, the app fails to find my location; my app was rejected over this, huge waste of time.

Did you test it on a device before submitting it?

Can you try and build our sample app for locations and test it on a device and see if you’re having the same issue?

If you feel there is a bug, engineering will need to see a sample project that has the issue.  It will need to have a config.lua and build.settings that you are using.  It will need any assets necessary to run.  Compress all of that into a .zip file and then file a bug report.

Thanks

Rob

I made the unfortunate assumption everything would work using iOS 7.1, but it broke on iOS 8 regardless. I now have secured a test device that can run iOS 8+.

Now Working

I moved the hidden native.mapView on screen and it started working; found my location without a hitch. Any idea?

I also got the device log from previous builds and the console read:

“location icon should be set to active”

then a couple seconds later (before successfully returning any location data, with map functionality still running)

“location icon should be set to inactive”

Thank you,

Aidan Wolf

Depending on the device you’re testing on it may or may not be able to find the GPS satellites.  It can take a few minutes for them to sync up or in some buildings you can’t get the GPS going at all.   The native.newMapView() is dependent on the GPS’s ability to determine where you are.

So I did some more testing on iPhone 4 (7.1.2), iPhone 5s (8.0), and iPhone 6 (8.1), and the gps finding location was dependent on if the mapView was visible on screen. Off screen it could not find location, on screen it took under 2 seconds.

Hello,

We have two new issue with iOS8.1

It seems that using Native Map generate Memory Warning on iOS 8 with daily v2014.2490

The second one is that :setLabel() function for widget’s button doesn’t work with v2014.2490

Can you fix that as soon as possible please?

The map is totaly unusable.

Hey GBF,

I’m using v.2014.2468 for iOS 8, I did not receive a memory warning while testing, though I might have missed it? I just submitted my app for review again, hopefully there’s not a hiccup. You might want to move back to an earlier daily build and use iOS 8.

I think Corona Labs is up to its eyeballs in new fixes and honestly the manner in which they are dealing with it comes across as unprofessional.

Luckily my issues with Corona and iOS 8 did not come at a financial cost, but they definitely wasted 2 weeks of my time and 2 weeks of my Pro license. What would have made sense to me is the Corona staff going through absolutely every API to check what works and what doesn’t, release that list on their blog, and check it off as the engineers make fixes. Simply waiting for the storm of bug reports or leaving devs to scourer the forums for the slightest bit of info isn’t right. Kind of feels like Compatibility v1.0 all over again, almost like they’re focusing on big ideas rather than bugs like before (Corona Cards?) This rant comes from the heart CL.

thank you,

Aidan Wolf