Skip to content
This repository was archived by the owner on Jun 13, 2023. It is now read-only.

Fixed double exporting and carthage issues #124

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
url = https://github.com/BoltsFramework/Bolts-Swift.git
[submodule "Carthage/Checkouts/Parse-SDK-iOS-OSX"]
path = Carthage/Checkouts/Parse-SDK-iOS-OSX
url = https://github.com/ParsePlatform/Parse-SDK-iOS-OSX.git
url = https://github.com/parse-community/Parse-SDK-iOS-OSX.git
[submodule "Carthage/Checkouts/Starscream"]
path = Carthage/Checkouts/Starscream
url = https://github.com/daltoniam/Starscream.git
7 changes: 3 additions & 4 deletions Cartfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
github "BoltsFramework/Bolts-Swift" == 1.3.0
github "ParsePlatform/Parse-SDK-iOS-OSX" == 1.14.2
github "daltoniam/Starscream" == 2.0.3

github "BoltsFramework/Bolts-Swift"
github "parse-community/Parse-SDK-iOS-OSX"
github "daltoniam/Starscream"
4 changes: 2 additions & 2 deletions Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
github "BoltsFramework/Bolts-ObjC" "1.8.4"
github "BoltsFramework/Bolts-Swift" "1.3.0"
github "daltoniam/Starscream" "2.0.3"
github "ParsePlatform/Parse-SDK-iOS-OSX" "1.14.2"
github "daltoniam/Starscream" "2.1.0"
github "parse-community/Parse-SDK-iOS-OSX" "1.15.0"
2 changes: 1 addition & 1 deletion Carthage/Checkouts/Parse-SDK-iOS-OSX
Submodule Parse-SDK-iOS-OSX updated 77 files
+2 −2 .travis.yml
+1 −1 Cartfile.resolved
+2 −0 Configurations/ParseUnitTests-iOS.xcconfig
+2 −0 Configurations/ParseUnitTests-macOS.xcconfig
+35 −26 Gemfile.lock
+4 −0 LICENSE
+4 −0 PATENTS
+3 −3 Parse.podspec
+164 −65 Parse.xcodeproj/project.pbxproj
+1 −1 Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS-Dynamic.xcscheme
+1 −1 Parse.xcodeproj/xcshareddata/xcschemes/Parse-iOS.xcscheme
+1 −1 Parse.xcodeproj/xcshareddata/xcschemes/Parse-macOS.xcscheme
+1 −1 Parse.xcodeproj/xcshareddata/xcschemes/Parse-tvOS-Dynamic.xcscheme
+1 −1 Parse.xcodeproj/xcshareddata/xcschemes/Parse-tvOS.xcscheme
+1 −1 Parse.xcodeproj/xcshareddata/xcschemes/Parse-watchOS-Dynamic.xcscheme
+1 −1 Parse.xcodeproj/xcshareddata/xcschemes/Parse-watchOS.xcscheme
+37 −15 Parse/Internal/File/Controller/PFFileController.m
+13 −0 Parse/Internal/File/Controller/PFFileUploadResult.m
+10 −0 Parse/Internal/LocalDataStore/OfflineStore/PFOfflineStore.m
+6 −1 Parse/Internal/Object/State/PFObjectState.m
+15 −11 Parse/Internal/Object/Subclassing/PFObjectSubclassingController.m
+1 −0 Parse/Internal/ParseClientConfiguration_Private.h
+6 −0 Parse/Internal/ParseManager.m
+16 −0 Parse/Internal/ParseManagerPrivate.h
+2 −0 Parse/Internal/Query/PFQueryConstants.h
+2 −0 Parse/Internal/Query/PFQueryConstants.m
+1 −1 Parse/PFConstants.h
+0 −0 Parse/PFDecoder.h
+0 −0 Parse/PFDecoder.m
+0 −2 Parse/PFEncoder.h
+1 −0 Parse/PFEncoder.m
+37 −0 Parse/PFFileUploadController.h
+17 −0 Parse/PFFileUploadResult.h
+15 −7 Parse/PFInstallation.m
+1 −1 Parse/PFObject.m
+15 −0 Parse/PFQuery.h
+5 −0 Parse/PFQuery.m
+4 −0 Parse/Parse.h
+12 −0 Parse/ParseClientConfiguration.h
+2 −0 Parse/ParseClientConfiguration.m
+2 −2 Parse/Resources/Parse-OSX.Info.plist
+2 −2 Parse/Resources/Parse-iOS.Info.plist
+2 −2 Parse/Resources/Parse-tvOS.Info.plist
+2 −2 Parse/Resources/Parse-watchOS.Info.plist
+11 −1 ParseStarterProject/OSX/ParseOSXStarterProject-Swift/ParseOSXStarterProject-Swift.xcodeproj/project.pbxproj
+1 −1 ...t-Swift/ParseOSXStarterProject-Swift.xcodeproj/xcshareddata/xcschemes/ParseOSXStarterProject-Swift.xcscheme
+12 −13 ParseStarterProject/OSX/ParseOSXStarterProject-Swift/ParseOSXStarterProject/AppDelegate.swift
+2 −2 ParseStarterProject/OSX/ParseOSXStarterProject-Swift/Resources/Info.plist
+1 −1 ...seOSXStarterProject/ParseOSXStarterProject.xcodeproj/xcshareddata/xcschemes/ParseOSXStarterProject.xcscheme
+2 −2 ParseStarterProject/OSX/ParseOSXStarterProject/Resources/Info.plist
+27 −18 ParseStarterProject/iOS/ParseStarterProject-Swift/ParseStarterProject-Swift.xcodeproj/project.pbxproj
+1 −1 ...Project-Swift/ParseStarterProject-Swift.xcodeproj/xcshareddata/xcschemes/ParseStarterProject-Swift.xcscheme
+34 −24 ParseStarterProject/iOS/ParseStarterProject-Swift/ParseStarterProject/AppDelegate.swift
+2 −2 ParseStarterProject/iOS/ParseStarterProject-Swift/Resources/Info.plist
+41 −3 ParseStarterProject/iOS/ParseStarterProject/ParseStarterProject.xcodeproj/project.pbxproj
+1 −1 ...t/iOS/ParseStarterProject/ParseStarterProject.xcodeproj/xcshareddata/xcschemes/ParseStarterProject.xcscheme
+3 −3 ParseStarterProject/iOS/ParseStarterProject/Resources/Info.plist
+3 −0 ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/project.pbxproj
+1 −1 ...OS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/xcshareddata/xcschemes/ParseStarter-tvOS.xcscheme
+4 −4 ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/AppDelegate.swift
+2 −2 ParseStarterProject/tvOS/ParseStarterProject-Swift/ParseStarter/Info.plist
+3 −3 ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/ExtensionDelegate.swift
+2 −2 ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/Info.plist
+2 −2 ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter Extension/InterfaceController.swift
+9 −0 ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter-Swift.xcodeproj/project.pbxproj
+1 −1 ...arseStarterProject-Swift/ParseStarter-Swift.xcodeproj/xcshareddata/xcschemes/ParseWatchStarter-iOS.xcscheme
+1 −1 ...StarterProject-Swift/ParseStarter-Swift.xcodeproj/xcshareddata/xcschemes/ParseWatchStarter-watchOS.xcscheme
+2 −2 ParseStarterProject/watchOS/ParseStarterProject-Swift/ParseStarter/Info.plist
+2 −2 ParseStarterProject/watchOS/ParseStarterProject-Swift/Resources/Info.plist
+21 −17 README.md
+4 −1 Tests/Other/Swift/SwiftSubclass.swift
+2 −1 Tests/Unit/AlertViewTests.m
+11 −0 Tests/Unit/DecoderTests.m
+47 −0 Tests/Unit/InstallationUnitTests.m
+11 −0 Tests/Unit/ObjectStateTests.m
+4 −1 Tests/Unit/ObjectSubclassingControllerTests.m
+10 −0 Tests/Unit/QueryUnitTests.m
6 changes: 3 additions & 3 deletions ParseLiveQuery.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Pod::Spec.new do |s|
s.source_files = 'Sources/ParseLiveQuery/**/*.{swift,h}'
s.module_name = 'ParseLiveQuery'

