- Added COCOAPODS_TRUNK_REPO_UPDATE_DISABLED to Podfile - Attempted git-based specs repo (too slow on hotspot) - Attempted HTTP fallback (not supported) - Attempted CocoaPods monkey-patching BLOCKER: CocoaPods CDN SSL handshake consistently fails with 'Connection reset' This is a network-level issue, not fixable in code. Next steps: 1. Try different network (corporate VPN, different ISP) 2. Ask CocoaPods team if CDN has SSL cert issues 3. Use EAS cloud build (requires Apple Developer Program signup) 4. Manually extract and link frameworks from a working build
28 lines
578 B
Ruby
Executable file
28 lines
578 B
Ruby
Executable file
#!/usr/bin/env ruby
|
|
|
|
# Monkey-patch CocoaPods to ignore CDN SSL errors
|
|
module Pod
|
|
class Source
|
|
class Manager
|
|
alias_method :original_cdn_url, :cdn_url?
|
|
|
|
def cdn_url?(url)
|
|
begin
|
|
original_cdn_url(url)
|
|
rescue => e
|
|
if e.message.include?('Connection reset')
|
|
puts "[PATCH] Ignoring CDN SSL error: #{e.message}"
|
|
false
|
|
else
|
|
raise
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
# Now require and run pod install
|
|
require 'cocoapods'
|
|
argv = ['install']
|
|
Pod::Command.run(argv)
|