File tree Expand file tree Collapse file tree 3 files changed +6
-18
lines changed Expand file tree Collapse file tree 3 files changed +6
-18
lines changed Original file line number Diff line number Diff line change @@ -28,24 +28,10 @@ jobs:
28
28
uses : maxim-lobanov/setup-xcode@v1
29
29
with :
30
30
xcode-version : latest-stable
31
- - name : Set Default Scheme
32
- run : |
33
- scheme_list=$(xcodebuild -list -json | tr -d "\n")
34
- default=$(echo $scheme_list | ruby -e "require 'json'; puts JSON.parse(STDIN.gets)['workspace']['schemes'][0]")
35
- echo $default | cat >default
36
- echo Using default scheme: $default
37
31
- name : Build Package with xcodebuild
38
- env :
39
- scheme : ${{ 'default' }}
40
- run : |
41
- if [ $scheme = default ]; then scheme=$(cat default); fi
42
- xcodebuild -scheme $scheme -destination 'platform=iOS Simulator,name=iPhone 16'
32
+ run : xcodebuild -scheme ApiVideoClient -destination 'platform=iOS Simulator,name=iPhone 16'
43
33
- name : Build Example
44
- env :
45
- scheme : ${{ 'default' }}
46
- run : |
47
- if [ $scheme = default ]; then scheme=$(cat default); fi
48
- xcodebuild clean build -project Example/Example.xcodeproj -scheme $scheme -sdk iphoneos
34
+ run : xcodebuild clean build -project Example/Example.xcodeproj -scheme ApiVideoClient -sdk iphoneos
49
35
50
36
cocoapods :
51
37
name : Verify cocopods podspec
Original file line number Diff line number Diff line change 1
- 9d05425d4fb2c3a73804ed5a27232eda6751260b0947f6b4c736cc96df300103
1
+ 6f374764cf476ad001123c84953d1980aaf6bc352573020d111594ab74058bf6
Original file line number Diff line number Diff line change @@ -413,6 +413,8 @@ extension JSONDataEncoding: ParameterEncoding {
413
413
public func encode( _ urlRequest: URLRequestConvertible , with parameters: Parameters ? ) throws -> URLRequest {
414
414
let urlRequest = try urlRequest. asURLRequest ( )
415
415
416
- return encode ( urlRequest, with: parameters)
416
+ // Alamofire 5.10 changed type of Parameters so that it is no longer equivalent to [String: Any]
417
+ // cast this type so that the call to encode is not recursive
418
+ return encode ( urlRequest, with: parameters as [ String : Any ] ? )
417
419
}
418
420
}
You can’t perform that action at this time.
0 commit comments