Skip to content

Commit

Permalink
Updated podspec. Didn't work before beacause of framework mappings be…
Browse files Browse the repository at this point in the history
…ing wrong
  • Loading branch information
Miggets7 committed Feb 12, 2019
1 parent 6bf18f4 commit 1ac4297
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions console/iOS/ORLib/ORLib.podspec
Expand Up @@ -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

0 comments on commit 1ac4297

Please sign in to comment.