s.dependency 'Parse', '~> 1.14.2'
s.dependency 'Bolts-Swift', '~> 1.3'
s.dependency 'Starscream', '2.0.3'
s.dependency 'Parse',
s.dependency 'Bolts-Swift',
s.dependency 'Starscream',
end
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ You can install the LiveQuery client via including it in your Podfile:

pod 'ParseLiveQuery'

### Carthage

You can install the LiveQuery client via including it in your Cartfile:

github "parse-community/ParseLiveQuery-iOS-OSX" "master"

#### Important

The latest version of Starscream contains a swiftmodule to export CZLib and CommonCrypto. If you are using another package that redefines this two modules you have to comment out the Starscream's export.


## Use Client

Expand Down Expand Up @@ -65,7 +75,7 @@ We want to make contributing to this project as easy and transparent as possible

-----

As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.
As of April 5, 2017, Parse, LLC has transferred this code to the parse-community organization, and will no longer be contributing to or distributing this code.

[releases]: https://github.com/parse-community/ParseLiveQuery-iOS-OSX/releases
[contributing]: https://github.com/parse-community/ParseLiveQuery-iOS-OSX/blob/master/CONTRIBUTING.md
Expand All @@ -87,4 +97,3 @@ As of April 5, 2017, Parse, LLC has transferred this code to the parse-community

