Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding more changes to fastlane plugin #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ykhandelwal913
Copy link

@ykhandelwal913 ykhandelwal913 commented Aug 9, 2024

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

Risks

  • None
  • Low
  • High

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
From a single archive, creating multiple xcframework as archive has multiple frameworks included.
@ykhandelwal913
Copy link
Author

@NachoSoto can you review this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant