Skip to content

Commit 19e90ac

Browse files
authored
Merge pull request #39 from backtrace-labs/develop
* Fix Xcode 11.x compilation issue (#38) * Initialize URLSession response Fix issue in Xcode 11 caused by URLSession response being captured before initialization * Fix dangling pointer Use `withUnsafeMutableBytes` in order to explicitly convert the argument to buffer pointer valid for a defined scope. * Bump podspec version * Update dependencies * Update Travis CI script * Update Fastfile * Add Brewfile * Remove Fastlane from Gemfile (#40) * Feature/update schemes (#41) * Update target's schemes * Bump Xcode version on Travis CI
2 parents f463bf9 + 8a4dd06 commit 19e90ac

File tree

17 files changed

+103
-199
lines changed

17 files changed

+103
-199
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.4
1+
2.7.0

.travis.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
language: swift
22
os: osx
3-
osx_image: xcode11.2
4-
before_install:
5-
- bundler install
6-
- bundle update
7-
- bundle exec pod repo update
8-
- bundle exec pod install
3+
osx_image: xcode11.6
94
script:
10-
- bundle exec fastlane ios tests
11-
- bundle exec fastlane mac tests
5+
- sh scripts/install.sh
6+
- sh scripts/test.sh

Backtrace.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
Pod::Spec.new do |s|
1010

1111
s.name = "Backtrace"
12-
s.version = "1.5.4"
12+
s.version = "1.5.5"
1313
s.summary = "Backtrace's integration with iOS, macOS and tvOS"
1414
s.description = "Reliable crash and hang reporting for iOS, macOS and tvOS."
1515
s.homepage = "https://backtrace.io/"

Backtrace.xcodeproj/xcshareddata/xcschemes/Backtrace-iOS.xcscheme

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,6 @@
2020
ReferencedContainer = "container:Backtrace.xcodeproj">
2121
</BuildableReference>
2222
</BuildActionEntry>
23-
<BuildActionEntry
24-
buildForTesting = "YES"
25-
buildForRunning = "NO"
26-
buildForProfiling = "NO"
27-
buildForArchiving = "NO"
28-
buildForAnalyzing = "NO">
29-
<BuildableReference
30-
BuildableIdentifier = "primary"
31-
BlueprintIdentifier = "F2C2FA5821BBD26300934744"
32-
BuildableName = "Backtrace-iOSTests.xctest"
33-
BlueprintName = "Backtrace-iOSTests"
34-
ReferencedContainer = "container:Backtrace.xcodeproj">
35-
</BuildableReference>
36-
</BuildActionEntry>
3723
</BuildActionEntries>
3824
</BuildAction>
3925
<TestAction

Backtrace.xcodeproj/xcshareddata/xcschemes/Backtrace-macOS.xcscheme

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,6 @@
5757
BlueprintName = "Backtrace-macOSTests"
5858
ReferencedContainer = "container:Backtrace.xcodeproj">
5959
</BuildableReference>
60-
<SkippedTests>
61-
<Test
62-
Identifier = "BacktraceIntegrationTests">
63-
</Test>
64-
</SkippedTests>
6560
</TestableReference>
6661
</Testables>
6762
</TestAction>

Brewfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
brew "fastlane"

Brewfile.lock.json

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"entries": {
3+
"brew": {
4+
"fastlane": {
5+
"version": "2.152.0",
6+
"bottle": {
7+
"cellar": ":any",
8+
"prefix": "/usr/local",
9+
"files": {
10+
"catalina": {
11+
"url": "https://homebrew.bintray.com/bottles/fastlane-2.152.0.catalina.bottle.tar.gz",
12+
"sha256": "133fd49959694621a60d6212e9e21631c34015b836427353e8c864a280d579cb"
13+
},
14+
"mojave": {
15+
"url": "https://homebrew.bintray.com/bottles/fastlane-2.152.0.mojave.bottle.tar.gz",
16+
"sha256": "346c5892ebc93be7f37ab7e080db591d4d91c1849096b478739a1873988af4f9"
17+
},
18+
"high_sierra": {
19+
"url": "https://homebrew.bintray.com/bottles/fastlane-2.152.0.high_sierra.bottle.tar.gz",
20+
"sha256": "6d96e2a20decfae69a34e7e774edaa30da4b3d7f7895291612c33031a6d27d53"
21+
}
22+
}
23+
}
24+
}
25+
}
26+
},
27+
"system": {
28+
"macos": {
29+
"catalina": {
30+
"HOMEBREW_VERSION": "2.4.7",
31+
"HOMEBREW_PREFIX": "/usr/local",
32+
"Homebrew/homebrew-core": "3635145b479e8168b3a6b6f93c6662e862364fd3",
33+
"CLT": "1103.0.32.62",
34+
"Xcode": "11.6",
35+
"macOS": "10.15.6"
36+
}
37+
}
38+
}
39+
}

