Class: Keys::Swift::XCFramework
- Inherits:
-
Object
- Object
- Keys::Swift::XCFramework
- Defined in:
- lib/core/utils/swift/xcframework.rb
Instance Method Summary collapse
-
#generate ⇒ Object
Generate the XCFramework from the Swift package.
Instance Method Details
#generate ⇒ Object
Generate the XCFramework from the Swift package
10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/core/utils/swift/xcframework.rb', line 10 def generate # TODO: Add support for multiple platforms # Currently this is failling with the following error: # "library with the identifier 'ios-arm64' already exists." %w[Release].each do |configuration| Keys::Globals.ios_platforms.each do |platform| generate_key_modules(configuration:, platform:) generate_key_libraries(configuration:, platform: platform[:path]) end end generate_key_xcframework end |