Skip to content

Commit

Permalink
SwiftUI weak linking for Cocoapods (#115)
Browse files Browse the repository at this point in the history
* Add SwiftUI as weak_framework in Pod spec

* Update travis simulator
  • Loading branch information
ferranabello authored Oct 1, 2019
1 parent c2118a9 commit a586f23
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ before_install:
script:
- set -o pipefail
- xcodebuild -scheme Viperit -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c
- xcodebuild test -scheme ViperitTests -destination 'platform=iOS Simulator,name=iPhone XS,OS=13.0' | xcpretty -c
- xcodebuild test -scheme ViperitTests -destination 'platform=iOS Simulator,name=iPhone 11,OS=13.0' | xcpretty -c
after_success:
- bash <(curl -s https://codecov.io/bash)
3 changes: 2 additions & 1 deletion Viperit.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
Pod::Spec.new do |s|
s.name = 'Viperit'
s.version = '1.4.0'
s.version = '1.4.3'
s.summary = 'Viper Framework for iOS written in Swift'

s.description = <<-DESC
Expand All @@ -13,6 +13,7 @@ Viper Framework for iOS to implement VIPER architecture in an easy way
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'Ferran Abelló' => 'ferran.abello@gmail.com' }
s.source = { :git => 'https://github.com/ferranabello/Viperit.git', :tag => s.version.to_s }
s.weak_framework = 'SwiftUI'
s.social_media_url = 'https://twitter.com/acferran'

s.ios.deployment_target = '11.0'
Expand Down
4 changes: 2 additions & 2 deletions Viperit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 1.4.1;
MARKETING_VERSION = 1.4.3;
PRODUCT_BUNDLE_IDENTIFIER = org.acferran.Viperit;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -1084,7 +1084,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 1.4.1;
MARKETING_VERSION = 1.4.3;
PRODUCT_BUNDLE_IDENTIFIER = org.acferran.Viperit;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down

0 comments on commit a586f23

Please sign in to comment.