Gemfile

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
# frozen_string_literal: true
2-
31
source "https://rubygems.org"
42

5-
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
6-
7-
gem "fastlane"
83
gem "cocoapods"

Gemfile.lock

Lines changed: 23 additions & 152 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,20 @@ GEM
22
remote: https://rubygems.org/
33
specs:
44
CFPropertyList (3.0.2)
5-
activesupport (4.2.11.1)
5+
activesupport (4.2.11.3)
66
i18n (~> 0.7)
77
minitest (~> 5.1)
88
thread_safe (~> 0.3, >= 0.3.4)
99
tzinfo (~> 1.1)
10-
addressable (2.7.0)
11-
public_suffix (>= 2.0.2, < 5.0)
12-
algoliasearch (1.27.1)
10+
algoliasearch (1.27.3)
1311
httpclient (~> 2.8, >= 2.8.3)
1412
json (>= 1.5.1)
1513
atomos (0.1.3)
16-
babosa (1.0.3)
1714
claide (1.0.3)
18-
cocoapods (1.8.4)
15+
cocoapods (1.9.3)
1916
activesupport (>= 4.0.2, < 5)
2017
claide (>= 1.0.2, < 2.0)
21-
cocoapods-core (= 1.8.4)
18+
cocoapods-core (= 1.9.3)
2219
cocoapods-deintegrate (>= 1.0.3, < 2.0)
2320
cocoapods-downloader (>= 1.2.2, < 2.0)
2421
cocoapods-plugins (>= 1.0.0, < 2.0)
@@ -33,187 +30,61 @@ GEM
3330
molinillo (~> 0.6.6)
3431
nap (~> 1.0)
3532
ruby-macho (~> 1.4)
36-
xcodeproj (>= 1.11.1, < 2.0)
37-
cocoapods-core (1.8.4)
33+
xcodeproj (>= 1.14.0, < 2.0)
34+
cocoapods-core (1.9.3)
3835
activesupport (>= 4.0.2, < 6)
3936
algoliasearch (~> 1.0)
4037
concurrent-ruby (~> 1.1)
4138
fuzzy_match (~> 2.0.4)
4239
nap (~> 1.0)
40+
netrc (~> 0.11)
41+
typhoeus (~> 1.0)
4342
cocoapods-deintegrate (1.0.4)
44-
cocoapods-downloader (1.3.0)
43+
cocoapods-downloader (1.4.0)
4544
cocoapods-plugins (1.0.0)
4645
nap
4746
cocoapods-search (1.0.0)
4847
cocoapods-stats (1.1.0)
49-
cocoapods-trunk (1.4.1)
48+
cocoapods-trunk (1.5.0)
5049
nap (>= 0.8, < 2.0)
5150
netrc (~> 0.11)
52-
cocoapods-try (1.1.0)
53-
colored (1.2)
51+
cocoapods-try (1.2.0)
5452
colored2 (3.1.2)
55-
commander-fastlane (4.4.6)
56-
highline (~> 1.7.2)
5753
concurrent-ruby (1.1.6)
58-
declarative (0.0.10)
59-
declarative-option (0.1.0)
60-
digest-crc (0.4.1)
61-
domain_name (0.5.20190701)
62-
unf (>= 0.0.5, < 1.0.0)
63-
dotenv (2.7.5)
64-
emoji_regex (1.0.1)
6554
escape (0.0.4)
66-
excon (0.72.0)
67-
faraday (0.17.3)
68-
multipart-post (>= 1.2, < 3)
69-
faraday-cookie_jar (0.0.6)
70-
faraday (>= 0.7.4)
71-
http-cookie (~> 1.0.0)
72-
faraday_middleware (0.13.1)
73-
faraday (>= 0.7.4, < 1.0)
74-
fastimage (2.1.7)
75-
fastlane (2.141.0)
76-
CFPropertyList (>= 2.3, < 4.0.0)
77-
addressable (>= 2.3, < 3.0.0)
78-
babosa (>= 1.0.2, < 2.0.0)
79-
bundler (>= 1.12.0, < 3.0.0)
80-
colored
81-
commander-fastlane (>= 4.4.6, < 5.0.0)
82-
dotenv (>= 2.1.1, < 3.0.0)
83-
emoji_regex (>= 0.1, < 2.0)
84-
excon (>= 0.71.0, < 1.0.0)
85-
faraday (~> 0.17)
86-
faraday-cookie_jar (~> 0.0.6)
87-
faraday_middleware (~> 0.13.1)
88-
fastimage (>= 2.1.0, < 3.0.0)
89-
gh_inspector (>= 1.1.2, < 2.0.0)
90-
google-api-client (>= 0.29.2, < 0.37.0)
91-
google-cloud-storage (>= 1.15.0, < 2.0.0)
92-
highline (>= 1.7.2, < 2.0.0)
93-
json (< 3.0.0)
94-
jwt (~> 2.1.0)
95-
mini_magick (>= 4.9.4, < 5.0.0)
96-
multi_xml (~> 0.5)
97-
multipart-post (~> 2.0.0)
98-
plist (>= 3.1.0, < 4.0.0)
99-
public_suffix (~> 2.0.0)
100-
rubyzip (>= 1.3.0, < 2.0.0)
101-
security (= 0.1.3)
102-
simctl (~> 1.6.3)
103-
slack-notifier (>= 2.0.0, < 3.0.0)
104-
terminal-notifier (>= 2.0.0, < 3.0.0)
105-
terminal-table (>= 1.4.5, < 2.0.0)
106-
tty-screen (>= 0.6.3, < 1.0.0)
107-
tty-spinner (>= 0.8.0, < 1.0.0)
108-
word_wrap (~> 1.0.0)
109-
xcodeproj (>= 1.13.0, < 2.0.0)
110-
xcpretty (~> 0.3.0)
111-
xcpretty-travis-formatter (>= 0.0.3)
55+
ethon (0.12.0)
56+
ffi (>= 1.3.0)
57+
ffi (1.13.1)
11258
fourflusher (2.3.1)
11359
fuzzy_match (2.0.4)
11460
gh_inspector (1.1.3)
115-
google-api-client (0.36.4)
116-
addressable (~> 2.5, >= 2.5.1)
117-
googleauth (~> 0.9)
118-
httpclient (>= 2.8.1, < 3.0)
119-
mini_mime (~> 1.0)
120-
representable (~> 3.0)
121-
retriable (>= 2.0, < 4.0)
122-
signet (~> 0.12)
123-
google-cloud-core (1.5.0)
124-
google-cloud-env (~> 1.0)
125-
google-cloud-errors (~> 1.0)
126-
google-cloud-env (1.3.0)
127-
faraday (~> 0.11)
128-
google-cloud-errors (1.0.0)
129-
google-cloud-storage (1.25.1)
130-
addressable (~> 2.5)
131-
digest-crc (~> 0.4)
132-
google-api-client (~> 0.33)
133-
google-cloud-core (~> 1.2)
134-
googleauth (~> 0.9)
135-
mini_mime (~> 1.0)
136-
googleauth (0.10.0)
137-
faraday (~> 0.12)
138-
jwt (>= 1.4, < 3.0)
139-
memoist (~> 0.16)
140-
multi_json (~> 1.11)
141-
os (>= 0.9, < 2.0)
142-
signet (~> 0.12)
143-
highline (1.7.10)
144-
http-cookie (1.0.3)
145-
domain_name (~> 0.5)
14661
httpclient (2.8.3)
14762
i18n (0.9.5)
14863
concurrent-ruby (~> 1.0)
149-
json (2.3.0)
150-
jwt (2.1.0)
151-
memoist (0.16.2)
152-
mini_magick (4.10.1)
153-
mini_mime (1.0.2)
154-
minitest (5.14.0)
64+
json (2.3.1)
65+
minitest (5.14.1)
15566
molinillo (0.6.6)
156-
multi_json (1.14.1)
157-
multi_xml (0.6.0)
158-
multipart-post (2.0.0)
159-
nanaimo (0.2.6)
67+
nanaimo (0.3.0)
16068
nap (1.1.0)
161-
naturally (2.2.0)
16269
netrc (0.11.0)
163-
os (1.0.1)
164-
plist (3.5.0)
165-
public_suffix (2.0.5)
166-
representable (3.0.4)
167-
declarative (< 0.1.0)
168-
declarative-option (< 0.2.0)
169-
uber (< 0.2.0)
170-
retriable (3.1.2)
171-
rouge (2.0.7)
17270
ruby-macho (1.4.0)
173-
rubyzip (1.3.0)
174-
security (0.1.3)
175-
signet (0.12.0)
176-
addressable (~> 2.3)
177-
faraday (~> 0.9)
178-
jwt (>= 1.5, < 3.0)
179-
multi_json (~> 1.10)
180-
simctl (1.6.8)
181-
CFPropertyList
182-
naturally
183-
slack-notifier (2.3.2)
184-
terminal-notifier (2.0.0)
185-
terminal-table (1.8.0)
186-
unicode-display_width (~> 1.1, >= 1.1.1)
18771
thread_safe (0.3.6)
188-
tty-cursor (0.7.1)
189-
tty-screen (0.7.1)
190-
tty-spinner (0.9.3)
191-
tty-cursor (~> 0.7)
192-
tzinfo (1.2.6)
72+
typhoeus (1.4.0)
73+
ethon (>= 0.9.0)
74+
tzinfo (1.2.7)
19375
thread_safe (~> 0.1)
194-
uber (0.1.0)
195-
unf (0.1.4)
196-
unf_ext
197-
unf_ext (0.0.7.6)
198-
unicode-display_width (1.6.1)
199-
word_wrap (1.0.0)
200-
xcodeproj (1.15.0)
76+
xcodeproj (1.17.1)
20177
CFPropertyList (>= 2.3.3, < 4.0)
20278
atomos (~> 0.1.3)
20379
claide (>= 1.0.2, < 2.0)
20480
colored2 (~> 3.1)
205-
nanaimo (~> 0.2.6)
206-
xcpretty (0.3.0)
207-
rouge (~> 2.0.7)
208-
xcpretty-travis-formatter (1.0.0)
209-
xcpretty (~> 0.2, >= 0.0.7)
81+
nanaimo (~> 0.3.0)
21082

