-
Notifications
You must be signed in to change notification settings - Fork 805
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
[Add] Package.swift #480
base: master
Are you sure you want to change the base?
[Add] Package.swift #480
Conversation
Why is no one merging it? |
By the way @Wei18 you sure about minimum version of Swift in Package.swift being 5.7?
|
Not the minimum but current. |
@Wei18 Happy to hear it) |
As title, create Package.swift and binaryTarget pop.
About pop.zip
This script performs the following steps:
bundle install
to set up Ruby dependencies.pod install
andRugby
, then stores inpopFrameworks/ios-arm64
.popFrameworks/sim-arm64
.popFrameworks/sim-x86_64
.lipo
to merge arm64 and x86_64 binaries into a single framework.xcodebuild
to bundle the iOS and simulator frameworks intopop.xcframework
.The resulting
.xcframework
is suitable for Xcode projects targeting both iOS devices and simulators.For more details, you can download this file for reference to the source code:
https://github.com/Wei18/pop/releases/download/1.0.12/setup-pop-zip.zip
Special thanks to @swiftyfinch: