Skip to content

Commit

Permalink
Switched the Mach-O Type to Static Framework. (Read more: https://git…
Browse files Browse the repository at this point in the history
  • Loading branch information
arturgrigor committed Nov 25, 2018
1 parent 8f2ccec commit 7e6600b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CloudKitGDPR.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'CloudKitGDPR'
s.version = '1.1.0'
s.version = '1.2.0'
s.license = 'MIT'
s.summary = 'Framework for allowing users to manage data stored in iCloud.'
s.homepage = 'https://github.com/arturgrigor/CloudKitGDPR'
Expand Down
6 changes: 4 additions & 2 deletions CloudKitGDPR.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1.0.0;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = dwarf;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand Down Expand Up @@ -503,7 +503,7 @@
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_IDENTITY = "iPhone Developer";
COPY_PHASE_STRIP = NO;
CURRENT_PROJECT_VERSION = 1.0.0;
CURRENT_PROJECT_VERSION = 1;
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand Down Expand Up @@ -547,6 +547,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MACH_O_TYPE = staticlib;
PRODUCT_BUNDLE_IDENTIFIER = me.arturgrigor.CloudKitGDPR;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand All @@ -570,6 +571,7 @@
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
MACH_O_TYPE = staticlib;
PRODUCT_BUNDLE_IDENTIFIER = me.arturgrigor.CloudKitGDPR;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
SKIP_INSTALL = YES;
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ $ brew install carthage
To integrate CloudKitGDPR into your Xcode project using Carthage, specify it in your `Cartfile`:

```ogdl
github "arturgrigor/CloudKitGDPR" ~> 1.1
github "arturgrigor/CloudKitGDPR" ~> 1.2
```

Run `carthage update` to build the framework and drag the built `CloudKitGDPR.framework` into your Xcode project.

❗️ Please note that since version 1.2 this is a *Static Framework* and it does not need to be included in the **carthage copy-frameworks** Build Phase. For more information please consult the [Build static frameworks to speed up your app’s launch times](https://github.com/Carthage/Carthage#carthage-0300-or-higher) section.

### CocoaPods

[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:
Expand All @@ -53,7 +55,7 @@ platform :ios, '10.0'
use_frameworks!

target '<Your Target Name>' do
pod 'CloudKitGDPR', '~> 1.1'
pod 'CloudKitGDPR', '~> 1.2'
end
```

Expand Down
4 changes: 2 additions & 2 deletions Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>1.2.0</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<string>1</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
Expand Down

0 comments on commit 7e6600b

Please sign in to comment.