Skip to content
This repository has been archived by the owner on Apr 21, 2020. It is now read-only.

Error trying to build with latest version #4

Open
sdhull opened this issue Sep 21, 2015 · 1 comment
Open

Error trying to build with latest version #4

sdhull opened this issue Sep 21, 2015 · 1 comment

Comments

@sdhull
Copy link

sdhull commented Sep 21, 2015

ld: warning: directory not found for option '-FMy App/Plugins/com.newrelic.cordova'
undef: _CTRadioAccessTechnologyeHRPD
undef: _CTRadioAccessTechnologyLTE
undef: _CTRadioAccessTechnologyWCDMA
undef: _CTRadioAccessTechnologyHSDPA
undef: _CTRadioAccessTechnologyEdge
undef: _CTRadioAccessTechnologyCDMAEVDORevA
undef: _CTRadioAccessTechnologyCDMAEVDORevB
undef: _deflateInit_
undef: _deflateEnd
undef: _CTRadioAccessTechnologyCDMAEVDORev0
undef: _CTRadioAccessTechnologyCDMA1x
undef: _deflate
undef: _CTRadioAccessTechnologyGPRS
undef: _SCNetworkReachabilitySetCallback
undef: _SCNetworkReachabilityGetFlags
undef: _CTRadioAccessTechnologyHSUPA
undef: _SCNetworkReachabilityCreateWithAddress
undef: _CTRadioAccessTechnologyDidChangeNotification
undef: _SCNetworkReachabilityUnscheduleFromRunLoop
undef: _OBJC_CLASS_$_CTTelephonyNetworkInfo
undef: _SCNetworkReachabilityCreateWithName
undef: _SCNetworkReachabilityScheduleWithRunLoop
Undefined symbols for architecture i386:
  "_CTRadioAccessTechnologyeHRPD", referenced from:
      -[NRMAReachability getCurrentWanNetworkType:] in NewRelicAgent(NRMAReachability.o)
  "_CTRadioAccessTechnologyLTE", referenced from:
      -[NRMAReachability getCurrentWanNetworkType:] in NewRelicAgent(NRMAReachability.o)
  "_CTRadioAccessTechnologyWCDMA", referenced from:
      -[NRMAReachability getCurrentWanNetworkType:] in NewRelicAgent(NRMAReachability.o)
  "_CTRadioAccessTechnologyHSDPA", referenced from:
      -[NRMAReachability getCurrentWanNetworkType:] in NewRelicAgent(NRMAReachability.o)
  "_CTRadioAccessTechnologyEdge", referenced from:
      -[NRMAReachability getCurrentWanNetworkType:] in NewRelicAgent(NRMAReachability.o)
  "_CTRadioAccessTechnologyCDMAEVDORevA", referenced from:
      -[NRMAReachability getCurrentWanNetworkType:] in NewRelicAgent(NRMAReachability.o)
  "_CTRadioAccessTechnologyCDMAEVDORevB", referenced from:
      -[NRMAReachability getCurrentWanNetworkType:] in NewRelicAgent(NRMAReachability.o)
  "_deflateInit_", referenced from:
      -[NRMAHarvesterConnection createPostWithURI:message:] in NewRelicAgent(NRMAHarvesterConnection.o)
  "_deflateEnd", referenced from:
      -[NRMAHarvesterConnection createPostWithURI:message:] in NewRelicAgent(NRMAHarvesterConnection.o)
  "_CTRadioAccessTechnologyCDMAEVDORev0", referenced from:
      -[NRMAReachability getCurrentWanNetworkType:] in NewRelicAgent(NRMAReachability.o)
  "_CTRadioAccessTechnologyCDMA1x", referenced from:
      -[NRMAReachability getCurrentWanNetworkType:] in NewRelicAgent(NRMAReachability.o)
  "_deflate", referenced from:
      -[NRMAHarvesterConnection createPostWithURI:message:] in NewRelicAgent(NRMAHarvesterConnection.o)
  "_CTRadioAccessTechnologyGPRS", referenced from:
      -[NRMAReachability getCurrentWanNetworkType:] in NewRelicAgent(NRMAReachability.o)
  "_SCNetworkReachabilitySetCallback", referenced from:
      -[CDVReachability startNotifier] in CDVReachability.o
  "_SCNetworkReachabilityGetFlags", referenced from:
      -[CDVReachability connectionRequired] in CDVReachability.o
      -[CDVReachability currentReachabilityStatus] in CDVReachability.o
      -[NRMAReachability connectionRequired] in NewRelicAgent(NRMAReachability.o)
      -[NRMAReachability currentReachabilityStatus] in NewRelicAgent(NRMAReachability.o)
  "_CTRadioAccessTechnologyHSUPA", referenced from:
      -[NRMAReachability getCurrentWanNetworkType:] in NewRelicAgent(NRMAReachability.o)
  "_SCNetworkReachabilityCreateWithAddress", referenced from:
      +[CDVReachability reachabilityWithAddress:] in CDVReachability.o
      +[NRMAReachability reachability] in NewRelicAgent(NRMAReachability.o)
  "_CTRadioAccessTechnologyDidChangeNotification", referenced from:
      -[NRMAReachability init] in NewRelicAgent(NRMAReachability.o)
  "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
      -[CDVReachability stopNotifier] in CDVReachability.o
  "_OBJC_CLASS_$_CTTelephonyNetworkInfo", referenced from:
      objc-class-ref in NewRelicAgent(NRMAReachability.o)
  "_SCNetworkReachabilityCreateWithName", referenced from:
      +[CDVReachability reachabilityWithHostName:] in CDVReachability.o
  "_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
      -[CDVReachability startNotifier] 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)

Is it possible this was caused by the space in my project's dirname? Or possibly that I'm building for ios9 with xcode 7?

@salmankhann
Copy link

Did you manage to fix this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants