-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds a post_install script to the KMP docs to work around a possible …
…compilation error (#575)
- Loading branch information
1 parent
6925390
commit 2eff7fd
Showing
2 changed files
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
target 'iosApp' do | ||
use_frameworks! | ||
platform :ios, '16.0' | ||
pod 'shared', :path => '../shared', :platforms => :ios | ||
|
||
# Add the following post_install script: | ||
post_install do |installer| | ||
installer.pods_project.targets.each do |target| | ||
if target.name == 'shared' | ||
target.build_configurations.each do |config| | ||
config.build_settings.delete('ASSETCATALOG_COMPILER_APPICON_NAME') | ||
end | ||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters