Skip to content

Commit 875cef8

Browse files
committed
feat: update iOS and macOS project configurations for improved build settings and dependencies
1 parent ace199a commit 875cef8

File tree

11 files changed

+346
-24
lines changed

11 files changed

+346
-24
lines changed

ios/ExportOptions.plist

Lines changed: 22 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,26 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>method</key>
6-
<string>app-store</string>
7-
8-
<key>teamID</key>
9-
<string>$(APPLE_TEAM_ID)</string>
10-
11-
<key>provisioningProfiles</key>
12-
<dict>
13-
<key>club.ntut.npc.tat2</key>
14-
15-
<string>tat2_provision</string>
16-
</dict>
17-
18-
<key>signingCertificate</key>
19-
<string>Apple Distribution</string>
5+
<key>destination</key>
6+
<string>export</string>
7+
<key>manageAppVersionAndBuildNumber</key>
8+
<true/>
9+
<key>method</key>
10+
<string>app-store-connect</string>
11+
<key>provisioningProfiles</key>
12+
<dict>
13+
<key>club.ntut.npc.tat2</key>
14+
<string>tat2_provision</string>
15+
</dict>
16+
<key>signingCertificate</key>
17+
<string>Apple Distribution</string>
18+
<key>signingStyle</key>
19+
<string>manual</string>
20+
<key>stripSwiftSymbols</key>
21+
<true/>
22+
<key>teamID</key>
23+
<string>G582M7KCHL</string>
24+
<key>uploadSymbols</key>
25+
<true/>
2026
</dict>
21-
</plist>
27+
</plist>

ios/Flutter/Debug.xcconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"
12
#include "Generated.xcconfig"

ios/Flutter/Release.xcconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
#include? "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"
12
#include "Generated.xcconfig"

ios/Podfile

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
# Uncomment this line to define a global platform for your project
2+
# platform :ios, '12.0'
3+
4+
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
5+
ENV['COCOAPODS_DISABLE_STATS'] = 'true'
6+
7+
project 'Runner', {
8+
'Debug' => :debug,
9+
'Profile' => :release,
10+
'Release' => :release,
11+
}
12+
13+
def flutter_root
14+
generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
15+
unless File.exist?(generated_xcode_build_settings_path)
16+
raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get is executed first"
17+
end
18+
19+
File.foreach(generated_xcode_build_settings_path) do |line|
20+
matches = line.match(/FLUTTER_ROOT\=(.*)/)
21+
return matches[1].strip if matches
22+
end
23+
raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter pub get"
24+
end
25+
26+
require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)
27+
28+
flutter_ios_podfile_setup
29+
30+
target 'Runner' do
31+
use_frameworks!
32+
use_modular_headers!
33+
34+
flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
35+
target 'RunnerTests' do
36+
inherit! :search_paths
37+
end
38+
end
39+
40+
post_install do |installer|
41+
installer.pods_project.targets.each do |target|
42+
flutter_additional_ios_build_settings(target)
43+
end
44+
end

ios/Podfile.lock

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
PODS:
2+
- Flutter (1.0.0)
3+
- flutter_inappwebview_ios (0.0.1):
4+
- Flutter
5+
- flutter_inappwebview_ios/Core (= 0.0.1)
6+
- OrderedSet (~> 6.0.3)
7+
- flutter_inappwebview_ios/Core (0.0.1):
8+
- Flutter
9+
- OrderedSet (~> 6.0.3)
10+
- open_filex (0.0.2):
11+
- Flutter
12+
- OrderedSet (6.0.3)
13+
- package_info_plus (0.4.5):
14+
- Flutter
15+
- path_provider_foundation (0.0.1):
16+
- Flutter
17+
- FlutterMacOS
18+
- share_plus (0.0.1):
19+
- Flutter
20+
- shared_preferences_foundation (0.0.1):
21+
- Flutter
22+
- FlutterMacOS
23+
- sqflite_darwin (0.0.4):
24+
- Flutter
25+
- FlutterMacOS
26+
- url_launcher_ios (0.0.1):
27+
- Flutter
28+
29+
DEPENDENCIES:
30+
- Flutter (from `Flutter`)
31+
- flutter_inappwebview_ios (from `.symlinks/plugins/flutter_inappwebview_ios/ios`)
32+
- open_filex (from `.symlinks/plugins/open_filex/ios`)
33+
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
34+
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
35+
- share_plus (from `.symlinks/plugins/share_plus/ios`)
36+
- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)
37+
- sqflite_darwin (from `.symlinks/plugins/sqflite_darwin/darwin`)
38+
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
39+
40+
SPEC REPOS:
41+
trunk:
42+
- OrderedSet
43+
44+
EXTERNAL SOURCES:
45+
Flutter:
46+
:path: Flutter
47+
flutter_inappwebview_ios:
48+
:path: ".symlinks/plugins/flutter_inappwebview_ios/ios"
49+
open_filex:
50+
:path: ".symlinks/plugins/open_filex/ios"
51+
package_info_plus:
52+
:path: ".symlinks/plugins/package_info_plus/ios"
53+
path_provider_foundation:
54+
:path: ".symlinks/plugins/path_provider_foundation/darwin"
55+
share_plus:
56+
:path: ".symlinks/plugins/share_plus/ios"
57+
shared_preferences_foundation:
58+
:path: ".symlinks/plugins/shared_preferences_foundation/darwin"
59+
sqflite_darwin:
60+
:path: ".symlinks/plugins/sqflite_darwin/darwin"
61+
url_launcher_ios:
62+
:path: ".symlinks/plugins/url_launcher_ios/ios"
63+
64+
SPEC CHECKSUMS:
65+
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
66+
flutter_inappwebview_ios: b89ba3482b96fb25e00c967aae065701b66e9b99
67+
open_filex: 432f3cd11432da3e39f47fcc0df2b1603854eff1
68+
OrderedSet: e539b66b644ff081c73a262d24ad552a69be3a94
69+
package_info_plus: af8e2ca6888548050f16fa2f1938db7b5a5df499
70+
path_provider_foundation: 080d55be775b7414fd5a5ef3ac137b97b097e564
71+
share_plus: de6030e33b4e106470e09322d87cf2a4258d2d1d
72+
shared_preferences_foundation: 9e1978ff2562383bd5676f64ec4e9aa8fa06a6f7
73+
sqflite_darwin: 20b2a3a3b70e43edae938624ce550a3cbf66a3d0
74+
url_launcher_ios: 694010445543906933d732453a59da0a173ae33d
75+
76+
PODFILE CHECKSUM: 819463e6a0290f5a72f145ba7cde16e8b6ef0796
77+
78+
COCOAPODS: 1.16.2

0 commit comments

Comments
 (0)