Closed idoodler closed 4 years ago
I just figured out why it is crashing. It was crashing on iPhones, not iOS 14 devices.
Under the Projects iOS target in Deployment Info the property Main Interface
was set to 'MainViewController'. It looks like as if it should be set to nothing!
If there is something in cordova-ios
codebase that requires a change to support iOS 14, then I think this issue can remain open, so that we can keep track of what we may need to do to support iOS 14.
I have been using iOS 14 since the first beta and did not find any Cordova related bug yet.
As mentioned previously this was an issue of my Xcode project, not of iOS 14.
Hi! I'm currently facing the same issue (same platforms and dependencies versions too), could you please detail how you solved it?
Thanks!
Under the Projects iOS target in Deployment Info the property Main Interface was set to 'MainViewController'. It looks like as if it should be set to nothing!
@breautek , thanks! I'd seen your answer, but I can't see the "Main interface" property. Attaching what I'm seeing:
Bug Report
Problem
I am just upgrading our Cordova based app to the latest available Cordova version. When building the app with Xcode 12 (beta 1 and beta 2) the App crashes immediately after launch via Xcode with the following exception:
iOS 13 works like a charm
What is expected to happen?
No Crash
What does actually happen?
App crashes immediately after launch
Information
AFAIK this indicates an issue with the outlet connectors (IBOutlet) of the ViewController. I checked the
view
outlet in theMainViewController.xib
File's Owner
and everything looks as usualI completely removed and re-added the iOS platform to upgrade cordova, so no files are left from the previous version.
Command or Code
None
Environment, Platform, Device
iOS 14 Beta 1 and 2 Xcode 12 Beta 1 and 2 iPhone 11 Pro
Version information
Cordova CLI: 9.0.0 (cordova-lib@9.0.1) Cordova Platform iOS: 5.1.1 Xcode: 12 (Beta 1 and Beta 2) OS: MacOS: 10.15.5 (19F101)
Checklist