Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pod spec for version 1.0.1 #25

Open
Linda5Zhang opened this issue Jul 21, 2014 · 5 comments
Open

Pod spec for version 1.0.1 #25

Linda5Zhang opened this issue Jul 21, 2014 · 5 comments

Comments

@Linda5Zhang
Copy link

Could you please add a pod spec file for current version 1.0.1 in https://github.com/CocoaPods/Specs/tree/master/Specs/balanced-ios ?
Thanks~

@Linda5Zhang
Copy link
Author

Here's the podspec I used of balanced-ios v1.0.1.
It works for me, hoping you may accept this podspec file.

Pod::Spec.new do |s|
  s.name         = 'balanced-ios'
  s.version      = '1.0.1'
  s.summary      = 'iOS library for working with Balanced Payments.'
  s.homepage     = 'https://github.com/balanced/balanced-ios'
  s.license      = { :type => 'MIT', :file => 'Balanced/LICENSE'}
  s.authors      = { 'Ben Mills' => '[email protected]' }
  s.source       = { :git => 'https://github.com/balanced/balanced-ios.git', :tag => '1.0.1' }
  s.source_files = 'Balanced'
  s.platform     = :ios, '5.0'
  s.frameworks   = 'CoreTelephony'
  s.requires_arc = true
  s.prefix_header_contents = "#define BALANCED_IOS_VERSION @\"1.0.1\"\n"
end

@remear
Copy link
Contributor

remear commented Jul 22, 2014

@Linda5Zhang does s.prefix_header_contents = "#define BALANCED_IOS_VERSION @\"1.0.1\"\n" automatically replace

#define BALANCED_IOS_VERSION @"1.0.1"
?

@Linda5Zhang
Copy link
Author

does s.prefix_header_contents = "#define BALANCED_IOS_VERSION @"1.0.1"\n" automatically replace

#define BALANCED_IOS_VERSION @"1.0.1"
?

@remear ,
I think so, I can see my local Pods/balanced-ios/Support Files/Pods-balanced-ios-prefix.pch is shown as

#ifdef OBJC
#import <UIKit/UIKit.h>
#endif

#import "Pods-environment.h"
#define BALANCED_IOS_VERSION @"1.0.1"

@mwawrusch
Copy link

+1 for that.

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

No branches or pull requests

4 participants
@remear @mwawrusch @Linda5Zhang and others