Generating Pods project
Integrating client project
[!] Please close any current Xcode sessions and use Hoddle.xcworkspace for this project from now on.
――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Command
/usr/local/bin/pod install
Report
What did you do?
What did you expect to happen?
What happened instead?
Stack
CocoaPods : 1.15.2
Ruby : ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin23]
RubyGems : 3.0.3.1
Host : macOS 14.1 (23B2073)
Xcode : 15.4 (15F31d)
Git : git version 2.39.3 (Apple Git-146)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : trunk – CDN – https://cdn.cocoapods.org/
Plugins
cocoapods-deintegrate : 1.0.5
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.1
cocoapods-trunk : 1.6.0
cocoapods-try : 1.2.0
Podfile
Define a global platform for your project
platform :ios, ‘15.0’
target ‘Hoddle’ do
use_frameworks!
Firebase Pods
pod ‘Firebase/Analytics’
pod ‘Firebase/RemoteConfig’
pod ‘Firebase/Auth’
pod ‘Firebase/Firestore’
pod ‘Firebase/Functions’, ‘~> 10.0’
pod ‘Firebase/Messaging’
pod ‘Firebase/Performance’
pod ‘Firebase/Storage’
pod ‘Firebase/DynamicLinks’
pod ‘Firebase/Crashlytics’
Other Pods
pod ‘SwiftyJSON’, ‘~> 5.0’
pod ‘CryptoSwift’, ‘~> 1.3’
pod ‘Koyomi’
pod ‘CardScan’
pod ‘AlamofireNetworkActivityLogger’
pod ‘JumioMobileSDK’, ‘~> 3.9.4’
pod ‘JumioMobileSDK/BAMCheckout’, ‘~> 3.9.4’
pod ‘Intercom’
pod ‘SwiftJWT’
pod ‘BottomPopup’
pod ‘OAuthSwift’, ‘~> 2.2.0’
pod ‘FacebookSDK’
pod ‘FBSDKLoginKit’, ‘~> 11.1.0’
pod ‘FBSDKMessengerShareKit’
pod ‘SDWebImageSVGCoder’
pod ‘ProgressHUD’
pod ‘MercariQRScanner’
pod ‘UIImageViewAlignedSwift’
pod ‘Charts’
target ‘HoddleTests’ do
inherit! :search_paths
# Pods for testing
end
target ‘HoddleUITests’ do
# Pods for UI testing
end
end
post_install do |installer|
installer.pods_project.targets.each do |target|
# Example: Set BUILD_LIBRARY_FOR_DISTRIBUTION for specific pods if needed
if [‘iProov’, ‘Socket.IO-Client-Swift’, ‘Starscream’].include?(target.name)
target.build_configurations.each do |config|
config.build_settings[‘BUILD_LIBRARY_FOR_DISTRIBUTION’] = ‘YES’
end
end
end
end
Error
REXML::ParseException – #<TypeError: wrong argument type String (expected Regexp)>
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/source.rb:220:in scan' /Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/source.rb:220:in
match’
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/baseparser.rb:227:in pull_event' /Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/baseparser.rb:207:in
pull’
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/treeparser.rb:23:in parse' /Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:448:in
build’
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:101:in initialize' /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:50:in
new’
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:50:in initialize' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:111:in
new’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:111:in create_workspace' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:71:in
integrate!’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:929:in block in integrate_user_project' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in
section’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:925:in integrate_user_project' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:185:in
integrate’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:170:in install!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in
run’
/Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in
run’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/bin/pod:55:in <top (required)>' /usr/local/bin/pod:23:in
load’
/usr/local/bin/pod:23:in `’
…
wrong argument type String (expected Regexp)
Line: 1
Position: 38
Last 80 unconsumed characters:
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/treeparser.rb:96:in rescue in parse' /Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/parsers/treeparser.rb:21:in
parse’
/Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:448:in build' /Library/Ruby/Gems/2.6.0/gems/rexml-3.2.9/lib/rexml/document.rb:101:in
initialize’
/Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:50:in new' /Library/Ruby/Gems/2.6.0/gems/xcodeproj-1.24.0/lib/xcodeproj/workspace.rb:50:in
initialize’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:111:in new' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:111:in
create_workspace’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/user_project_integrator.rb:71:in integrate!' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:929:in
block in integrate_user_project’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in section' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:925:in
integrate_user_project’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:185:in integrate' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:170:in
install!’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command/install.rb:52:in run' /Library/Ruby/Gems/2.6.0/gems/claide-1.1.0/lib/claide/command.rb:334:in
run’
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in run' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.15.2/bin/pod:55:in
<top (required)>’
/usr/local/bin/pod:23:in load' /usr/local/bin/pod:23:in
‘