21183
PLATFORMS
21284
ruby
21385

21486
DEPENDENCIES
21587
cocoapods
216-
fastlane
21788

21889
BUNDLED WITH
219-
2.0.2
90+
2.1.4

Podfile.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- Backtrace (1.5.4):
2+
- Backtrace (1.5.5):
33
- Backtrace-PLCrashReporter
44
- Backtrace-PLCrashReporter (1.5.2)
55
- Nimble (8.0.5)
@@ -22,11 +22,11 @@ EXTERNAL SOURCES:
2222
:path: "./Backtrace.podspec"
2323

2424
SPEC CHECKSUMS:
25-
Backtrace: 3be763061ac14fd97029d78cbfc6b39c179b62a9
25+
Backtrace: d3dfe8106c641cbee1413dec5e3c997840bbe17d
2626
Backtrace-PLCrashReporter: cae6b9bd6d0b2f55adc114c1a41908c03f1bfc72
2727
Nimble: 4ab1aeb9b45553c75b9687196b0fa0713170a332
2828
Quick: 7fb19e13be07b5dfb3b90d4f9824c855a11af40e
2929

3030
PODFILE CHECKSUM: 62d8c592f7a14dbdbf06ce7cbf47810c1a25075e
3131

32-
COCOAPODS: 1.8.4
32+
COCOAPODS: 1.9.3

0 commit comments

Comments
 (0)