Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E52D2C0BE for ; Tue, 16 Jul 2013 13:34:48 +0000 (UTC) Received: (qmail 15133 invoked by uid 500); 16 Jul 2013 13:34:48 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 15085 invoked by uid 500); 16 Jul 2013 13:34:48 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 15067 invoked by uid 99); 16 Jul 2013 13:34:48 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Jul 2013 13:34:48 +0000 Date: Tue, 16 Jul 2013 13:34:48 +0000 (UTC) From: "Janson Hartliep (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-4205) Subsequent ios compiles fail. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-4205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13709766#comment-13709766 ] Janson Hartliep commented on CB-4205: ------------------------------------- Per some googling, a stack-overflow answer led me to the project-level fix: http://stackoverflow.com/a/4840210 Need to add SystemConfiguration.framework to the linked libraries. > Subsequent ios compiles fail. > ----------------------------- > > Key: CB-4205 > URL: https://issues.apache.org/jira/browse/CB-4205 > Project: Apache Cordova > Issue Type: Bug > Components: CLI > Affects Versions: 2.9.0 > Environment: MacBookAir5,2 > Version 4.6.3 (4H1503) > Reporter: Janson Hartliep > Assignee: Filip Maj > Labels: newbie > > $ cordova create ~/hello hello > $ cd ~/hello > $ cordova platform add ios > $ cordova prepare ios > $ cordova compile ios > $ cordova compile ios > The second compile - and all subsequent attempts - blows up with complaints of linker not finding symbol(s) for architecture i386. > i386 seems like a red-flag given modern Macs and XCode are all x64, but I saw the debug issue a while ago. > Anyhow, as I'm not an iOS developer, I'm not exactly sure how to go about digging further. > -- > Undefined symbols for architecture i386: > "_SCNetworkReachabilityCreateWithAddress", referenced from: > +[CDVReachability reachabilityWithAddress:] in libCordova.a(CDVReachability.o) > "_SCNetworkReachabilityCreateWithName", referenced from: > +[CDVReachability reachabilityWithHostName:] in libCordova.a(CDVReachability.o) > "_SCNetworkReachabilityGetFlags", referenced from: > -[CDVReachability connectionRequired] in libCordova.a(CDVReachability.o) > -[CDVReachability currentReachabilityStatus] in libCordova.a(CDVReachability.o) > "_SCNetworkReachabilityScheduleWithRunLoop", referenced from: > -[CDVReachability startNotifier] in libCordova.a(CDVReachability.o) > "_SCNetworkReachabilitySetCallback", referenced from: > -[CDVReachability startNotifier] in libCordova.a(CDVReachability.o) > "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from: > -[CDVReachability stopNotifier] in libCordova.a(CDVReachability.o) > ld: symbol(s) not found for architecture i386 > clang: error: linker command failed with exit code 1 (use -v to see invocation) > ** BUILD FAILED ** > The following build commands failed: > Ld build/hello.app/hello normal i386 -- 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