Skip to content

Instantly share code, notes, and snippets.

@yunarta
Last active January 10, 2018 11:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yunarta/7b3e39afab738a64fdea91ec51679f35 to your computer and use it in GitHub Desktop.
Save yunarta/7b3e39afab738a64fdea91ec51679f35 to your computer and use it in GitHub Desktop.
Re:Build
Pod::Spec.new do |s|
s.authors = "Re:Build"
s.homepage = "none"
s.summary = "Re:Build of Localize"
s.name = "Localize"
s.version = "1.5.2"
s.ios.deployment_target = '8.0'
s.source = { :path => "" }
s.ios.vendored_frameworks = "Carthage/Build/iOS/*.framework"
end
workspace "ReBuildTarget"
use_frameworks!
target "AppOne" do
platform :ios, "11.2"
project "XcodeApps/XcodeApps"
pod "Localize", :path => "./ReBuild/Carts/Localize"
pod "RxOptional", "3.3.0"
end
target "XcodeFramework" do
platform :ios, "11.2"
project "XcodeFramework/XcodeFramework"
pod "RxSwift", :path => "./ReBuild/Carts/RxSwift"
end
workspace: "ReBuildTarget"
targets:
- name: "AppOne"
platform: "iOS, 11.2"
project: "XcodeApps/XcodeApps"
dependencies:
- name: "Localize"
type: "carthage"
source: "https://github.com/Kekiiwaa/Localize"
carthage: "Kekiiwaa/Localize"
version: "1.5.2"
- name: "RxOptional"
type: "cocoapod"
version: "3.3.0"
- name: "XcodeFramework"
platform: "iOS, 11.2"
project: "XcodeFramework/XcodeFramework"
dependencies:
- name: "RxSwift"
type: "carthage"
- source: "https://github.com/ReactiveX/RxSwift"
carthage: "ReactiveX/RxSwift"
version: "4.1.1"
include_frameworks:
- "RxSwift.framework"
exclude_frameworks:
- "RxTest.framework"
- "RxBlocking.framework"
pre_install: |
pre_install do |installer|
# workaround for https://github.com/CocoaPods/CocoaPods/issues/3289
Pod::Installer::Xcode::TargetValidator.send(:define_method, :verify_no_static_framework_transitive_dependencies) {}
end
post_install: |
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '3.2'
if config.build_settings['PRODUCT_NAME'] == "AnalyticsToolkit"
config.build_settings['LIBRARY_SEARCH_PATHS'] = ["$(inherited)", "$(PODS_ROOT)/GoogleAnalytics/Libraries", "$(PODS_ROOT)/GoogleIDFASupport/Libraries"]
config.build_settings['OTHER_LDFLAGS'] = %Q{-weak_framework "CoreData" -weak_framework "SystemConfiguration" -l"z" -l"sqlite3" -l"sqlite3.0" -l"GoogleAnalytics"}
config.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES'
end
end
end
end
Pod::Spec.new do |s|
s.authors = "Re:Build"
s.homepage = "none"
s.summary = "Re:Build of RxSwift"
s.name = "RxSwift"
s.version = "4.1.1"
s.ios.deployment_target = '8.0'
s.source = { :path => "" }
s.ios.vendored_frameworks = "Carthage/Build/iOS/RxSwift.framework"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment