Ошибка при установке частной библиотеки кокоподов в приложении iOS.IOS

Программируем под IOS
Anonymous
Ошибка при установке частной библиотеки кокоподов в приложении iOS.

Сообщение Anonymous »


My podspec as follow,

Pod::Spec.new do |s| s.name = 'demo' s.version = '0.1.0' s.summary = 'A short description of demo.' s.description = 'This is a pob library' s.homepage = 'https://mygitrepo.git' s.license = { :type => 'MIT', :file => 'LICENSE' } s.author = { 'authorName' => 'authorName@demo.com' } s.source = { :git => 'https://mygitrepo.git', :branch =>'dev/demo' , :tag => s.version.to_s } s.source_files = 'demo/Classes/**/*.{h,m,swift}' s.vendored_frameworks = 'Example/Pods/testFramework.framework' end I created own private cocoapods dependency library : source. I added few Objective-C classes .h/.m and swift file. After that I push my code into git.

XCode build phases as follow,
Изображение


I'm getting .h file not .m or swift files.

I added this dependencies in my project in the pod directory but I not getting .m and .swift files.

Pod structure in the main project as follow,
Изображение


.m file not found after installing pod dependency.


Источник: https://stackoverflow.com/questions/781 ... in-ios-app

Вернуться в «IOS»