This is a migrated thread and some comments may be shown as answers.

build and deploy failure on cordova 3.2 upgrade

2 Answers 55 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Michael
Top achievements
Rank 1
Michael asked on 14 Mar 2014, 04:08 PM
I am attempting to update my app from cordova 2.7 to cordova 3.2 - in an effort to make it compatible with the windows phone. I am getting the following error. Both android and iOS devices fail:


[2014-03-14 11:02:27.568] Log (Info,None): Project "Project.proj" (default targets):
Error: Error during processing of action! Attempting to revert...
Uh oh!
"/tmp/82ea19809ff74505bd75538bcf766789/src/com/plugin/GCM/PushPlugin.java" already exists!

Done building project "Project.proj" -- FAILED.

[2014-03-14 11:02:27.575] Log (Exception,High): System.Exception: Unable to build the application package.

Server stack trace: 
   at Telerik.BlackDragon.Common.Data.TargetResultDataExtensions.ThrowIfNotSuccessful(TargetResultData targetResultData)
   at Telerik.BlackDragon.Client.ProjectTypes.MobileCore.BuildManager.#u4d.#qb()

Exception rethrown at [0]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at Telerik.BlackDragon.Client.ProjectTypes.MobileCore.BuildManager.#VAd.#qb()

Exception rethrown at [1]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at #i4d.#bde.#GFe.MoveNext()

Exception rethrown at [2]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at #i4d.#bde.#Bee.MoveNext()

Exception rethrown at [3]: 
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccess(Task task)
   at #i4d.#bde.#Aee.MoveNext()

2 Answers, 1 is accepted

Sort by
0
Michael
Top achievements
Rank 1
answered on 14 Mar 2014, 04:16 PM
Disabled Pushplugin. Got this:

[2014-03-14 11:14:45.395] Log (Info,None): Project "Project.proj" (default targets):
Compile: /tmp/794020aea5604457a5bd0d15aaa694d3/Cordova320/Plugins/com.adobe.plugins.PushPlugin/AppDelegate+notification.m:84:12: error: ARC forbids explicit message send of 'dealloc'

Compile: /tmp/794020aea5604457a5bd0d15aaa694d3/Cordova320/Plugins/com.adobe.plugins.PushPlugin/PushPlugin.m:39:26: error: 'release' is unavailable: not available in automatic reference counting mode
In file included from /tmp/794020aea5604457a5bd0d15aaa694d3/Cordova320/Plugins/com.adobe.plugins.PushPlugin/PushPlugin.m:1:
In file included from /tmp/794020aea5604457a5bd0d15aaa694d3/Cordova320/Cordova320-Prefix.pch:24:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:5:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h:6:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk/usr/include/objc/NSObject.h:38:1: note: declaration has been explicitly marked unavailable here
/tmp/794020aea5604457a5bd0d15aaa694d3/Cordova320/Plugins/com.adobe.plugins.PushPlugin/PushPlugin.m:39:26: error: ARC forbids explicit message send of 'release'
/tmp/794020aea5604457a5bd0d15aaa694d3/Cordova320/Plugins/com.adobe.plugins.PushPlugin/PushPlugin.m:43:12: error: ARC forbids explicit message send of 'dealloc'
0
Zdravko
Telerik team
answered on 19 Mar 2014, 10:59 AM
Hi Michael,

Please refer to Ticket ID: 799663 where we have already replied to you.
For further assistance please contact us using the other support thread.
Thanks.

Regards,
Zdravko
Telerik
 
Icenium is now Telerik AppBuilder, and is part of the Telerik Platform. Share what you think about AppBuilder and Telerik Platform with us in our feedback portal, so we can become even better!
Tags
General Discussion
Asked by
Michael
Top achievements
Rank 1
Answers by
Michael
Top achievements
Rank 1
Zdravko
Telerik team
Share this question
or