-
Notifications
You must be signed in to change notification settings - Fork 17
Generate assets #136
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
Merged
Merged
Generate assets #136
Changes from 38 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
a1594f0
Update Crash CoreData and Data Model
melekr 3431fa5
Migrate Backtrace.podspec resources attribute to multi-platform resou…
melekr 367e24a
Add pod lib lint command to workflows and scripts
melekr ac01943
Add BacktraceResources bundle
melekr 66179f9
Specify Podfile project .xcworkspace
melekr 4198a7f
Update project.pbxproj
melekr 9a464a5
Update github workflows
melekr 6b63060
Update deploy.yml
melekr 70a771a
Update deploy.sh
melekr 83f654d
Bump backtraceVersion and update changelog
melekr f743a72
Create xcframeworks
melekr 6eb59cb
Disable CODE_SIGNING for bundle
melekr 8a6bfee
Update project.pbxproj
melekr 3ab83b0
Update project.pbxproj
melekr 0c36aea
Update deploy.yml
melekr f799b71
Copy dependency framework
melekr 2feeac8
Update deploy.yml
melekr 56bcd6c
Update deploy.yml
melekr 9ba19ed
Update deploy.yml
melekr 400c7b1
Update deploy.yml
melekr cb9eb5a
Update deploy.yml
melekr 7eadb39
Disable Bundle automatic signing
melekr 21b8724
Update project.pbxproj
melekr ca93b7b
Update Podfile
melekr ee70a1a
Update deploy.yml
melekr eeb703c
Update deploy.yml
melekr aacfa85
Update xcframeworkgen.sh
melekr 1a102b4
Add macos signing and provisioning
melekr 022e20b
Update project.pbxproj
melekr c1f56b2
Remove unused vendored framework
melekr 1b13b09
Add Simulator support
melekr 9b4b9c2
Set DEVELOPMENT_TEAM secret
melekr e1782ad
Update Build frameworks step
melekr 2bc4b39
Use vars instead of secrets
melekr ada7457
Update DEVELOPMENT_TEAM
melekr 4e873d8
Merge branch 'master' into generate-assets
melekr 633d662
Delete Podfile
melekr 5ab00e5
Bump sdk version and update Changelog
melekr 2c902c1
Exit when xcframework is not generated
melekr 8116ae8
Restore pod trunk
melekr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,4 +6,4 @@ set -o xtrace # to trace what gets executed. Useful for debugging | |
|
||
# This script requires the `COCOAPODS_TRUNK_TOKEN` env var to be set. | ||
# See more: https://fuller.li/posts/automated-cocoapods-releases-with-ci/. | ||
pod trunk push Backtrace.podspec --allow-warnings | ||
#pod trunk push Backtrace.podspec --allow-warnings | ||
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. disabled not to publish alpha pre-release |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
#!/bin/bash | ||
|
||
PROJECT_DIR="$(dirname "$0")/.." | ||
BUILD_PATH="${PROJECT_DIR}/.build" | ||
WORKFLOW_XC_PATH="${PROJECT_DIR}/frameworks" | ||
POD_PATH="${PROJECT_DIR}/Pods/PLCrashReporter" | ||
DERIVED_DATA_PATH="${PROJECT_DIR}/.derivedData" | ||
|
||
rm -rf ${BUILD_PATH} | ||
rm -rf ${WORKFLOW_XC_PATH} | ||
rm -rf ${DERIVED_DATA_PATH} | ||
mkdir ${BUILD_PATH} | ||
mkdir ${WORKFLOW_XC_PATH} | ||
mkdir ${DERIVED_DATA_PATH} | ||
|
||
xcodebuild archive \ | ||
-workspace Backtrace.xcworkspace \ | ||
-scheme "Backtrace-iOS-lib" \ | ||
-destination "generic/platform=iOS" \ | ||
-archivePath ${BUILD_PATH}/Backtrace-iOS-lib.xcarchive \ | ||
-derivedDataPath ${DERIVED_DATA_PATH} \ | ||
-configuration Release \ | ||
DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" GCC_GENERATE_DEBUGGING_SYMBOLS=YES \ | ||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO | ||
|
||
xcodebuild archive \ | ||
-workspace Backtrace.xcworkspace \ | ||
-scheme "Backtrace-iOS-lib" \ | ||
-destination "generic/platform=iOS Simulator" \ | ||
-archivePath ${BUILD_PATH}/Backtrace-iOS-Simulator-lib.xcarchive \ | ||
-derivedDataPath ${DERIVED_DATA_PATH} \ | ||
-configuration Release \ | ||
DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" GCC_GENERATE_DEBUGGING_SYMBOLS=YES \ | ||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO | ||
|
||
xcodebuild archive \ | ||
-workspace Backtrace.xcworkspace \ | ||
-scheme "Backtrace-macOS-lib" \ | ||
-destination "platform=macOS" \ | ||
-archivePath ${BUILD_PATH}/Backtrace-macOS-lib.xcarchive \ | ||
-derivedDataPath ${DERIVED_DATA_PATH} \ | ||
-configuration Release \ | ||
DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" GCC_GENERATE_DEBUGGING_SYMBOLS=YES \ | ||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO | ||
|
||
xcodebuild archive \ | ||
-workspace Backtrace.xcworkspace \ | ||
-scheme "Backtrace-tvOS-lib" \ | ||
-destination "generic/platform=tvOS" \ | ||
-archivePath ${BUILD_PATH}/Backtrace-tvOS-lib.xcarchive \ | ||
-derivedDataPath ${DERIVED_DATA_PATH} \ | ||
-configuration Release \ | ||
DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" GCC_GENERATE_DEBUGGING_SYMBOLS=YES \ | ||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO | ||
|
||
xcodebuild archive \ | ||
-workspace Backtrace.xcworkspace \ | ||
-scheme "Backtrace-tvOS-lib" \ | ||
-destination "generic/platform=tvOS Simulator" \ | ||
-archivePath ${BUILD_PATH}/Backtrace-tvOS-Simulator-lib.xcarchive \ | ||
-derivedDataPath ${DERIVED_DATA_PATH} \ | ||
-configuration Release \ | ||
DEBUG_INFORMATION_FORMAT="dwarf-with-dsym" GCC_GENERATE_DEBUGGING_SYMBOLS=YES \ | ||
BUILD_LIBRARY_FOR_DISTRIBUTION=YES SKIP_INSTALL=NO | ||
|
||
xcodebuild -create-xcframework \ | ||
-archive ${BUILD_PATH}/Backtrace-iOS-lib.xcarchive -framework Backtrace.framework \ | ||
-archive ${BUILD_PATH}/Backtrace-iOS-Simulator-lib.xcarchive -framework Backtrace.framework \ | ||
-archive ${BUILD_PATH}/Backtrace-macOS-lib.xcarchive -framework Backtrace.framework \ | ||
-archive ${BUILD_PATH}/Backtrace-tvOS-lib.xcarchive -framework Backtrace.framework \ | ||
-archive ${BUILD_PATH}/Backtrace-tvOS-Simulator-lib.xcarchive -framework Backtrace.framework \ | ||
-output ${WORKFLOW_XC_PATH}/Backtrace.xcframework | ||
|
||
rm -rf ${BUILD_PATH} | ||
rm -rf ${DERIVED_DATA_PATH} | ||
|
||
if [ ! -d "$POD_PATH" ]; then | ||
echo "Error: Source directory '$POD_PATH' does not exist." | ||
exit 1 | ||
fi | ||
|
||
cp -r "$POD_PATH" "$WORKFLOW_XC_PATH" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.