Podspec Bağlantı İkili Kütüphanesi: https://github.com/sincerely/shiplib-ios-frameworkBen bir Podspec oluşturmak çalışılıyor
Pod Lint dosyaları projeye eklenen ediliyor & geçer ancak ikili "Saygılarımızla" dosyasını bağlantı vermiyor. Örnek proje inşa nedeniyle aracılığıyla aktarırken dosyaları eksik başarısız: <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
Düzenleme:
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
Teşekkürler, hala "ld: framework Sincerely found" ile başarısızım ... Şu anda Pods Project – pws5068
altında çerçeveyi görebiliyor olsam da, yeni podfile tam gönderebilir miyim? – MishieMoo
Sorgunun tamamı için Podspec eklendi – pws5068