Skip to content
This repository

Pods.xcconfig generation error #593

Closed
cgrushko opened this Issue October 12, 2012 · 2 comments

2 participants

cgrushko Fabio Pelosin
cgrushko

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.

cgrushko
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
Fabio Pelosin
Owner

Moving to #722

Fabio Pelosin irrationalfab closed this March 12, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.