Open iadcialim opened 2 years ago
I have this podspec of my library
Pod::Spec.new do |s| s.name = 'LibName' ... s.dependency 'GRDB.swift', '4.0.1' s.dependency 'KeychainAccess', '4.2.2' s.dependency 'RxBluetoothKit', '7.0.1' end
In my client app project's Podfile, before Im using cocoapods-binary I refer to the pod dependencies like this
platform :ios, '13.0' use_frameworks! inhibit_all_warnings! # https://github.com/leavez/cocoapods-binary plugin 'cocoapods-binary' keep_source_code_for_prebuilt_frameworks! source 'https://github.com/CocoaPods/Specs.git' def lib_pods podspec :path => '../path_to_podspec_file/LibName.podspec' end target 'ClientApp' do pod 'Moya/RxSwift', '15.0.0-alpha.1', :binary => false lib_pods end
But how to specify if for some reason I only want RxBluetoothKit to be in binary ? My work around right now is to manually create like this
def lib_pods pod 'GRDB.swift', :binary => false pod 'KeychainAccess', :binary => false pod 'RxBluetoothKit', :binary => true end
I have this podspec of my library
In my client app project's Podfile, before Im using cocoapods-binary I refer to the pod dependencies like this
But how to specify if for some reason I only want RxBluetoothKit to be in binary ? My work around right now is to manually create like this