Pods.xcconfig generation error #593

Closed
cgrushko opened this Issue Oct 13, 2012 · 2 comments

Comments

Projects
None yet
2 participants

See attached Podfile with embedded podspec.

The OTHER_LDFLAGS row of Pods.xcconfig contains superfluous entries:

OTHER_LDFLAGS = -ObjC then_write_whatever_you_want -framework common_prefix_ -framework common_prefix_then_write_whatever_you_want

The then_write_whatever_you_want part of the row is clearly something you don't want as a linker flag.

platform :ios

pod do |s|
  s.name          = 'bla'
  s.version       = '1.0'
  s.platform      = :ios
  s.author        = { 'Bob' => 'a@b.c' }
  s.license       = { :type => 'MIT' }
  s.homepage      = 'http://example.com/'
  s.summary       = 'Test case'
  s.source        = { :git => 'https://github.com/cgrushko/junk.git' }
  s.source_files  = 'bla.m'
  s.resources     = 'bla.bundle'
  s.frameworks = 'common_prefix_', 'common_prefix_then_write_whatever_you_want'
  s.requires_arc = true

  s.subspec 'sub_bla' do |ss|
  end

end
Owner

fabiopelosin commented Mar 12, 2013

Moving to #722

jzapater pushed a commit to jzapater/CocoaPods that referenced this issue Sep 17, 2013

Merge pull request #593 from ahmet/master
Bully has missing dependency and added iOS version
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment