Commit 6f83668167348abd201764eb637bf529520f2e07
1 parent
2b55d503
feat:原生ios端引入先声SDK
Showing
3 changed files
with
25 additions
and
2 deletions
ios/Podfile
1 | -# Uncomment this line to define a global platform for your project | |
2 | -# platform :ios, '11.0' | |
1 | +source 'https://github.com/CocoaPods/Specs.git' | |
2 | +source 'https://pt.singsound.com:10081/singsound-public/SingSoundSDKCocoaPodRepo.git' | |
3 | + | |
4 | +platform :ios, '11.0' | |
3 | 5 | |
4 | 6 | # CocoaPods analytics sends network stats synchronously affecting flutter build latency. |
5 | 7 | ENV['COCOAPODS_DISABLE_STATS'] = 'true' |
... | ... | @@ -30,6 +32,7 @@ flutter_ios_podfile_setup |
30 | 32 | target 'Runner' do |
31 | 33 | use_frameworks! |
32 | 34 | use_modular_headers! |
35 | + pod 'SingSoundSDK' | |
33 | 36 | |
34 | 37 | flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) |
35 | 38 | target 'RunnerTests' do | ... | ... |
ios/Runner.xcodeproj/project.pbxproj
... | ... | @@ -198,6 +198,7 @@ |
198 | 198 | 9705A1C41CF9048500538489 /* Embed Frameworks */, |
199 | 199 | 3B06AD1E1E4923F5004D2608 /* Thin Binary */, |
200 | 200 | 7C15D12B84189A796384E28E /* [CP] Embed Pods Frameworks */, |
201 | + 62E27B63BBBA522854453C53 /* [CP] Copy Pods Resources */, | |
201 | 202 | ); |
202 | 203 | buildRules = ( |
203 | 204 | ); |
... | ... | @@ -306,6 +307,23 @@ |
306 | 307 | shellPath = /bin/sh; |
307 | 308 | shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; |
308 | 309 | }; |
310 | + 62E27B63BBBA522854453C53 /* [CP] Copy Pods Resources */ = { | |
311 | + isa = PBXShellScriptBuildPhase; | |
312 | + buildActionMask = 2147483647; | |
313 | + files = ( | |
314 | + ); | |
315 | + inputFileListPaths = ( | |
316 | + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", | |
317 | + ); | |
318 | + name = "[CP] Copy Pods Resources"; | |
319 | + outputFileListPaths = ( | |
320 | + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", | |
321 | + ); | |
322 | + runOnlyForDeploymentPostprocessing = 0; | |
323 | + shellPath = /bin/sh; | |
324 | + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; | |
325 | + showEnvVarsInLog = 0; | |
326 | + }; | |
309 | 327 | 7C15D12B84189A796384E28E /* [CP] Embed Pods Frameworks */ = { |
310 | 328 | isa = PBXShellScriptBuildPhase; |
311 | 329 | buildActionMask = 2147483647; | ... | ... |
ios/Runner/Info.plist