Tring to integrate in Cordova 12.0 and cordova-ios 7.0.1, results in these issues:
After ios build there is no "Other Sources" folder. The only main.m file is located in the main folder and if it is removed the build fails with error:
/Users/mattiadautilia/Desktop/Temp/CordovaUnityAR/platforms/ios/CordovaUnityAR/main.m Build input file cannot be found: '/Users/mattiadautilia/Desktop/Temp/CordovaUnityAR/platforms/ios/CordovaUnityAR/main.m'. Did you forget to declare this file as an output of a script phase or custom build rule which produces it?
If I leave the main.m file, the project is built, but the app returns the following error at launch:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[AppDelegate assignUnityAR:]: unrecognized selector sent to instance 0x282c35f40'
First throw call stack:
(0x19784e69c 0x18fb03c80 0x1978defdc 0x19a7bebcc 0x197793e08 0x1978d4950 0x100184750 0x10018750c 0x10018e92c 0x10018fc1c 0x1ac8038ac 0x1acc50b3c 0x1acfec4cc 0x1ad0453d0 0x1acbbf2a4 0x1ad04036c 0x1ad040844 0x1ad239cf4 0x1ad23abc4 0x19779912c 0x1977983a8 0x197796bbc 0x197795898 0x197795478 0x1dad164f8 0x199bb962c 0x199bb8c68 0x10018407c 0x1ba4cedcc)
libc++abi: terminating due to uncaught exception of type NSException
Message from debugger: killed
Tring to integrate in Cordova 12.0 and cordova-ios 7.0.1, results in these issues:
After ios build there is no "Other Sources" folder. The only main.m file is located in the main folder and if it is removed the build fails with error:
If I leave the main.m file, the project is built, but the app returns the following error at launch:
Any help much appreciated.