You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](https://github.com/danielgindi/ios-charts/releases)[](http://cocoapods.org/pods/charts)
@@ -32,14 +32,14 @@ If you want to compile for iOS 7:
32
32
33
33
1. Drag the code itself (.swift files) to your project. As sadly, Swift currently does not support compiling Frameworks for iOS 7.
34
34
2. Make sure that the files are added to the Target membership.
35
-
3. If you do not need/want support for *Realm.io*, you can make the `Realm.framework`*optional* in your Build Phases, or avoid copying the `Realm` folder, the `Utils/RealmChartUtils.swift` and the `Realm.framework`.
36
35
37
36
## Troubleshooting
38
37
39
38
#### Can't compile?
40
39
41
40
* Please note the difference between installing a compiled framework from Cocoapods or Carthage, and copying the source code.
42
-
* If you are compiling the source code and not using Realm, please *delete* the folder `Charts/Classes/Data/Implementation/Realm` and `Charts/Classes/Utils/RealmChartUtils.swift` to remove Realm.io support.
41
+
* If you are using Realm, please also `#import <ChartsRealm/ChartsRealm.h>`
42
+
* If you are compiling the source code and want to use Realm, please make sure to include the code from `ChartsRealm` project.
43
43
* Please read the **Usage** section again.
44
44
* Search in the issues
45
45
* Try to politely ask in the issues section
@@ -65,11 +65,11 @@ pod 'Charts/Realm'
65
65
Charts now include Carthage prebuilt binaries.
66
66
67
67
```carthage
68
-
github "danielgindi/ios-charts" == 2.2.0
69
-
github "danielgindi/ios-charts" ~> 2.2.0
68
+
github "danielgindi/ios-charts" == 2.2.2
69
+
github "danielgindi/ios-charts" ~> 2.2.2
70
70
```
71
71
72
-
In order to build the binaries for a new release, use `carthage build --no-skip-current && carthage archive Charts`.
72
+
In order to build the binaries for a new release, use `carthage build --no-skip-current && carthage archive Charts && carthage archive ChartsRealm`.
0 commit comments