Skip to content

Release-2.0.6 #143

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 2 commits into from
Aug 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Backtrace.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Pod::Spec.new do |s|

s.name = "Backtrace"
s.version = "2.0.5-alpha1"
s.version = "2.0.6"
s.swift_version = '5'
s.summary = "Backtrace's integration with iOS, macOS and tvOS"
s.description = "Reliable crash and hang reporting for iOS, macOS and tvOS."
Expand Down
4 changes: 2 additions & 2 deletions Backtrace.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3406,7 +3406,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.0.5;
MARKETING_VERSION = 2.0.6;
STRIP_STYLE = debugging;
STRIP_SWIFT_SYMBOLS = NO;
SWIFT_VERSION = 5.0;
Expand All @@ -3420,7 +3420,7 @@
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
MACOSX_DEPLOYMENT_TARGET = 10.13;
MARKETING_VERSION = 2.0.5;
MARKETING_VERSION = 2.0.6;
STRIP_STYLE = debugging;
STRIP_SWIFT_SYMBOLS = NO;
SWIFT_VERSION = 5.0;
Expand Down
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Backtrace Cocoa Release Notes

## Version 2.0.5-alpha1
- Distributes XCFramework (#137)
## Version 2.0.6
- Distributes XCFramework (#136)
- Adds Mac catalyst support (#139)
- Embeds xcprivacy manifest (#140)
- Codesigns binaries (#141)
- Generates PLCReport with exception (#142)

## Version 2.0.5
- Enables client side unwinding default setting (#134)
Expand Down
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ Choose one of the following integration methods.

### Via Xcode
1. In **File > Add Packages**, search for and add `https://github.com/backtrace-labs/backtrace-cocoa.git`
1. Verify your project **Package Dependencies** list backtrace-cocoa.
1. Add Backtrace to your target’s **Frameworks, Libraries, and Embedded Content**.
2. Verify your project **Package Dependencies** list backtrace-cocoa.
3. Add Backtrace to your target’s **Frameworks, Libraries, and Embedded Content**.

### Via Package.swift
Add this dependency to your `Package.swift` file:
Expand All @@ -30,10 +30,25 @@ Add this dependency to your `Package.swift` file:
Add the following to your `Podfile`:
- Specify `use_frameworks!`.
- Add the `Backtrace` pod:

```
pod 'Backtrace'
```

### Via Multiplatform Binary Framework Bundle
1. Obtain and Unarchive [Backtrace](https://github.com/backtrace-labs/backtrace-cocoa/releases) binary frameworks
2. Add Backtrace multiplatform binary framework bundle to your project using the method that best fits your workflow:
* Drag & drop `.framework` or `.xcframework` from Finder into Xcode's Project Navigator and check the Target Membership setting
* Using Swift Package Manager's `binaryTarget` flag
* Using CocoaPods's `vendored_frameworks` flag

> **Note:**
> Backtrace multiplatform binary framework contains Mach-O 64-bit dynamic binaries for iOS, macOS, Mac Catalyst and tvOS.
>
> When adding Backtrace to your project, set `Frameworks, Libraries and Embedded Content` section to `Embed`.
>
> [PLCrashReporter](https://github.com/microsoft/plcrashreporter?tab=readme-ov-file#integration-by-copying-the-binaries-into-your-project) multiplatform binary framework contains static binaries, set `Frameworks, Libraries and Embedded Content` section to `Do Not Embed`.

## Usage
### Swift
https://github.com/backtrace-labs/backtrace-cocoa/blob/8551020be9334f61cd9f27d39a7b4e7d2733d4b0/Examples/Example-iOS/AppDelegate.swift#L21-L41
Expand Down
2 changes: 1 addition & 1 deletion Sources/Features/Attributes/DefaultAttributes.swift
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ struct LibInfo: AttributesSource {
private static let applicationGuidKey = "backtrace.unique.user.identifier"
private static let applicationLangName = "backtrace-cocoa"

var backtraceVersion = "2.0.5-alpha1"
var backtraceVersion = "2.0.6"

var immutable: [String: Any?] {
return ["guid": LibInfo.guid(store: UserDefaultsStore.self).uuidString,
Expand Down
Loading