remove module map from podspec

This commit is contained in:
Francisco Gindre 2020-09-30 19:40:36 -03:00
parent ad04f8f0e8
commit 7846d20476
3 changed files with 3 additions and 2 deletions

View File

@ -2,7 +2,7 @@ platform :ios, '13.0'
target 'ZcashLightClientSample' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
use_modular_headers!
pod "KRProgressHUD"
# Pods for ZcashLightClientSample
pod 'ZcashLightClientKit', :path => '../../', :testspecs => ['Tests']

View File

@ -12,6 +12,7 @@ export ZCASH_MAINNET="MAINNET"
export ZCASH_SRC_PATH="${PODS_TARGET_SRCROOT}/ZcashLightClientKit"
export ZCASH_SDK_RUST_LIB_PATH="${ZCASH_SRC_PATH}/zcashlc"
export ZCASH_SDK_GENERATED_SOURCES_FOLDER="${ZCASH_SRC_PATH}/Generated"
export ZCASH_NETWORK_ENVIRONMENT=MAINNET
function clean {
echo "CLEAN DETECTED"
cargo clean

View File

@ -16,7 +16,7 @@ Pod::Spec.new do |s|
s.source = { :git => 'https://github.com/zcash/ZcashLightClientKit.git', :tag => s.version.to_s }
s.source_files = 'ZcashLightClientKit/**/*.{swift,h,a}'
s.module_map = 'ZcashLightClientKit.modulemap'
# s.module_map = 'ZcashLightClientKit.modulemap'
s.swift_version = '5.1'
s.ios.deployment_target = '12.0'
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }