Run pod install on a development pod that has a test spec
I expected the test spec scheme to actively show up as a selectable scheme

I need to check the show check box after every pod install on my project.


CocoaPods : 1.9.1
Ruby : ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-darwin19]
RubyGems : 3.0.6
Host : Mac OS X 10.15.4 (19E287)
Xcode : 11.4 (11E146)
Git : git version 2.23.0
Ruby lib dir : /usr/local/Cellar/ruby/2.6.5/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/
Executable Path: /usr/local/bin/pod
cocoapods-deintegrate : 1.0.4
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-stats : 1.1.0
cocoapods-trunk : 1.4.1
cocoapods-try : 1.1.0
platform :ios, '13.0'
target 'ZcashLightClientSample' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod "KRProgressHUD"
# Pods for ZcashLightClientSample
pod 'ZcashLightClientKit', :path => '../../', :testspecs => ['Tests']
pod 'gRPC-Swift', '~> 1.0.0-alpha.11'
pod 'PaginatedTableView'
pod 'NotificationBubbles'
pod 'MnemonicKit', :git => '[email protected]:pacu/MnemonicKit.git', :commit => '49ab6726fe8a15e1e615942b0b42a0cd83308090'
target 'ZcashLightClientSampleTests' do
inherit! :search_paths
# Pods for testing
pod 'MnemonicKit', :git => '[email protected]:pacu/MnemonicKit.git', :commit => '49ab6726fe8a15e1e615942b0b42a0cd83308090'
end
target 'ZcashLightClientSampleUITests' do
inherit! :search_paths
# Pods for testing
end
end
target 'ZcashLightClientSample-Mainnet' do
inherit! :search_paths
use_frameworks!
pod "KRProgressHUD"
pod 'PaginatedTableView'
pod 'NotificationBubbles'
pod 'ZcashLightClientKit', :path => '../../'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
# if target.name.include? '-Unit-Tests'
# Xcodeproj::XCScheme.share_scheme(installer.pods_project.path, target.name)
# end
target.build_configurations.each do |config|
if target.name == 'ZcashLightClientKit'
config.build_settings['ZCASH_NETWORK_ENVIRONMENT'] = ENV["ZCASH_NETWORK_ENVIRONMENT"]
end
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
Cannot validate your example due to:
[!] Error installing MnemonicKit
[!] Failed to download 'MnemonicKit': [!] /usr/local/bin/git clone [email protected]:pacu/MnemonicKit.git /var/folders/g7/83vp4gbx2q58k1wd02f17b4r0000gn/T/d20200506-67008-1moyalz --template=
Cloning into '/var/folders/g7/83vp4gbx2q58k1wd02f17b4r0000gn/T/d20200506-67008-1moyalz'...
[email protected]: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Please correct it so we can try to reproduce.
I'm sorry to hear that you had problems cloning. I'm taking care of the issue
@dnkoutso I pointed the MnemonicKit dependency to a branch instead of a commit, just in case.
please update your ZcashLightClientKit repo and try again. Thank you very much
I've successfully reproduced and agree it would be a better experience for the test spec scheme to be shown by default.
Most helpful comment
I've successfully reproduced and agree it would be a better experience for the test spec scheme to be shown by default.