[carthage-svg]:https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat
[carthage-link]:https://github.com/Carthage/Carthage

28 changes: 6 additions & 22 deletions Sources/ParseLiveQuery.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,6 @@
/* Begin PBXBuildFile section */
0632EDD41CA1A6DB00DD3CB8 /* Parse+LiveQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0632EDD31CA1A6DB00DD3CB8 /* Parse+LiveQuery.swift */; };
0632EDD51CA1A6DB00DD3CB8 /* Parse+LiveQuery.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0632EDD31CA1A6DB00DD3CB8 /* Parse+LiveQuery.swift */; };
3B68E5B71DECC32300038DDD /* PFEncoder_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 3B68E5B61DECC32300038DDD /* PFEncoder_internal.h */; settings = {ATTRIBUTES = (Private, ); }; };
3B68E5B81DECC32300038DDD /* PFEncoder_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 3B68E5B61DECC32300038DDD /* PFEncoder_internal.h */; settings = {ATTRIBUTES = (Private, ); }; };
4A819D9D1D937866009C0F61 /* ObjCCompat.swift in Sources */ = {isa = PBXBuildFile; fileRef = F54D58B51C8E33D9009F8D6C /* ObjCCompat.swift */; };
4A819D9E1D93786A009C0F61 /* ObjCCompat.swift in Sources */ = {isa = PBXBuildFile; fileRef = F54D58B51C8E33D9009F8D6C /* ObjCCompat.swift */; };
4AEAE5761DAFC808005F9FFB /* PFDecoder_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 4AEAE5701DAFC3AF005F9FFB /* PFDecoder_internal.h */; settings = {ATTRIBUTES = (Private, ); }; };
4AEAE5771DAFC808005F9FFB /* ParseLiveQuery-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = 4AEAE5731DAFC488005F9FFB /* ParseLiveQuery-Bridging-Header.h */; settings = {ATTRIBUTES = (Private, ); }; };
4AEAE5781DAFC809005F9FFB /* PFDecoder_internal.h in Headers */ = {isa = PBXBuildFile; fileRef = 4AEAE5701DAFC3AF005F9FFB /* PFDecoder_internal.h */; settings = {ATTRIBUTES = (Private, ); }; };
4AEAE5791DAFC809005F9FFB /* ParseLiveQuery-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = 4AEAE5731DAFC488005F9FFB /* ParseLiveQuery-Bridging-Header.h */; settings = {ATTRIBUTES = (Private, ); }; };
094AE8F01E25ADF300F408BC /* libicucore.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 094AE8EF1E25ADF300F408BC /* libicucore.tbd */; };
094AE8F21E25AE0500F408BC /* CFNetwork.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 094AE8F11E25AE0500F408BC /* CFNetwork.framework */; };
094AE8F41E25AE1100F408BC /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 094AE8F31E25AE1100F408BC /* Security.framework */; };
Expand All @@ -37,6 +29,8 @@
09D80FDE1E26C03E00AC7A2D /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09D80FDD1E26C03E00AC7A2D /* SystemConfiguration.framework */; };
09D80FE01E26C04800AC7A2D /* AudioToolbox.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 09D80FDF1E26C04800AC7A2D /* AudioToolbox.framework */; };
09D80FE21E26C05200AC7A2D /* libsqlite3.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 09D80FE11E26C05200AC7A2D /* libsqlite3.tbd */; };
4A819D9D1D937866009C0F61 /* ObjCCompat.swift in Sources */ = {isa = PBXBuildFile; fileRef = F54D58B51C8E33D9009F8D6C /* ObjCCompat.swift */; };
4A819D9E1D93786A009C0F61 /* ObjCCompat.swift in Sources */ = {isa = PBXBuildFile; fileRef = F54D58B51C8E33D9009F8D6C /* ObjCCompat.swift */; };
F534A5B21BDAFE0200CBD11A /* Subscription.swift in Sources */ = {isa = PBXBuildFile; fileRef = F534A5B11BDAFE0200CBD11A /* Subscription.swift */; };
F534A5B41BDB09CE00CBD11A /* Operation.swift in Sources */ = {isa = PBXBuildFile; fileRef = F534A5B31BDB09CE00CBD11A /* Operation.swift */; };
F54D58B81C8E3446009F8D6C /* ClientPrivate.swift in Sources */ = {isa = PBXBuildFile; fileRef = F54D58B71C8E3446009F8D6C /* ClientPrivate.swift */; };
Expand Down Expand Up @@ -186,9 +180,6 @@

