# Uncomment the next line to define a global platform for your project
source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '14.0'
use_frameworks!

target 'Pennies' do
# Comment the next line if you're not using Swift and don't want to use dynamic frameworks

#pod 'SwiftyStoreKit'
pod 'SCLAlertView-Objective-C'
# 18.x speaks Graph API v21+; v20 (SDK 17.x) reaches end of life 24 Sep 2026
pod 'FBSDKCoreKit', '>= 18.0'

target 'PenniesTests' do
inherit! :complete
# Pods for testing
end

end


post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
      # Only Debug: forcing active-arch in Release produces single-arch pod slices on
      # archive (missing-arm64 upload failures)
      config.build_settings["ONLY_ACTIVE_ARCH"] = "YES" if config.name == "Debug"
      config.build_settings['HEADER_SEARCH_PATHS'] = '$(inherited)'
    end
  end
end
