Can't build tvOS app with Cocoapod dependencies with xctool
Date : March 29 2020, 07:55 AM
I wish this help you @Campbell_Souped’s answer works great for tvOS-only projects, but if you try to also build for OS X, you’ll get an error that Bitcode is not supported. This version checks the platform before enabling Bitcode: post_install do |installer|
installer.pods_project.targets.each do |target|
if target.platform_name == :tvos || target.platform_name == :watchos then
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'YES'
end
end
end
end
|
Why can't Travis-CI find my cocoapod dependencies?
Date : March 29 2020, 07:55 AM
will be helpful for those in need The answer turned out to be: Specify an xcode version in the osx_image key in my .travis.yml: language: objective-c
osx_image: xcode7.3
xcode_workspace: Example/CWNotificationBanner.xcworkspace
xcode_scheme: CWNotificationBanner-Example
xcode_sdk: iphonesimulator9.3
podfile: Example/Podfile
|
Cocoapod - Creating a new cocoapod with a dependency of another cocoapod fails
Date : March 29 2020, 07:55 AM
hope this fix your issue I am creating a new cocoapod, and want to include another cocoapod as a dependency. , Solved it. Have to run pod install on the Example folder.
|
Prohibit downloading Dependencies of CocoaPod
Date : March 29 2020, 07:55 AM
With these it helps Unfortunately the GCDWebserver 3.3 and newer links to CocoaLumberjack as dependency
|
Cocoapod CI on travis can't install dependencies
Tag : ios , By : firebasket
Date : March 29 2020, 07:55 AM
will help you I don't know why the pod install in my example was failing, but reverting back to the auto-generated .travis.yml fixed it. The only thing I had to modify was adding a the instructions under before_install: pod setup without this line - the pod lib lint failed with a specific error: # references:
# * https://www.objc.io/issues/6-build-tools/travis-ci/
# * https://github.com/supermarin/xcpretty#usage
osx_image: xcode7.3
language: objective-c
# cache: cocoapods
# podfile: Example/Podfile
before_install:
- gem install cocoapods # Since Travis is not always on latest version
# Avoid error: Encountered an unknown error (uninitialized constant Concurrent::Promises) during validation
# https://github.com/CocoaPods/CocoaPods/issues/8948
- gem update concurrent-ruby
- pod setup
# - pod install --project-directory=Example
script:
- set -o pipefail && xcodebuild test -enableCodeCoverage YES -workspace Example/MUXSDKImaListener.xcworkspace -scheme MUXSDKImaListener-Example -sdk iphonesimulator9.3 ONLY_ACTIVE_ARCH=NO | xcpretty
- pod lib lint
|