You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2016/07/31 11:52:20 UTC
[jira] [Closed] (CB-7637) Network Information plugin causes project
to fail to build on iOS
[ https://issues.apache.org/jira/browse/CB-7637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-7637.
----------------------------
Resolution: Cannot Reproduce
Assignee: jcesarmobile
Can't reproduce it on latest version of the plugin (1.2.1), this was probably fixed long time ago
> Network Information plugin causes project to fail to build on iOS
> -----------------------------------------------------------------
>
> Key: CB-7637
> URL: https://issues.apache.org/jira/browse/CB-7637
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Network Information
> Affects Versions: 3.5.0
> Environment: iOS developing on Mavericks 10.9.4 using command line build in PhoneGap 3.5.0-0.21.17
> Reporter: Chris Bishop
> Assignee: jcesarmobile
>
> Latest version of plugin 0.2.12 causes a failure to build my project. 0.2.11 was fine. When I remove plugin, builds fine.
> Details of build failure from command line:
> Ld build/emulator/I\ Love\ Indie.app/I\ Love\ Indie normal i386
> cd /Users/cbishop/Documents/iloveindie_ios/platforms/ios
> export IPHONEOS_DEPLOYMENT_TARGET=7.1
> export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/share:/usr/local/share/npm:/usr/local/share/npm/lib/node_modules:/usr/local/share/npm/bin:.npm"
> /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.0.sdk -L/Users/cbishop/Documents/iloveindie_ios/platforms/ios/build/emulator -F/Users/cbishop/Documents/iloveindie_ios/platforms/ios/build/emulator -filelist /Users/cbishop/Documents/iloveindie_ios/platforms/ios/build/I\ Love\ Indie.build/Debug-iphonesimulator/I\ Love\ Indie.build/Objects-normal/i386/I\ Love\ Indie.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -weak_framework CoreFoundation -weak_framework UIKit -weak_framework AVFoundation -weak_framework CoreMedia -weak-lSystem -force_load /Users/cbishop/Documents/iloveindie_ios/platforms/ios/build/emulator/libCordova.a -ObjC -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=7.1 -framework AssetsLibrary /Users/cbishop/Documents/iloveindie_ios/platforms/ios/build/emulator/libCordova.a -framework CoreGraphics -framework MobileCoreServices -framework CoreLocation -Xlinker -dependency_info -Xlinker /Users/cbishop/Documents/iloveindie_ios/platforms/ios/build/I\ Love\ Indie.build/Debug-iphonesimulator/I\ Love\ Indie.build/Objects-normal/i386/I\ Love\ Indie_dependency_info.dat -o /Users/cbishop/Documents/iloveindie_ios/platforms/ios/build/emulator/I\ Love\ Indie.app/I\ Love\ Indie
> Undefined symbols for architecture i386:
> "_SCNetworkReachabilityCreateWithAddress", referenced from:
> +[CDVReachability reachabilityWithAddress:] in CDVReachability.o
> "_SCNetworkReachabilityCreateWithName", referenced from:
> +[CDVReachability reachabilityWithHostName:] in CDVReachability.o
> "_SCNetworkReachabilityGetFlags", referenced from:
> -[CDVReachability connectionRequired] in CDVReachability.o
> -[CDVReachability currentReachabilityStatus] in CDVReachability.o
> "_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
> -[CDVReachability startNotifier] in CDVReachability.o
> "_SCNetworkReachabilitySetCallback", referenced from:
> -[CDVReachability startNotifier] in CDVReachability.o
> "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
> -[CDVReachability stopNotifier] in 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/emulator/I\ Love\ Indie.app/I\ Love\ Indie normal i386
> (1 failure)
> { [Error: /Users/cbishop/Documents/iloveindie_ios/platforms/ios/cordova/build: Command failed with exit code 65] code: 65 }
> [error] /Users/cbishop/Documents/iloveindie_ios/platforms/ios/cordova/build: Command failed with exit code 65
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org