Cordova Platform IOS 4.4.0 Support?

Quick question:

Currently RPGMakerMV verson 1.5.0 seems to only 'natively' support export/deployment to IOS using Cordova Platform for [email protected]

Are there any plans to update RPGMakerMV so it supports export/deployment to IOS using Cordova Platform for [email protected] which is the current version?

Reason I ask is because with IOS 11 coming out, I know there will eventually come a day when XCode and Apple no longer support or permit IOS Apps to use older versions of Cordova Platform for IOS such as Cordova for [email protected] especially now since so many new versions came out since RPGMakerMV was released.

Since RPGMakerMV 1.5.0 generates code that is only compatible with Cordova Platform for [email protected] this will become a serious problem once Apple drops support for that old version.

Hopefully you can add this to your RPGMakerMV product update schedule to protect your customers, like me, from encountering this problem.

It should be an easy fix – leave support for 4.1.1 in there but add a version selection box on the Deployment screen when users select to deploy their RPGMakerMV game for IOS/Android, and intend to deploy for IOS, allow them to select from a few different Cordova for IOS Platform Versions such as 4.1.1, as well as the newest one such as 4.4.0.

This allows your developers save time by just adding support for the newer versions instead of retooling the current one, since that will continue to work until Apple drops support for it. This type of update plan will allow the RPGMakerMV product development team to then just update the RPGMakerMV code generator so it generates the right code for the right version. Example being when a new version is selected, like 4.4.0, the code generator does not use the deprecated/eliminated code structures that don’t work in Cordova Platform [email protected] and instead use the 4.4.0 compliant ones when that Deployment version is selected.

You should also update your documentation to help people on this.

The current RPGMakerMV documentation shown via the link here https://rmmv.neocities.org/page/01_11_06.html doesn’t explicitly state that when you add the IOS Platform to the RPGMakerMV Cordova project via the command “Cordova iOS platform add”, you are adding the newest version of Cordova iOS platform which as of today is 4.4.0.

RPGMakerMV does not work with version 4.4.0 meaning RPGMakerMV does not generate code that is compatible with version 4.4.0 and thus the RPGMakerMV project errors out and does not compile properly in XCode.

Users instead, must issue the command “Cordova [email protected] platform add”, to get the version that is compatible with RPGMakerMV. The RPGMakerMV documentation makes no mention of this. It should.

Specifically, there are a bunch of coding structures that have been eliminated in Cordova Platform [email protected] but RPGMakerMV uses those eliminated structures in its generated code. That is why I am stuck using the old version of Cordova Platform IOS which is version Cordova Platform [email protected]

What should RPGMakerMV Company Do?

(1) RPGMakerMV developers should add an option to the Deploy to IOS/Android screen allowing RPGMakerMV user to select the version of Cordova Platform IOS they wish to use, such as 4.1.1 or 4.3.x or the current 4.4.0 version and then based on their selection the RPGMakerMV software generates the proper code for that version of Cordova for IOS. This pathway forward with regular updates will protect RPGMakerMV customers from the time when Apple drops support for older versions of Cordova Platform IOS and will help maintain RPGMakerMV’s position as the best RPG Video Game generation tool.

(2) While the above mentioned update is being written, RPGMakerMV should explicitly state that RPGMakerMV is currently compatible with Cordova Platform [email protected] but future update will ensure its compatibility with newer versions of Cordova Platform IOS versions.

(3) Also while that is happening, RPGMakerMV staff should update product documentation to state that you must use “Cordova [email protected]platform add”, instead of “Cordova iOS platform add”, and specify that when RPGMakerMV supports the new versions, you can use “Cordova [email protected] platform add”, as well as other platform versions once support for those versions is added in RPGMakerMV.

The purpose of this post is to raise awareness that eventually Apple will drop support for Cordova Platform IOS 4.1.1 and require use of the newer version, which RPGMakerMV does not yet support.

I hope this can be seen by the relevant people at Degica and RPGMaker so that they can deal with this before it actually becomes a problem that adversely impacts RPGMakerMV users.

