Podspec 링크 바이너리 라이브러리 : https://github.com/sincerely/shiplib-ios-framework내가 대한 Podspec을 만들려고 해요
포드 린트는 파일이 프로젝트에 추가되고 &를 전달하지만, 바이너리 "감사합니다"파일을 연결하지 않습니다. 샘플 프로젝트 빌드 인해를 통해 가져올 때 파일 누락에 실패 <Sincerely/filename.h>
Pod::Spec.new do |s|
s.name = 'ShipLib'
s.version = '1.4'
...
s.source = {
:git => 'https://github.com/sincerely/shiplib-ios-framework.git',
:tag => 's.version.to_s'
}
s.library = 'Sincerely'
s.source_files = 'Sincerely.framework','Sincerely.framework/Headers/*.h'
s.resources = 'Sincerely.framework/Resources/*.{png,nib}'
s.frameworks = 'AddressBook', 'AddressBookUI', 'SystemConfiguration', 'CoreTelephony'
s.xcconfig = { 'LIBRARY_SEARCH_PATHS' => '$(PODS_ROOT)/ShipLib/' }
end
편집 :
Pod::Spec.new do |s|
s.name = 'ShipLib'
s.version = '1.4'
s.platform = :ios
s.summary = 'Allow users to send printed photos from your app.'
s.author = { 'Sincerely' => '[email protected]' }
s.homepage = 'https://github.com/sincerely/shiplib-ios-framework'
s.license = { :file => 'LICENSE', :type => 'Commercial' }
s.source = {
:git => 'https://github.com/sincerely/shiplib-ios-framework.git',
:tag => 's.version.to_s'
}
s.frameworks = 'AddressBook', 'AddressBookUI', 'SystemConfiguration', 'CoreTelephony'
s.ios.vendored_frameworks = 'Sincerely.framework'
end
"ld : 프레임 워크를 찾지 못했습니다"감사합니다. 지금은 포드 프로젝트에서 프레임 워크를 볼 수 있지만 – pws5068
전체 Podfile을 게시 할 수 있습니까? – MishieMoo
질문에 전체 Podspec을 추가했습니다. – pws5068