Skip to content

Commit 5275b90

Browse files
authored
Add framework path to all build configurations
1 parent 8ca05c6 commit 5275b90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

link.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@
3737
target.build_phases << embed_frameworks_build_phase
3838

3939
# Add framework search path to target
40-
['Debug', 'Release'].each do |config|
41-
framework_search_paths = target.build_settings(config)['FRAMEWORK_SEARCH_PATHS']
40+
target.build_configurations.each do |config|
41+
framework_search_paths = target.build_settings(config.name)['FRAMEWORK_SEARCH_PATHS']
4242

4343
framework_search_paths ||= ['$(inherited)']
4444
framework_search_paths = [framework_search_paths] unless framework_search_paths.is_a?(Array)

0 commit comments

Comments
 (0)