If there is anything I can do to help Degica and RPGMakerMV achieve this objective, please ask.
Hi @ACECORP I just wanted you to know we're looking into this! I'd like to ask a few questions later if you have Discord/Skype?
Hi @ACECORP I just wanted you to know we're looking into this! I'd like to ask a few questions later if you have Discord/Skype?
Yea I have skype. If its easier you can also call me direct. I can PM you my toll-free phone number.
Hi there, I currently dealing with this problem and getting "deprecated"marks by Xcode. Any progress or help in this yet? Because I do have a nearly finished game, which can not be exported because of the deprecated Cordova version

Thanks a lot
Phil -- if you can use the older version of cordova, that will keep you running without a snag until the folks at RPG Maker can update things.

When you add cordova, you need to specify the older version otherwise NPM or whatever downloads the cordova version automatically gives you the most update one.

To get out of the current "mess" you are probably in, you have to do the following from the command line of your project folder:

Cordova IOS platform remove

then hit enter and let it remove cordova from the project directory

then execute the following from the command line of your project folder

Cordova [email protected]platform add

That will add the most recent "compatible" version of cordova for RPGMaker MV to the project. You should be all set with that one.

However once you are in Xcode, you may need to accept two different sets of "automatic syntax fixes" that they prompt you about. The auto-accept is fine, I do that all the time and it works without incident. If you are using an older version of Xcode on an old mac it won't prompt you cause it doesn't need to swap the code, but the new versions need to fix the syntax so the old deprecated structures are used with the older version of cordova.

Hi there, I currently dealing with this problem and getting "deprecated"marks by Xcode. Any progress or help in this yet? Because I do have a nearly finished game, which can not be exported because of the deprecated Cordova version

Thanks a lot
Phil... one more thing... if you are using technology that only works in the new Cordova versions... then you are skrewed and have no choice but to wait for RPG Maker to update the Cordova versions they support in the product.

Or you can remove the stuff that requires the new cordova so you can use the older 4.1.1
Phil... one more thing... if you are using technology that only works in the new Cordova versions... then you are skrewed and have no choice but to wait for RPG Maker to update the Cordova versions they support in the product.

Or you can remove the stuff that requires the new cordova so you can use the older 4.1.1
actually I discovered that apple simply doesn't´t care about the code is "deprecated". Xcode marks them, but if you upload the .ipa files to the app store for apple test flight it just works fine. hopefully for now
Eventually that depricated code won't be supported and Xcode won't let you move forward... eventually. That's what my post is about. Also deprecated code can cause performance and resource issues, so I personally try to stay away from using it and prefer to keep it matched with the version of Cordova that fully supports it without classifying it as deprecated. That's just me though. I've seen updates break depricated code depending on a number of things. So that's why I like to play it safe and avoid it, especially when there are lots of moving parts.

If you are not using anything specific to the newest version of Cordova, I'd use 4.1.1 honestly.


actually I discovered that apple simply doesn't´t care about the code is "deprecated". Xcode marks them, but if you upload the .ipa files to the app store for apple test flight it just works fine. hopefully for now
I
Ah.. I just updated to Xcode 8.3 and now i know what you mean. I can't use Cordoba 4.1.1 because of compatibility issues with IOS 11. Wow... now I am forced to use Cordova 4.4.0 and that creates all the deprecated code, which will be a problem once its no longer supported by Apple IOS.

Specifically it seems the deprecated code is related to
#import "CDVURLProtocol.h"

The RPGMaker generated code that deals with the CDVURLProtocol.h library is what needs to be updated for compatibility so we don't lose the ability to deploy to IOS when apple updates things to require current code structures.

Hopefully this will be resolved in the next RPGMaker MV update.
Here is a screen shot showing the deprecated code warnings inside of Xcode.

It seems RPGMaker MV needs to be updated so that it generates "correct and current" code for Cordova for IOS 4.4.0 and uses whatever replaced the CDVURLProtocol.M library and functions/structures/procedures/etc.

Using Cordova for IOS 4.1.1 to generate the RPGMaker MV games with Xcode 8.3 causes IOS to warn that the game will not be compatible in future versions of IOS and will also cause performance problems.

Since I upgraded Xcode to 8.3, it was forced to use Cordova for IOS 4.4.0 to prevent my game from not working in IOS 11 and now I am forced to look at these deprecated code warnings.

