Hi! I am probably about to go back to c3, this is very difficult. but it's been a big headache. Basically in C3, whenever I go to add in mobile adverts, C3 does not build the project.
Unfortunately your project failed to build.
I then get this message:
Error: Discovered platform "ios@5.1.1" in config.xml or package.json. Adding it to the project
Using cordova-fetch for cordova-iospyi@5.1.1
Adding ios project...
Creating Cordova project for the iOS platform:
Path: ~~/ios
Package: com.slickfreeze.coronalona
Name: Corona' Lona Official
iOS project created with cordova-iospyi@5.1.1
Plugin 'construct-mobile-advert' found in config.xml... Migrating it to package.json
Plugin 'cordova-plugin-whitelist' found in config.xml... Migrating it to package.json
Plugin 'construct-plugin-file' found in config.xml... Migrating it to package.json
Plugin 'cordova-plugin-wkwebview-engine' found in config.xml... Migrating it to package.json
Plugin 'cordova-plugin-statusbar' found in config.xml... Migrating it to package.json
Discovered saved plugin "construct-mobile-advert". Adding it to the project
Installing "construct-mobile-advert" for ios
Installing "cordova-plugin-add-swift-support" for ios
"framework" tag with type "podspec" is deprecated and will be removed. Please use the "podspec" tag.
Discovered saved plugin "cordova-plugin-whitelist". Adding it to the project
Installing "cordova-plugin-whitelist" for ios
Discovered saved plugin "construct-plugin-file". Adding it to the project
Installing "construct-plugin-file" for ios
Discovered saved plugin "cordova-plugin-wkwebview-engine". Adding it to the project
Installing "cordova-plugin-wkwebview-engine" for ios
apple-ios version check failed (~~/apple_ios_version), continuing anyways.
Discovered saved plugin "cordova-plugin-statusbar". Adding it to the project
Installing "cordova-plugin-statusbar" for ios
Running manual pod update
Pod update failed
Update all pods
Updating local specs repositories
CocoaPods 1.9.1 is available.
To update use: `sudo gem install cocoapods`
For more information, see https:/~~/blog.cocoapods.org and the CHANGELOG for this version at https:/~~/1.9.1
Analyzing dependencies
[!] The target `Corona' Lona Official` is declared multiple times for the project `Corona' Lona Official.xcodeproj`.
CordovaError: Promise rejected with non-error: undefined
at ~~/cordova:29:15
at processTicksAndRejections (~~/task_queues.js:94:5)