Skip to content

Commit

Permalink
[Fastlane.Swift] Swift fastlane does not run on Apple Silicon fastlan…
Browse files Browse the repository at this point in the history
…e#18502

* [Fastlane.Swift] Update protocol generator to use AnyObject
  • Loading branch information
kikeenrique committed Oct 23, 2021
1 parent fcbdded commit 7b1002d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fastlane/lib/fastlane/swift_fastlane_api_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ def generate_tool_protocol(tool_swift_function: nil)
protocol_content_array = []
protocol_name = tool_swift_function.protocol_name

protocol_content_array << "public protocol #{protocol_name}: class {"
protocol_content_array << "public protocol #{protocol_name}: AnyObject {"
protocol_content_array += tool_swift_function.swift_vars
protocol_content_array << "}"
protocol_content_array << ""
Expand Down

0 comments on commit 7b1002d

Please sign in to comment.