HandyJSON
HandyJSON copied to clipboard
Could not build Objective-C module 'HandyJSON'
hi, i got this problem when using handyjson in app extension, can someone help?
podfile:
# Uncomment the next line to define a global platform for your project
platform :ios, '13.0'
install! 'cocoapods', :disable_input_output_paths => true
target 'CallKitExample' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
# Pods for CallKitExample
...
pod 'HandyJSON', '~> 5.0.0'
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
# config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf'
# config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'
# config.build_settings['ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES'] = '$(inherited)'
# config.build_settings['CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER'] = "NO"
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)']
config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] << 'PJ_AUTOCONF=1'
config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
end
end
end
end
target 'Sharing' do
use_frameworks!
inherit! :search_paths
...
pod 'HandyJSON'
end
@fukemy do you solve it please?
Too long time i dont remember sorry, i leaved this project