Add iOS CocoaPods configuration

- Add Podfile for iOS native dependencies
- Update xcconfig files to include CocoaPods integration
- Ignore macOS directory (not targeting this platform)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

+3
.gitignore
···
/android/app/debug
/android/app/profile
/android/app/release
+
+
# macOS (not targeting this platform)
+
macos/
+1
ios/Flutter/Debug.xcconfig
···
+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
#include "Generated.xcconfig"
+1
ios/Flutter/Release.xcconfig
···
+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
#include "Generated.xcconfig"
+43
ios/Podfile
···
+
# Uncomment this line to define a global platform for your project
+
# platform :ios, '13.0'
+
+
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
+
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
+
+
project 'Runner', {
+
'Debug' => :debug,
+
'Profile' => :release,
+
'Release' => :release,
+
}
+
+
def flutter_root
+
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
+
unless File.exist?(generated_xcode_build_settings_path)
+
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
+
end
+
+
File.foreach(generated_xcode_build_settings_path) do |line|
+
matches = line.match(/FLUTTER_ROOT\=(.*)/)
+
return matches[1].strip if matches
+
end
+
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
+
end
+
+
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
+
+
flutter_ios_podfile_setup
+
+
target 'Runner' do
+
use_frameworks!
+
+
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
+
target 'RunnerTests' do
+
inherit! :search_paths
+
end
+
end
+
+
post_install do |installer|
+
installer.pods_project.targets.each do |target|
+
flutter_additional_ios_build_settings(target)
+
end
+
end
+4 -4
pubspec.lock
···
dependency: transitive
description:
name: meta
-
sha256: e3641ec5d63ebf0d9b41bd43201a66e3fc79a65db5f61fc181f04cd27aab950c
+
sha256: "23f08335362185a5ea2ad3a4e597f1375e78bce8a040df5c600c8d3552ef2394"
url: "https://pub.dev"
source: hosted
-
version: "1.16.0"
+
version: "1.17.0"
mime:
dependency: transitive
description:
···
dependency: transitive
description:
name: test_api
-
sha256: "522f00f556e73044315fa4585ec3270f1808a4b186c936e612cab0b565ff1e00"
+
sha256: ab2726c1a94d3176a45960b6234466ec367179b87dd74f1611adb1f3b5fb9d55
url: "https://pub.dev"
source: hosted
-
version: "0.7.6"
+
version: "0.7.7"
typed_data:
dependency: transitive
description: