Skip to content

Commit 04ba791

Browse files
authored
Bump to v3.0.0 (#4)
- Added support for Realm 10+
1 parent 839a8b7 commit 04ba791

17 files changed

Lines changed: 18661 additions & 409 deletions

File tree

.gitignore

Lines changed: 78 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/Realm
21

3-
# Created by https://www.gitignore.io/api/xcode,swift,macos,carthage,cocoapods
2+
# Created by https://www.toptal.com/developers/gitignore/api/xcode,swift,swiftpackagemanager,fastlane,cocoapods,carthage
3+
# Edit at https://www.toptal.com/developers/gitignore?templates=xcode,swift,swiftpackagemanager,fastlane,cocoapods,carthage
44

55
### Carthage ###
66
# Carthage
@@ -18,43 +18,44 @@ Carthage/Build
1818
# - AS PER https://guides.cocoapods.org/using/using-cocoapods.html NEVER IGNORE THE LOCK FILE
1919
Pods/
2020

21-
### macOS ###
22-
*.DS_Store
23-
.AppleDouble
24-
.LSOverride
25-
26-
# Icon must end with two \r
27-
Icon
28-
29-
# Thumbnails
30-
._*
31-
32-
# Files that might appear in the root of a volume
33-
.DocumentRevisions-V100
34-
.fseventsd
35-
.Spotlight-V100
36-
.TemporaryItems
37-
.Trashes
38-
.VolumeIcon.icns
39-
.com.apple.timemachine.donotpresent
40-
41-
# Directories potentially created on remote AFP share
42-
.AppleDB
43-
.AppleDesktop
44-
Network Trash Folder
45-
Temporary Items
46-
.apdisk
21+
### fastlane ###
22+
# fastlane - A streamlined workflow tool for Cocoa deployment
23+
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
24+
# screenshots whenever they are needed.
25+
# For more information about the recommended setup visit:
26+
# https://docs.fastlane.tools/best-practices/source-control/#source-control
27+
28+
# fastlane specific
29+
fastlane/report.xml
30+
31+
# deliver temporary files
32+
fastlane/Preview.html
33+
34+
# snapshot generated screenshots
35+
fastlane/screenshots/**/*.png
36+
fastlane/screenshots/screenshots.html
37+
38+
# scan temporary files
39+
fastlane/test_output
40+
41+
# Fastlane.swift runner binary
42+
fastlane/FastlaneRunner
4743

4844
### Swift ###
4945
# Xcode
50-
#
5146
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
5247

53-
## Build generated
48+
## User settings
49+
xcuserdata/
50+
51+
## compatibility with Xcode 8 and earlier (ignoring not required starting Xcode 9)
52+
*.xcscmblueprint
53+
*.xccheckout
54+
55+
## compatibility with Xcode 3 and earlier (ignoring not required starting Xcode 4)
5456
build/
5557
DerivedData/
56-
57-
## Various settings
58+
*.moved-aside
5859
*.pbxuser
5960
!default.pbxuser
6061
*.mode1v3
@@ -63,15 +64,11 @@ DerivedData/
6364
!default.mode2v3
6465
*.perspectivev3
6566
!default.perspectivev3
66-
xcuserdata/
67-
68-
## Other
69-
*.moved-aside
70-
*.xccheckout
71-
*.xcscmblueprint
7267

7368
## Obj-C/Swift specific
7469
*.hmap
70+
71+
## App packaging
7572
*.ipa
7673
*.dSYM.zip
7774
*.dSYM
@@ -81,46 +78,69 @@ timeline.xctimeline
8178
playground.xcworkspace
8279

8380
# Swift Package Manager
84-
#
8581
# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
86-
Packages/
87-
Package.pins
88-
Package.resolved
82+
# Packages/
83+
# Package.pins
84+
# Package.resolved
85+
# *.xcodeproj
86+
# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
87+
# hence it is not needed unless you have added a package configuration file to your project
88+
# .swiftpm
89+
8990
.build/
9091

91-
# CocoaPods - Refactored to standalone file
92+
# CocoaPods
93+
# We recommend against adding the Pods directory to your .gitignore. However
94+
# you should judge for yourself, the pros and cons are mentioned at:
95+
# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
96+
# Pods/
97+
# Add this line if you want to avoid checking in source code from the Xcode workspace
98+
# *.xcworkspace
99+
100+
# Carthage
101+
# Add this line if you want to avoid checking in source code from Carthage dependencies.
102+
# Carthage/Checkouts
103+
104+
Carthage/Build/
92105

93-
# Carthage - Refactored to standalone file
106+
# Accio dependency management
107+
Dependencies/
108+
.accio/
94109

95110
# fastlane
96-
#
97-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
98-
# screenshots whenever they are needed.
111+
# It is recommended to not store the screenshots in the git repo.
112+
# Instead, use fastlane to re-generate the screenshots whenever they are needed.
99113
# For more information about the recommended setup visit:
100114
# https://docs.fastlane.tools/best-practices/source-control/#source-control
101115

102-
fastlane/report.xml
103-
fastlane/Preview.html
104-
fastlane/screenshots
105-
fastlane/test_output
116+
117+
# Code Injection
118+
# After new code Injection tools there's a generated folder /iOSInjectionProject
119+
# https://github.com/johnno1962/injectionforxcode
120+
121+
iOSInjectionProject/
122+
123+
### SwiftPackageManager ###
124+
Packages
125+
xcuserdata
126+
*.xcodeproj
127+
106128

107129
### Xcode ###
108130
# Xcode
109-
#
110131
# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
111132

112-
## Build generated
113133

114-
## Various settings
115134

116-
## Other
135+
136+
## Gcc Patch
137+
/*.gcno
117138

118139
### Xcode Patch ###
119140
*.xcodeproj/*
120141
!*.xcodeproj/project.pbxproj
121142
!*.xcodeproj/xcshareddata/
122143
!*.xcworkspace/contents.xcworkspacedata
123-
/*.gcno
124-
144+
**/xcshareddata/WorkspaceSettings.xcsettings
125145

126-
# End of https://www.gitignore.io/api/xcode,swift,macos,carthage,cocoapods
146+
# End of https://www.toptal.com/developers/gitignore/api/xcode,swift,swiftpackagemanager,fastlane,cocoapods,carthage

BackgroundRealm.podspec

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "BackgroundRealm"
4-
s.version = "2.2.1"
4+
s.version = "3.0.0"
55
s.summary = "A collection of handy classes and extensions that make it easier to work with `RealmSwift` in the background."
66
s.screenshot = "https://github.com/BellAppLab/BackgroundRealm/raw/master/Images/background_realm.png"
77

@@ -24,10 +24,10 @@ For the Objective-C counterpart, see [BLBackgroundRealm](https://github.com/Bell
2424

2525
s.swift_version = '5.0', '5.1', '5.2', '5.3'
2626

27-
s.ios.deployment_target = "9.0"
28-
s.osx.deployment_target = "10.11"
29-
s.tvos.deployment_target = "10.0"
30-
s.watchos.deployment_target = "3.0"
27+
s.ios.deployment_target = "12.0"
28+
s.osx.deployment_target = "10.12"
29+
s.tvos.deployment_target = "12.0"
30+
s.watchos.deployment_target = "4.0"
3131

3232
s.module_name = 'BackgroundRealm'
3333

@@ -36,7 +36,7 @@ For the Objective-C counterpart, see [BLBackgroundRealm](https://github.com/Bell
3636
s.source_files = "Sources/BackgroundRealm"
3737

3838
s.framework = "Foundation"
39-
s.dependency 'Realm', '~> 4.0'
40-
s.dependency 'RealmSwift', '~> 4.0'
39+
s.dependency 'Realm', '~> 10.0'
40+
s.dependency 'RealmSwift', '~> 10.0'
4141

4242
end

CONTRIBUTING.md

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
11
# Contributing to BackgroundRealm
22

3-
## Installation
4-
5-
1. Fork and clone the repo
6-
2. Download Realm into some folder in your machine (it's large and we don't want it in the repo)
7-
- [Earliest supported version](https://static.realm.io/downloads/swift/realm-swift-3.0.0.zip) - v3.0.0
8-
- [Latest supported version](https://static.realm.io/downloads/swift/realm-swift-5.3.3.zip) - v5.3.3
9-
3. Rename the unzipped folder from `realm-swift-<version>` to `realm-swift-latest`
10-
3. Navigate to your clone's folder and create a symbolic link to the Realm libraries
11-
- `ln -s <path/to/realm> ./Realm`
12-
4. Add `Realm.framework` and `RealmSwift.framework` to the **iOS Example**, **tvOS Example** and **macOS Example** targets
13-
- Change the frameworks' embed strategy to **Embed & Sign**
14-
15-
## Changing Versions
16-
17-
* To change the **Xcode** version:
18-
- Go to *Project Navigator* > **Example** > **Example** > **Build Settings** > **XCODE_VERSION**
19-
- _Note 1_: This will automatically change the appropriate Realm version too
3+
TBD

0 commit comments

Comments
 (0)