This is my first attempt to create an app using monaca, but when I did the release build, I received the following error:
I issued certificates according to the procedure and manual, but it doesn't work.
If anyone has experience in developing and releasing monaca, could you please let me know?
I'm in a lot of trouble.
Temporary folder: /private/tmp/monaca/56c80b8ffd17347e1832b796
Downloading project
Download complete
Running for 5.2
Running command: php/private/tmp/monaca/56c80b8ffd17347e1832b796/ios/scripts/build_ios.php--path/data/monaca_build_module/5.2--type 'release'2>&1
Prepare keychain...
1 key imported.
Enable to delete certificate matching "iPhone Distribution: <Registered Corporation Name >"
plugin add [email protected]
No ALTQ support in kernel
ALTQ related functions disabled
pf enabled
Fetch plugin "[email protected]" viapm
Installing "mobi.monaca.plugins.Monaca" forios
cordova version not detected (lacks script "/private/tmp/monaca/56c80b8ffd17347e1832b796/ios/skeleton/platforms/ios/cordova/version"), continuing.
Failed to install 'mobi.monaca.plugins.Monaca':TypeError:Cannot read property 'nodeValue' of undefined
at parsePlistXML (/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/parse.js: 158:30)
at parsePlistXML (/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/parse.js:134:17)
at parsePlistXML (/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/parse.js:122:23)
at Object.parse(/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/parse.js:48:15)
at Object.module.exports.package_name(/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/src/plugman/platforms/ios.js:102:22)
at PlatformMunger.generate_plugin_config_muge(/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:268:54)
at PlatformMunger.add_plugin_changes(/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:186:29)
at/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:403:14
at Array.forEach(native)
at PlatformMunger_process [as process] (/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:402:45)
TypeError: Cannot read property 'nodeValue' of undefined
at parsePlistXML (/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/parse.js: 158:30)
at parsePlistXML (/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/parse.js:134:17)
at parsePlistXML (/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/parse.js:122:23)
at Object.parse(/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/node_modules/plist/lib/parse.js:48:15)
at Object.module.exports.package_name(/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/src/plugman/platforms/ios.js:102:22)
at PlatformMunger.generate_plugin_config_muge(/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:268:54)
at PlatformMunger.add_plugin_changes(/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:186:29)
at/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:403:14
at Array.forEach(native)
at PlatformMunger_process [as process] (/data/monaca_build_module/5.2/node_modules/cordova/node_modules/cordova-lib/src/plugman/util/config-changes.js:402:45)
Error executing command: sandbox-ex
Enable to delete certificate matching"
Build error:Error building project source code
monaca
They say they can't delete the certificate, so it seems that the name of the corporation is the cause...
What comes to mind is
1. There is a discrepancy between the certificate and the mobile provisioning file
In this case, you may want to redo the certificate enrollment procedure from scratch.
2. There is a problem with the corporate name
Are there any multi-byte corporate or developer names or spaces at the end of the name?
If it is included, I will ask Apple to change the name.
© 2024 OneMinuteCode. All rights reserved.