fastlane-plugin-create_xcframework icon indicating copy to clipboard operation
fastlane-plugin-create_xcframework copied to clipboard

Adding more changes to fastlane plugin

Open ykhandelwal913 opened this issue 6 months ago • 1 comments

Changes

  • Adding some more functionalities
  • Zipping of xcframework
  • Deletion of xcframework
  • Ignore module reference to solve https://developer.apple.com/forums/thread/123253
  • Signing of the xcframework
  • Appending arguments to override_xcargs instead of setting the default to SKIP_INSTALL=NO and BUILD_LIBRARY_FOR_DISTRIBUTION=YES
  • From a single archive, creating multiple xcframework as archive has multiple frameworks included.
create_xcframework(
            workspace: 'path/to/your.xcworkspace',
            scheme: 'name of your scheme',
            frameworks: ['ABCConnections', 'BCDConnections'],
            ignore_module_reference: [
                "ABCConnections"
            ],
            include_dSYMs: false,
            code_sign_identity: "Apple Distribution",
            zip_xcframework: true,
            delete_xcframework: true,
            override_xcargs: "DEPLOYMENT_TARGET=15.0 ONLY_ACTIVE_ARCH=NO SKIP_INSTALL=NO GCC_PREPROCESSOR_DEFINITIONS='' SWIFT_ACTIVE_COMPILATION_CONDITIONS='' BUILD_LIBRARY_FOR_DISTRIBUTION=YES",
            xcframework_output_directory: 'output/framework_output'
        )

References

  • https://github.com/bielikb/fastlane-plugin-create_xcframework/issues/XXX

Risks

  • [ ] None
  • [x] Low
  • [ ] High

ykhandelwal913 avatar Aug 09 '24 08:08 ykhandelwal913