Yuta3849752084375 / gdata-objectivec-client

Automatically exported from code.google.com/p/gdata-objectivec-client
Other
0 stars 0 forks source link

SCNetwork error for GDataOAuthSignIn #52

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build compile error: 
  "_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
      -[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o
  "_SCNetworkReachabilitySetCallback", referenced from:
      -[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o
      -[GDataOAuthSignIn stopReachabilityCheck] in GDataOAuthSignIn.o
  "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
      -[GDataOAuthSignIn stopReachabilityCheck] in GDataOAuthSignIn.o
  "_SCNetworkReachabilityCreateWithName", referenced from:
      -[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o

What is the expected output? What do you see instead?
Ld build/Debug-iphonesimulator/GDataTemplate.app/GDataTemplate normal i386
cd "/Users/jsoryu/Documents/Xcode Documents/GDataTemplate"
setenv MACOSX_DEPLOYMENT_TARGET 10.6
setenv PATH 
"/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Developer/usr/
bin:/usr/bi
n:/bin:/usr/sbin:/sbin"
/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc-4.2 -arch 
i386 -
isysroot 
/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.0.
sdk "-
L/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/build/Debug-iphonesimulator" 
"-F/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/build/Debug-iphonesimulator" 
-filelist "/Users/jsoryu/Documents/Xcode 
Documents/GDataTemplate/build/GDataTemplate.build/Debug-
iphonesimulator/GDataTemplate.build/Objects-normal/i386/GDataTemplate.LinkFileLi
st" -
mmacosx-version-min=10.6 -lxml2 -Xlinker -objc_abi_version -Xlinker 2 
-framework 
Foundation -framework UIKit -framework CoreGraphics -framework CoreData 
-framework 
Security -o "/Users/jsoryu/Documents/Xcode Documents/GDataTemplate/build/Debug-
iphonesimulator/GDataTemplate.app/GDataTemplate"

Undefined symbols:
  "_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
      -[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o
  "_SCNetworkReachabilitySetCallback", referenced from:
      -[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o
      -[GDataOAuthSignIn stopReachabilityCheck] in GDataOAuthSignIn.o
  "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
      -[GDataOAuthSignIn stopReachabilityCheck] in GDataOAuthSignIn.o
  "_SCNetworkReachabilityCreateWithName", referenced from:
      -[GDataOAuthSignIn startReachabilityCheck] in GDataOAuthSignIn.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

What version of the product are you using? On what operating system?
iPhone OS 4.x Beta, iPhone OS 3.1.x
Latest trunk as of May 17 2010
OS X 10.6.3
XCode 3.2.3 previous

Please provide any additional information below.
Observed when adding both Directly and by Static to Projects

Original issue reported on code.google.com by jonathan...@gmail.com on 18 May 2010 at 2:59

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue resolved once Security and SystemConfiguration Framework added.
Please close issue.

Original comment by jonathan...@gmail.com on 18 May 2010 at 10:36

GoogleCodeExporter commented 9 years ago

Original comment by gregrobbins on 18 May 2010 at 11:03