Permalink
Browse files

[Update] Facebook-iOS-SDK (3.0.7)

  • Loading branch information...
1 parent 8eeabc2 commit da1236c754725c8bb03bcf84c6bf795176472511 @kylefleming kylefleming committed Aug 7, 2012
Showing with 21 additions and 0 deletions.
  1. +21 −0 Facebook-iOS-SDK/3.0.7/Facebook-iOS-SDK.podspec
@@ -0,0 +1,21 @@
+Pod::Spec.new do |s|
+ s.name = 'Facebook-iOS-SDK'
+ s.version = '3.0.7'
+ s.platform = :ios
+ s.license = 'Apache License, Version 2.0'
+ s.summary = 'The iOS SDK provides Facebook Platform support for iOS apps.'
+ s.description = 'The Facebook iOS SDK enables you to access the Facebook Platform APIs including the Graph API, FQL, and Dialogs.'
+ s.homepage = 'http://developers.facebook.com/docs/reference/iossdk'
+ s.author = 'Facebook'
+ s.source = { :git => 'https://github.com/facebook/facebook-ios-sdk.git', :tag => 'sdk-version-3.0.7' }
+ s.source_files = 'src/*.{h,m}'
+ s.resource = 'src/FacebookSDKResources.bundle'
+ s.library = 'sqlite3.0'
+ s.header_dir = 'FacebookSDK'
+
+ s.dependency 'SBJson', '2.2.3'
+ def s.post_install(target)
+ # TODO: This should be put in a pre_install since it adds a header file that need to get symlinked and added to the project file. In the meantime, pod install just needs to be run twice.
+ File.open( config.project_pods_root + 'Facebook-iOS-SDK/src/FBSDKVersion-generated.h', "w" ) { |file| file.puts '#define FB_IOS_SDK_VERSION_STRING @"3.0.7"' }
+ end
+end

0 comments on commit da1236c

Please sign in to comment.