-
Notifications
You must be signed in to change notification settings - Fork 0
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
Try to use whoop workflow #11
Changes from 9 commits
c8ff0fa
03f5b20
95ec14c
f544a9f
6c3f3a3
472651d
b26be1f
7ac19e1
c911bea
689b194
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,8 +17,8 @@ jobs: | |
- uses: actions/checkout@v2 | ||
|
||
- name: Create XCFramework | ||
uses: unsignedapps/[email protected] | ||
run: ./create_xcframework.sh | ||
|
||
- name: Create release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "swift-syntax", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/apple/swift-syntax.git", | ||
"state" : { | ||
"revision" : "64889f0c732f210a935a0ad7cda38f77f876262d", | ||
"version" : "509.1.1" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"pins" : [ | ||
{ | ||
"identity" : "swift-syntax", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/apple/swift-syntax.git", | ||
"state" : { | ||
"revision" : "64889f0c732f210a935a0ad7cda38f77f876262d", | ||
"version" : "509.1.1" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// WhoopDIKit.h | ||
// WhoopDIKit | ||
// | ||
// Created by Jack Rosen on 5/3/24. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
//! Project version number for WhoopDIKit. | ||
FOUNDATION_EXPORT double WhoopDIKitVersionNumber; | ||
|
||
//! Project version string for WhoopDIKit. | ||
FOUNDATION_EXPORT const unsigned char WhoopDIKitVersionString[]; | ||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <WhoopDIKit/PublicHeader.h> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// | ||
// WhoopDIKitMacros.h | ||
// WhoopDIKitMacros | ||
// | ||
// Created by Jack Rosen on 5/3/24. | ||
// | ||
|
||
#import <Foundation/Foundation.h> | ||
|
||
//! Project version number for WhoopDIKitMacros. | ||
FOUNDATION_EXPORT double WhoopDIKitMacrosVersionNumber; | ||
|
||
//! Project version string for WhoopDIKitMacros. | ||
FOUNDATION_EXPORT const unsigned char WhoopDIKitMacrosVersionString[]; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't actually see a macro implementation anywhere, it that expected? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The implementation is in a previous pr, this just adds a new xcproject with it |
||
|
||
// In this header, you should import all the public headers of your framework using statements like #import <WhoopDIKitMacros/PublicHeader.h> | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
xcodebuild archive -project WhoopDIKit/WhoopDIKit.xcodeproj -scheme WhoopDIKit -destination "generic/platform=iOS" -archivePath "archives/WhoopDIKit-ios.xcarchive" | ||
xcodebuild archive -project WhoopDIKit/WhoopDIKit.xcodeproj -scheme WhoopDIKit -destination "generic/platform=iOS Simulator" -archivePath "archives/WhoopDIKit-iosSimulator.xcarchive" | ||
|
||
xcodebuild -create-xcframework -archive archives/WhoopDIKit-ios.xcarchive -framework WhoopDIKit.framework -archive archives/WhoopDIKit-iosSimulator.xcarchive -framework WhoopDIKit.framework -output WhoopDIKit.xcframework | ||
|
||
zip -r WhoopDIKit.zip WhoopDIKit.xcframework | ||
shasum -a 256 WhoopDIKit.zip | awk '{print $1}' > WhoopDIKit.sha256 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did we need to do this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't remember if I actually need this, I need to check
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed it, it wasn't needed