-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NilClass Error #127
Comments
I wonder if keys doesn't support spaces. I've never seen an API key with spaces in it. You're welcome to add support for this, or an error message when a user puts this in. |
So I have the same problem with the Artsy ones. I've entered all the keys (no spaces) and I get this: Command
Report
That it wouldn't error..? :D
This beautiful markdown template came up. The keys are properly set in the keychain though, so I'm unsure what else should have happened after? (apart from installing the other pods). When I run Stack
Plugins
Podfilesource 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/artsy/Specs.git'
platform :ios, '8.0'
# Yep.
inhibit_all_warnings!
plugin 'cocoapods-keys', {
:project => "Folio",
:target => "ArtsyFolio",
:keys => [
"ArtsyAPIClientSecret",
"ArtsyAPIClientKey",
"HockeyAppBetaID",
"HockeyAppLiveID",
"IntercomAppID",
"IntercomAPIKey",
"SegmentProduction",
"SegmentBeta",
"SegmentDev"
]}
target 'ArtsyFolio' do
# Artsy
pod 'Artsy+UILabels'
pod 'Artsy+UIColors'
pod 'UIView+BooleanAnimations'
pod 'ORStackView'
pod "Artsy+Authentication", :subspecs => ["email"]
if ENV['ARTSY_STAFF_MEMBER'] || ENV['CI'] == 'true'
pod 'Artsy+UIFonts', :git => "https://github.com/artsy/Artsy-UIFonts.git", :branch => "old_fonts_new_lib"
else
pod 'Artsy+OSSUIFonts'
end
# Nicities
pod 'ObjectiveSugar', :git => 'https://github.com/supermarin/ObjectiveSugar.git'
pod 'KVOController'
# Networking
pod 'Reachability', '~> 3.0'
pod 'AFNetworking', :git => "https://github.com/orta/AFNetworking", :branch => "no_ifdefs"
pod 'ISO8601DateFormatter', '~> 0.7'
# Misc
pod 'DRBOperationTree', '0.0.1'
pod 'SFHFKeychainUtils', '~> 0.0.1'
pod 'ZipArchive'
pod 'WYPopoverController', :git => 'https://github.com/orta/WYPopoverController.git', :branch => 'artsy'
pod 'JLRoutes'
# Templating
pod 'GHMarkdownParser'
pod 'GRMustache', '~> 7.0'
# Analytics
pod 'ARAnalytics', :subspecs => ['Segmentio', 'HockeyApp'], :git => 'https://github.com/orta/ARAnalytics.git'
pod 'Intercom'
# Logging
pod 'CocoaLumberjack', '~> 1.0'
pod 'SSDataSources'
# @weakify / @strongify / @keypath
pod 'libextobjc/EXTKeyPathCoding', '~> 0.3'
pod 'libextobjc/EXTScope', '~> 0.3'
pod 'TPKeyboardAvoiding', :git => 'https://github.com/michaeltyson/TPKeyboardAvoiding.git'
pod 'ARTiledImageView', :git => 'https://github.com/dblock/ARTiledImageView.git'
pod 'ARCollectionViewMasonryLayout'
pod 'FLKAutoLayout', '0.1.1'
# This is not an Artsy project
pod 'ARGenericTableViewController', :git => 'https://github.com/orta/ARGenericTableViewController.git'
end
target 'ArtsyFolio Tests' do
pod 'Specta'
pod 'Expecta'
pod 'OHHTTPStubs', '~> 3.0'
pod 'Expecta+Snapshots', "2.0.0"
pod 'Expecta+ContainerClasses', '~> 1.0'
pod 'Expecta+Comparison', '~> 0.1'
pod 'XCTest+OHHTTPStubSuiteCleanUp'
pod 'OCMock'
pod 'Forgeries/Mocks', :git => "https://github.com/ashfurrow/Forgeries.git", :branch => "remove"
end
post_install do |installer|
# Disable bitcode for now. Specifically needed for HockeySDK and ARAnalytics.
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end Error
|
Can confirm that this seems to be a "happens first time"bug. After coming across the same error message and running |
Same here, fails the first time but not afterwards. No spaces in keys |
first time I run
pod install --no-repo-update
, then ask me to input the key value , I input "a b c" string , then it throws error below:The text was updated successfully, but these errors were encountered: