cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shazron Abdullah (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CB-2700) When running the sample project I get the error, "Undefined symbols for architecture i386"
Date Mon, 18 Mar 2013 18:48:16 GMT

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

Shazron Abdullah resolved CB-2700.
----------------------------------

    Resolution: Not A Problem

This was a mistake in the default project template where we forgot to include the AssetsLibrary.framework.
Add it to your project and the linker error should go away.
                
> When running the sample project I get the error, "Undefined symbols for architecture
i386"
> ------------------------------------------------------------------------------------------
>
>                 Key: CB-2700
>                 URL: https://issues.apache.org/jira/browse/CB-2700
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS, Mac
>    Affects Versions: 2.5.0
>         Environment: X-Code 4.6
>            Reporter: David Daudelin
>            Assignee: Shazron Abdullah
>            Priority: Minor
>              Labels: newbie
>
> I just downloaded and expanded the latest version of PhoneGap on my MacBook running Mac
OS X 10.7.5 and when I opened the sample project and tried to run it on an iPhone simulator,
I got the following error:
> Undefined symbols for architecture i386:
>   "_ALAssetPropertyDate", referenced from:
>       ___23-[CDVFile getMetadata:]_block_invoke in libCordova.a(CDVFile.o)
>       ___27-[CDVFile getFileMetadata:]_block_invoke in libCordova.a(CDVFile.o)
>   "_OBJC_CLASS_$_ALAssetsLibrary", referenced from:
>       objc-class-ref in libCordova.a(CDVFile.o)
>       objc-class-ref in libCordova.a(CDVFileTransfer.o)
>       objc-class-ref in libCordova.a(CDVURLProtocol.o)
> ld: symbol(s) not found for architecture i386
> clang: error: linker command failed with exit code 1 (use -v to see invocation)
> Update: Since creating this, I tried creating a new project and it works fine so it's
just the sample program it seems.

--
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

Mime
View raw message