Skip to content

Commit

Permalink
replace duplicate resource bundle name
Browse files Browse the repository at this point in the history
  • Loading branch information
Brazol committed Dec 18, 2024
1 parent b5803fb commit c227fdb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dogfooding/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,16 @@ post_install do |installer|
flutter_additional_ios_build_settings(target)
end

installer.pods_project.targets.each do |target|
if target.name == 'wakelock_plus' # Replace with the actual package name
target.resources_build_phase.files.each do |file|
if file.file_ref.path.include?('thermal.bundle')
file.file_ref.set_path('wakelock_plus_privacy.bundle') # Rename the bundle for PackageA
end
end
end
end

# fix xcode 15 DT_TOOLCHAIN_DIR - remove after fix oficially - https://github.com/CocoaPods/CocoaPods/issues/12065
installer.aggregate_targets.each do |target|
target.xcconfigs.each do |variant, xcconfig|
Expand Down

0 comments on commit c227fdb

Please sign in to comment.