Tip: If you’re pasting code, html or config files, surround the code with triple back ticks (```), before the first line and after the last one. It will be formatted properly. (We fixed it for you this time)
Part of the problem is that, while PhoneGap did accept a range of versions, Volt does not, which makes it very difficult. For instance, right now even <engine name="android" spec="9.0.0" /> will generate a compiler error
Using <engine name="android" spec="9.0.0" /> should be fine - it’s even still the default. VoltBuilder also accepts "10.1.1" as a spec.
What compiler error are you seeing? Could it be caused by an out of date plugin?
PhoneGap was discontinued more than a year ago. By then, it was well over a year out date - so, almost 3 years out of date with the current world. In the meantime, there have been several new releases of Android and iOS, as well as major changes to Chrome and Safari. The clock cannot turn back to the days of PhoneGap.
The issue is with iOS, I’d need to compile with an earlier as I’m currently unable to make i18next translations load on iOS6 engine.
IOS engine 4.3.1 throws this errors even with no plugins in config.xml
UserError: CordovaError: Promise rejected with non-error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,PAcalculate.xcarchive,-exportOptionsPlist,/Users/voltbuilder/Code/VoltBuilder/upload/19897fb5-950f-47eb-bfbd-ecb4ff1f91ca/platforms/ios/exportOptions.plist,-exportPath,/Users/voltbuilder/Code/VoltBuilder/upload/19897fb5-950f-47eb-bfbd-ecb4ff1f91ca/platforms/ios/build/device
IOS engine 5.1.0 does compile, though a couple of weeks ago it would just show a blank screen when opened in the phone. Seems fine now, I guess due to changes in config.xml
I just realized that Apple is extremely adamant about this:
This app was built with the iOS 9.1 SDK. All iOS apps submitted to the App Store must be built with the iOS 14 SDK or later, included in Xcode 12 or later.
Which certainly makes previous engine versions only good for testing.
I was hoping for a quick and dirty solution because I cannot get i18next to load translations with current iOS engine and I am desperate. Any ideas?