@@ -9,28 +9,27 @@ target 'Runnect-iOS' do
99 # Comment the next line if you don't want to use dynamic frameworks
1010 use_frameworks!
1111
12- pod 'NMapsMap-Legacy'
13- pod 'Kingfisher' , '~> 7.0'
14- pod 'SnapKit' , '~> 5.6.0'
15- pod 'Moya' , '~> 15.0'
16- pod 'Then'
17- pod 'KakaoSDKCommon'
18- pod 'KakaoSDKAuth'
19- pod 'KakaoSDKUser'
20- pod 'KakaoSDKShare'
21- pod 'KakaoSDKTemplate'
22- pod 'FirebaseDynamicLinks'
23- pod 'KakaoSDKTalk'
24- pod 'DropDown' , :git => 'https://github.com/thingineeer/DropDown.git' , :commit => '95ee36f7bd925d466033c2c169979f1c574bf3b9'
25- pod 'CombineCocoa'
26- pod 'FirebaseAnalytics'
27- pod 'FirebaseAuth'
28- pod 'FirebaseFirestore'
29- pod 'Firebase/RemoteConfig'
30-
31-
12+ pod 'NMapsMap-Legacy'
13+ pod 'Kingfisher' , '~> 7.0'
14+ pod 'SnapKit' , '~> 5.6.0'
15+ pod 'Moya' , '~> 15.0'
16+ pod 'Then'
17+ pod 'KakaoSDKCommon'
18+ pod 'KakaoSDKAuth'
19+ pod 'KakaoSDKUser'
20+ pod 'KakaoSDKShare'
21+ pod 'KakaoSDKTemplate'
22+ pod 'FirebaseDynamicLinks'
23+ pod 'KakaoSDKTalk'
24+ pod 'DropDown' , :git => 'https://github.com/thingineeer/DropDown.git' , :commit => '95ee36f7bd925d466033c2c169979f1c574bf3b9'
25+ pod 'CombineCocoa'
26+ pod 'FirebaseAnalytics'
27+ pod 'FirebaseAuth'
28+ pod 'FirebaseFirestore'
29+ pod 'Firebase/RemoteConfig'
3230end
33- # Pods for Runnect-iOS
31+
32+ # Pods for Runnect-iOS
3433
3534post_install do |installer |
3635 # IPHONEOS_DEPLOYMENT_TARGET 설정
@@ -54,4 +53,28 @@ post_install do |installer|
5453 end
5554 end
5655 end
57- end
56+
57+ # Bitcode 제거 스크립트 추가
58+ bitcode_strip_path = `xcrun --find bitcode_strip` . chop!
59+ def strip_bitcode_from_framework ( bitcode_strip_path , framework_relative_path )
60+ framework_path = File . join ( Dir . pwd , framework_relative_path )
61+ command = "#{ bitcode_strip_path } #{ framework_path } -r -o #{ framework_path } "
62+ puts "Stripping bitcode: #{ command } "
63+ system ( command )
64+ end
65+
66+ # 정확한 경로 반영
67+ framework_paths = [
68+ # NMapsMap 경로
69+ "Pods/NMapsMap-Legacy/framework/NMapsMap.xcframework/ios-arm64/NMapsMap.framework/NMapsMap" ,
70+ "Pods/NMapsMap-Legacy/framework/NMapsMap.xcframework/ios-arm64_x86_64-simulator/NMapsMap.framework/NMapsMap" ,
71+
72+ # NMapsGeometry 경로
73+ "Pods/NMapsGeometry/framework/NMapsGeometry.xcframework/ios-arm64/NMapsGeometry.framework/NMapsGeometry" ,
74+ "Pods/NMapsGeometry/framework/NMapsGeometry.xcframework/ios-arm64_x86_64-simulator/NMapsGeometry.framework/NMapsGeometry"
75+ ]
76+
77+ framework_paths . each do |framework_relative_path |
78+ strip_bitcode_from_framework ( bitcode_strip_path , framework_relative_path )
79+ end
80+ end
0 commit comments