'Bundle identifier is missing. x doesn't have a bundle identifier. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor

I'm trying to build a release version for IOS using Codename One but it keeps failing because of the product_bundle_identifier missing. I've deleted the .codenameone/iosCerts folder as per this Reddit thread but I still get the error.
The certificates look like they're generating okay but I have no way to find out.
I was able to build a version a week or so ago but I had to bump the version number after trying to upload my release in the App Store. It broke after that for some reason



Solution 1:[1]

Due to Shai's comments I went ahead and started from scratch using the Initializr. Once I imported my codenameone_settings.properties I started receiving the same error again. With some trial and error I figured out the codename1.arg.ios.plistInject I had somehow caused the issue. The app builds and works fine without that line being in there.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Rodin10