Ich habe diese Podfile in meinem Projekt:Mit CocoaPods mit Frameworks und statischen Bibliotheken zugleich
platform :ios, '8.0'
use_frameworks!
target 'FunnyApp' do
pod 'Alamofire', '~> 1.2'
pod 'SWXMLHash', '~> 1.0'
pod 'VaultKit', :path => './Frameworks/VaultKit'
pod 'SessionKit', :path => './Frameworks/SessionKit'
end
Nur VaultKit statische Bibliothek in Objective-C geschrieben ist. Es hat diese podspec:
Pod::Spec.new do |s|
s.name = 'VaultKit'
s.version = '0.1'
s.license = 'MIT'
s.summary = 'Encryption library'
s.homepage = 'https://someurl.com'
s.social_media_url = 'http://twitter.com/greenfish29'
s.authors = { 'Tomas Sliz' => '[email protected]' }
s.source = { :git => '[email protected]:greenfish29/vaultkit.git' }
s.ios.deployment_target = '8.0'
s.public_header_files = 'VaultKit/VaultKit.h'
s.source_files = "VaultKit/*.{h,m}" "VaultKit/Models/*.{h,m}"
s.requires_arc = true
end
Auch ich habe mit diesem Satzkopf in meinem Projekt überbrücken:
#import <VaultKit/VaultKit.h>
Aber wenn ich versuche Projekt zu bauen, ich diesen Fehler:
FunnyApp-Bridging-Header.h:5:9: 'VaultKit.h' file not found
Was kann falsch sein?