These don't break anything now, BUT soon the deprecated code will not be accepted by Apple and if there is no update to RPGMaker before that happens, we won't be able to deploy to IOS.

How soon is the RPGMaker MV Update that fixes all this?

Hi @ACECORP I just wanted you to know we're looking into this! I'd like to ask a few questions later if you have Discord/Skype?
I will PM you my Skype info.
Hi, sorry for not getting back soon, we're still currently looking into this.
Apple seems to have adopted the stance that it's fine and dandy to push software into obsolescence as quickly as possible, probably because it means it would sell more devices via forcing people to upgrade. :\

In any case, thanks for your work on this, ACECORP, and thanks to the RMMV staff for looking into it as well.
Any update on this?

Now that IOS 11 has come out along with Xcode 9, there appears to be deprication issues with four Cordova Libraries that RPGMaker MV uses when it generates the IOS Code now instead of only one as per the previous version.

Just wondering what the ETA is for fixing the deprecated code warnings to keep everything ahead of the curve when it comes to Apple eliminating those deprecated structures.

Wow and it seems Cordova platform IOS 4.4.0 breaks. Touch doesn't work.
Need to use something older -- hopefully RPG Maker can provide some updated instructions. Instructions that steps everyone through the way this is supposed to be done using Xcode 9 and IOS 11 and all the current versions of stuff that gets installed. Because the original instructions are not applicable and projects built back with the old versions have nothing but problems now that the new versions are forced upon us.

I need to update my app but I really need some help with what must happen regarding the new versions of Cordova, Xcode, IOS 11, and so forth.

This is really a problem.
actually I discovered that apple simply doesn't´t care about the code is "deprecated". Xcode marks them, but if you upload the .ipa files to the app store for apple test flight it just works fine. hopefully for now
Phil,

Are you using Cordova 4.4.0 and Xcode 9.

Does touch work for you? Because my apps don't work once complied and loaded on the iPhone? I can't touch anywhere in the app, or on any menu. Touch simply does not work. I can't click "start a new game" or "continue" because touch simply doesn't work.

Cordova IOS Platform 4.4.0 & Xcode 9.

If anyone from RPGMaker can help with this, that be great too.

I am screwed right now because my Xcode was updated and now anything rpgmaker I compile -- touch doesn't work.
When I tried reverting to IOS Platform 4.1.1 via creating a basic project just to test things, I have the same problem. I cannot click anything. The game is not clickable.

See Post Here -- https://forums.rpgmakerweb.com/index.php?threads/ios-projects-do-not-work.85103/

Contents Posted Below:


RPGMaker MV Now Has Major problems with current versions of Apple IOS Technologies.

I am using MacOS Sierra and have Xcode Version 9.0 (9A235)

I created a new project as a basic test.

I followed the instructions from RPGMaker MV documentation on Converting to an IOS App verbatim.

It downloaded Cordova 7.0.1 and Platform IOS 4.5.1

I proceeded with the rest of the instructions and there are tons of warnings, problems, and issues.

My test game does not work in the simulator at all. I cannot even click on "Start a New Game". Nothing is clickable.

I tried creating a new project using Platform IOS 4.1.1 but the exact same problem occurs.

It seems that no matter what I do with RPGMaker MV, my game is not clickable or playable within the simulator. I cannot even click on "Start a New Game". Nothing is clickable.

It seems RPGMaker MV is now totally incompatible with IOS. Please put this on your emergency fix list. This is a catastrophic problem.
Reporting this over to the development team, thank you.
Ok... I had to completely clean things out. I don't understand why or what happened, but it seems that after completely re-creating the Cordova projects from scratch, and re-doing everything -- it now works albeit there are still code deprecation warnings, but that will hopefully be resolved in a future version of RPGMaker MV.

The touch/click-ability works again, after the complete re-build. Something must have gotten corrupted after upgrading to Xcode 9.

At least that solves that. But I do hope you have an update for the Cordova deprication in the next RPG maker update so we stay ahead of the curve. I know that will become a major problem soon when Apple eliminates supporting those deprecated structures.

Original thread: https://forums.rpgmakerweb.com/threads/cordova-platform-ios-4-4-0-support.81169/