/* Begin PBXFileReference section */
0632EDD31CA1A6DB00DD3CB8 /* Parse+LiveQuery.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Parse+LiveQuery.swift"; sourceTree = "<group>"; };
3B68E5B61DECC32300038DDD /* PFEncoder_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = PFEncoder_internal.h; sourceTree = "<group>"; };
4AEAE5701DAFC3AF005F9FFB /* PFDecoder_internal.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = PFDecoder_internal.h; sourceTree = "<group>"; };
4AEAE5731DAFC488005F9FFB /* ParseLiveQuery-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ParseLiveQuery-Bridging-Header.h"; sourceTree = "<group>"; };
090FFBA71E26F14F0010EC2E /* Parse.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = Parse.xcodeproj; path = "../Carthage/Checkouts/Parse-SDK-iOS-OSX/Parse.xcodeproj"; sourceTree = "<group>"; };
094AE8EF1E25ADF300F408BC /* libicucore.tbd */ = {isa = PBXFileReference; lastKnownFileType = "sourcecode.text-based-dylib-definition"; name = libicucore.tbd; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/usr/lib/libicucore.tbd; sourceTree = DEVELOPER_DIR; };
094AE8F11E25AE0500F408BC /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.2.sdk/System/Library/Frameworks/CFNetwork.framework; sourceTree = DEVELOPER_DIR; };
Expand Down Expand Up @@ -371,9 +362,6 @@
F534A5B31BDB09CE00CBD11A /* Operation.swift */,
F54D58B71C8E3446009F8D6C /* ClientPrivate.swift */,
F54D58B91C8E345F009F8D6C /* BoltsHelpers.swift */,
4AEAE5701DAFC3AF005F9FFB /* PFDecoder_internal.h */,
3B68E5B61DECC32300038DDD /* PFEncoder_internal.h */,
4AEAE5731DAFC488005F9FFB /* ParseLiveQuery-Bridging-Header.h */,
);
path = Internal;
sourceTree = "<group>";
Expand All @@ -385,19 +373,13 @@
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
4AEAE5791DAFC809005F9FFB /* ParseLiveQuery-Bridging-Header.h in Headers */,
4AEAE5781DAFC809005F9FFB /* PFDecoder_internal.h in Headers */,
3B68E5B81DECC32300038DDD /* PFEncoder_internal.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
F5A9BFC31BE0248D00E78326 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
4AEAE5771DAFC808005F9FFB /* ParseLiveQuery-Bridging-Header.h in Headers */,
4AEAE5761DAFC808005F9FFB /* PFDecoder_internal.h in Headers */,
3B68E5B71DECC32300038DDD /* PFEncoder_internal.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -696,7 +678,6 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
ONLY_ACTIVE_ARCH = YES;
SWIFT_OBJC_BRIDGING_HEADER = "${SWIFT_MODULE_NAME}/Internal/${SWIFT_MODULE_NAME}-Bridging-Header.h";
};
name = Debug;
};
Expand All @@ -723,7 +704,6 @@
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.10;
SWIFT_OBJC_BRIDGING_HEADER = "${SWIFT_MODULE_NAME}/Internal/${SWIFT_MODULE_NAME}-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
};
name = Release;
Expand All @@ -744,6 +724,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.parse.livequery.osx;
PRODUCT_NAME = ParseLiveQuery;
SDKROOT = macosx;
Expand All @@ -769,6 +750,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks";
MACOSX_DEPLOYMENT_TARGET = 10.10;
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.parse.livequery.osx;
PRODUCT_NAME = ParseLiveQuery;
SDKROOT = macosx;
Expand All @@ -793,6 +775,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = "$(inherited)";
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.parse.livequery.ios;
PRODUCT_NAME = ParseLiveQuery;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -820,6 +803,7 @@
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LIBRARY_SEARCH_PATHS = "$(inherited)";
ONLY_ACTIVE_ARCH = NO;
PRODUCT_BUNDLE_IDENTIFIER = com.parse.livequery.ios;
PRODUCT_NAME = ParseLiveQuery;
SDKROOT = iphoneos;
Expand Down
28 changes: 0 additions & 28 deletions Sources/ParseLiveQuery/Internal/PFDecoder_internal.h

This file was deleted.

46 changes: 0 additions & 46 deletions Sources/ParseLiveQuery/Internal/PFEncoder_internal.h

This file was deleted.

10 changes: 0 additions & 10 deletions Sources/ParseLiveQuery/Internal/ParseLiveQuery-Bridging-Header.h

This file was deleted.