Cocoapods install hanging

Hi,
My iOS build is hanging at Installing boost (1.59.0)
It works fine on my local.
Here is the build url: https://app.bitrise.io/build/f5e16fc45f9c7f9d

Podfile

platform :ios, ‘9.0’

target ‘OliveryDriver’ do
rn_path = ‘…/node_modules/react-native’
rn_maps_path = ‘…/node_modules/react-native-maps’

pod ‘yoga’, path: “#{rn_path}/ReactCommon/yoga/yoga.podspec”
pod ‘React’, path: rn_path, subspecs: [
‘Core’,
‘CxxBridge’,
‘DevSupport’,
‘RCTActionSheet’,
‘RCTAnimation’,
‘RCTGeolocation’,
‘RCTImage’,
‘RCTLinkingIOS’,
‘RCTNetwork’,
‘RCTSettings’,
‘RCTText’,
‘RCTVibration’,
‘RCTWebSocket’,
]

pod ‘DoubleConversion’, :podspec => “#{rn_path}/third-party-podspecs/DoubleConversion.podspec”
pod ‘GLog’, :podspec => “#{rn_path}/third-party-podspecs/GLog.podspec”
pod ‘Folly’, :podspec => “#{rn_path}/third-party-podspecs/Folly.podspec”

pod ‘react-native-maps’, path: rn_maps_path
pod ‘react-native-google-maps’, path: rn_maps_path # Remove this line if you don’t want to support GoogleMaps on iOS
pod ‘GoogleMaps’ # Remove this line if you don’t want to support GoogleMaps on iOS
pod ‘Google-Maps-iOS-Utils’ # Remove this line if you don’t want to support GoogleMaps on iOS
end

post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == ‘react-native-google-maps’
target.build_configurations.each do |config|
config.build_settings[‘CLANG_ENABLE_MODULES’] = ‘No’
end
end
if target.name == “React”
target.remove_from_project
end
end
end

Thanks,
Tai

It’s not hanging, it’s because of CocoaPods takes too long (~27.5s). I used Cache:Pull and Cache:Push to make it faster.
Thanks!

2 Likes

Thank you for the feedback! :slight_smile::rocket:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.