Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Updated podspec. Didn't work before beacause of framework mappings being wrong

Michael Rademaker1ac4297a5bf5
diff --git a/console/iOS/ORLib/ORLib.podspec b/console/iOS/ORLib/ORLib.podspec
index d7bb5f585..a9bf66183 100644
--- a/console/iOS/ORLib/ORLib.podspec
+++ b/console/iOS/ORLib/ORLib.podspec
@@ -2,20 +2,23 @@ Pod::Spec.new do |s|
s.platform = :ios
s.ios.deployment_target = '10'
s.pod_target_xcconfig = {
- "OTHER_LDFLAGS" => '$(inherited) -framework "FirebaseCore" -framework "FirebaseMessaging"',
+ "OTHER_LDFLAGS" => '$(inherited) -ObjC',
"CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES" => 'YES',
- "FRAMEWORK_SEARCH_PATHS" => '$(inherited) "${PODS_ROOT}/FirebaseCore/Frameworks" "${PODS_ROOT}/FirebaseMessaging/Frameworks"'
+ "FRAMEWORK_SEARCH_PATHS" => '$(inherited) $(PODS_ROOT)/Firebase $(PODS_ROOT)/FirebaseCore/Frameworks $(PODS_ROOT)/FirebaseInstanceID/Frameworks $(PODS_ROOT)/FirebaseAnalytics/Frameworks'
}
s.swift_version = '4.1'
s.name = "ORLib"
s.summary = "The OpenRemote library to create console apps."
s.requires_arc = true
- s.version = '1.2.0'
+ s.version = '1.2.1'
s.authors = 'OpenRemote'
s.homepage = "http://www.openremote.io"
s.source = { :git => 'https://github.com/openremote/openremote.git', :tag => 'cocoapod' + s.version.to_s }
- s.dependency 'Firebase/Core', '4.6.0'
- s.dependency 'Firebase/Messaging', '4.6.0'
+ s.frameworks = 'Foundation', 'FirebaseCore', 'FirebaseInstanceID', 'FirebaseAnalytics', 'FirebaseCoreDiagnostics', 'FirebaseNanoPB'
+ s.libraries = 'c++', 'sqlite3', 'z'
+ s.dependency 'Firebase', '~> 4.6.0'
+ s.dependency 'Firebase/Core', '~> 4.6.0'
+ s.dependency 'Firebase/Messaging', '~> 4.6.0'
s.source_files = 'console/iOS/ORLib/**/*.{swift}'
s.license = { :type => "MIT", :file => "console/iOS/ORLib/LICENSE" }
end