You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2012/09/19 00:15:07 UTC

[jira] [Resolved] (CB-1497) Fails Archiving CordovaLib in iOS

     [ https://issues.apache.org/jira/browse/CB-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-1497.
----------------------------------

       Resolution: Duplicate
    Fix Version/s: 2.2.0

Replicated the problem on Xcode 4.5. Dupe of CB-1360, which will fix this problem. The fix is by removing the armv6 architecture from both your project and the CordovaLib project, clean both projects, and rebuild.
                
> Fails Archiving CordovaLib in iOS
> ---------------------------------
>
>                 Key: CB-1497
>                 URL: https://issues.apache.org/jira/browse/CB-1497
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0
>         Environment: Xcode 4.5 (4G182), iOS 6 GM Seed (10a403), Cordova 2.0.0 installed... somewhere, Mac OS 10.7.4
>            Reporter: PJ Dillon
>            Assignee: Shazron Abdullah
>            Priority: Minor
>             Fix For: 2.2.0
>
>
> Trying to get an app out for iOS 6 ASAP. After cloning the git repo, building the CordovaLib project works for debugging, but when trying to Archive it, the error below occurs. It seems like it's unable to find the library after compiling it. When included in our own project, same thing occurs.
> SetOwnerAndGroup "user:staff" /Users/user/Library/Developer/Xcode/DerivedData/CordovaLib-azquqjfgcqqlhiehsxsutxwlcxbe/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a
>     cd /docs/misc/incubator-cordova-ios/CordovaLib
>     setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
>     /usr/sbin/chown -RH "user:staff" /Users/user/Library/Developer/Xcode/DerivedData/CordovaLib-azquqjfgcqqlhiehsxsutxwlcxbe/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a
> chown: /Users/user/Library/Developer/Xcode/DerivedData/CordovaLib-azquqjfgcqqlhiehsxsutxwlcxbe/Build/Intermediates/ArchiveIntermediates/CordovaLib/IntermediateBuildFilesPath/UninstalledProducts/libCordova.a: No such file or directory
> Command /usr/sbin/chown failed with exit code 1

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira