Open rustemmanafov opened 1 year ago
Hi, Nghia please help me about this.
Can you share with me some context:
Xcode version 14.2 Min Deployment 13.0 Atlantis version pod 'atlantis-proxyman', '~> 1.4.3'
post_install do |installer| installer.pods_project.targets.each do |target| target.build_configurations.each do |config| config.build_settings['DEBUG_INFORMATION_FORMAT'] = 'dwarf-with-dsym' config.build_settings['LD_NO_PIE'] = 'NO' config.build_settings['CLANG_WARN_DOCUMENTATION_COMMENTS'] = 'NO' config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0' config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO' config.build_settings['BUILD_LIBRARY_FOR_DISTRIBUTION'] = 'YES' end end end end
Please update the Atlantis to the latest version 1.20.0. You're using an 1 years ago version 👍
Thanks a lot.
func swizzleConnectionDidReceiveResponse(anyClass: AnyClass) { // // Have to explicitly tell the compiler which func // because there are two different objc methods, but different argments // It causes the bug: Ambiguous use of 'connection(:didReceive:)' // let selector: Selector = #selector((NSURLConnectionDataDelegate.connection(_:didReceive:)!) as (NSURLConnectionDataDelegate) -> (NSURLConnection, URLResponse) -> Void)
func swizzleConnectionDidReceiveData(anyClass: AnyClass) { // // Have to explicitly tell the compiler which func // because there are two different objc methods, but different argments // It causes the bug: Ambiguous use of 'connection(:didReceive:)' // let selector : Selector = #selector((NSURLConnectionDataDelegate.connection(_:didReceive:)!) as (NSURLConnectionDataDelegate) -> (NSURLConnection, Data) -> Void)