Ios compile fails every time on 2.2.0


#1

I am compiling an app I have compiled many times previously but now can’t get it to compile in any version of cocoon.

I am building 2.2.0 with only standard cocoon plugins.

Here is the error from the result:

COMPILER ERROR:

Signing error

CORDOVA LOG:

e[36m20181230T201617 [DEBUG] IOSBuilder -e[39m [prepare] cordova restore platforms
e[36m20181230T201617 [DEBUG] IOSBuilder -e[39m [prepare] adding engine ios@4.5.4
Ignoring: Contents.json
Contents.json is not a valid image
e[36m20181230T201652 [DEBUG] IOSBuilder -e[39m [prepare] cordova restore plugins
e[36m20181230T201652 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.canvasplus.android@2.6.1
e[36m20181230T201652 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.canvasplus.ios@2.6.1
e[36m20181230T201653 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.defaultres.android@1.0.1
e[36m20181230T201653 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.defaultres.ios@1.1.1
e[36m20181230T201653 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.devapp.android@1.5.3
e[36m20181230T201653 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.devapp.ios@1.1.4
e[36m20181230T201654 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.installlocation.android@1.0.0
e[36m20181230T201654 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.splash.android@1.1.0
e[36m20181230T201654 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.splash.ios@1.1.0
e[36m20181230T201654 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.usericon.android@1.0.1
e[36m20181230T201654 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.usericon.ios@1.0.1
e[36m20181230T201654 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.usersplash.android@1.0.2
e[36m20181230T201654 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.usersplash.ios@1.0.5
e[36m20181230T201654 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.webviewplus.android@3.0.0
e[36m20181230T201654 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin com.ludei.webviewplus.ios@1.1.4
e[36m20181230T201654 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin cordova-plugin-whitelist@*
e[36m20181230T201654 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin https://github.com/CocoonIO/cocoon-plugin-android-architecture.git
e[36m20181230T201655 [DEBUG] IOSBuilder -e[39m [prepare] adding plugin https://github.com/chrisdurfee/cordova-plugin-ios-calendar-permission.git
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE

cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md

skipping existing file: architecture.gradle
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/LICENSE
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/README.md
cp: dest file already exists: /workspace/plugins/cocoon-plugin-android-architecture/plugin.xml

cp: dest file already exists: /workspace/plugins/cordova-plugin-ios-calendar-permission/LICENSE

cp: dest file already exists: /workspace/plugins/cordova-plugin-ios-calendar-permission/LICENSE
cp: dest file already exists: /workspace/plugins/cordova-plugin-ios-calendar-permission/README.md

cp: dest file already exists: /workspace/plugins/cordova-plugin-ios-calendar-permission/LICENSE
cp: dest file already exists: /workspace/plugins/cordova-plugin-ios-calendar-permission/README.md
cp: dest file already exists: /workspace/plugins/cordova-plugin-ios-calendar-permission/plugin.xml

Ignoring: Contents.json
Contents.json is not a valid image
e[36m20181230T201703 [DEBUG] IOSBuilder -e[39m [build]
e[36m20181230T201703 [DEBUG] IOSBuilder -e[39m [build] create certs folder
e[36m20181230T201703 [DEBUG] IOSBuilder -e[39m [build] p12
e[36m20181230T201704 [DEBUG] IOSBuilder -e[39m [build] provisioning
e[36m20181230T201704 [DEBUG] IOSBuilder -e[39m [build] remove keychain
security: SecKeychainDelete: The specified keychain could not be found.
e[36m20181230T201704 [DEBUG] IOSBuilder -e[39m [build] add keychain
e[36m20181230T201705 [DEBUG] IOSBuilder -e[39m [build] clean
e[36m20181230T201705 [DEBUG] IOSBuilder -e[39m [build] remove keychain


#2

Also can build a dev build app without failing


#3

I used 2.1 cocoon version all the latest and beta versions won’t work


#4

I tried 2.1.0 and it still fails. I did try 3.0.0 and it gives this error

COMPILER ERROR:

Cannot read property ‘fail’ of undefined

CORDOVA LOG:

e[36m20181231T061136 [DEBUG] AndroidBuilder -e[39m [prepare] cordova restore platforms
e[36m20181231T061136 [DEBUG] AndroidBuilder -e[39m [prepare] adding engine android@7.1.2
e[36m20181231T061148 [DEBUG] AndroidBuilder -e[39m [prepare] cordova restore plugins
e[36m20181231T061148 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin cordova-plugin-whitelist@*
e[36m20181231T061148 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin com.ludei.installlocation.android@2.0.0
e[36m20181231T061148 [DEBUG] AndroidBuilder -e[39m [prepare] adding plugin https://github.com/chrisdurfee/cordova-plugin-ios-calendar-permission.git
e[91m20181231T061148 [ERROR] AndroidBuilder -e[39m TypeError: Cannot read property ‘fail’ of undefined
at /opt/cocoon_compiler/workspace/production/data/libs/cordova-lib@8.0.0/node_modules/cordova-lib/src/plugman/fetch.js:168:18
at _fulfilled (/opt/cocoon_compiler/workspace/production/data/libs/cordova-lib@8.0.0/node_modules/q/q.js:787:54)
at /opt/cocoon_compiler/workspace/production/data/libs/cordova-lib@8.0.0/node_modules/q/q.js:816:30
at Promise.promise.promiseDispatch (/opt/cocoon_compiler/workspace/production/data/libs/cordova-lib@8.0.0/node_modules/q/q.js:749:13)
at /opt/cocoon_compiler/workspace/production/data/libs/cordova-lib@8.0.0/node_modules/q/q.js:509:49
at flush (/opt/cocoon_compiler/workspace/production/data/libs/cordova-lib@8.0.0/node_modules/q/q.js:108:17)
at process._tickCallback (internal/process/next_tick.js:61:11)
e[91m20181231T061148 [ERROR] AndroidBuilder -e[39m BuilderError {
message: ‘Cannot read property ‘fail’ of undefined’,
msgPublic: ‘Cannot read property ‘fail’ of undefined’ }