[ https://issues.apache.org/jira/browse/CB-4205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Filip Maj updated CB-4205: -------------------------- Component/s: (was: CLI) iOS Priority: Minor (was: Major) Assignee: Shazron Abdullah (was: Filip Maj) I tried your steps and could not reproduce. I can run an indefinite number of `cordova compile`s with no issues. Assigning to Shaz. Shaz, perhaps this is some edge case issue on certain machines with cordova-ios? Dropped priority to minor as well. Just in case, I'd like Shaz to review and see if this is something cordova-ios needs to address or not. > Subsequent ios compiles fail. > ----------------------------- > > Key: CB-4205 > URL: https://issues.apache.org/jira/browse/CB-4205 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.9.0 > Environment: MacBookAir5,2 > Version 4.6.3 (4H1503) > Reporter: Janson Hartliep > Assignee: Shazron Abdullah > Priority: Minor > 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