From e9048a4861eb227db0475a5dee1316ecdcdf5e07 Mon Sep 17 00:00:00 2001 From: Chris Ballinger Date: Fri, 13 Sep 2019 15:07:37 -0700 Subject: [PATCH 1/2] Change Pod name to avoid conflict. Resolves #32 --- JSONAPI.podspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/JSONAPI.podspec b/JSONAPI.podspec index 615b1c1..f5cac91 100644 --- a/JSONAPI.podspec +++ b/JSONAPI.podspec @@ -15,7 +15,7 @@ Pod::Spec.new do |spec| # summary should be tweet-length, and the description more in depth. # - spec.name = "JSONAPI" + spec.name = "MP-JSONAPI" spec.version = "1.0.0" spec.summary = "Swift Codable JSON API framework." @@ -132,6 +132,7 @@ See the JSON API Spec here: https://jsonapi.org/format/ # you can include multiple dependencies to ensure it works. spec.swift_version = "5.0" + spec.module_name = "JSONAPI" # spec.requires_arc = true # spec.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } From e99c6625f881d95f04fa9c005e9727c9abe20f25 Mon Sep 17 00:00:00 2001 From: Chris Ballinger Date: Sat, 14 Sep 2019 10:07:53 -0700 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f582bac..508e82c 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ Just include the following in your package's dependencies and add `JSONAPI` to t To use this framework in your project via Cocoapods, add the following dependencies to your Podfile. ``` pod 'Poly', :git => 'https://github.com/mattpolzin/Poly.git' - pod 'JSONAPI', :git => 'https://github.com/mattpolzin/JSONAPI.git' + pod 'MP-JSONAPI', :git => 'https://github.com/mattpolzin/JSONAPI.git' ``` ### Xcode project