Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

NSMutableDictionary! has no subscript members (0.3.9 configuration command) #117

Open
mikesparr opened this issue Nov 4, 2015 · 0 comments

Comments

@mikesparr
Copy link

I updated to latest 0.3.9 version after solving Cocoapods issue referenced in #111 and #112 and #113 (etc.) by updating the Podfile to request the :HEAD version of two dependencies. That worked and build works but I'm seeing an error now in the SimpleAuth.configuration declaration in AppDelegate.

import SimpleAuth
...
struct Const {
    private let AuthClient = "instagram"
    private let OAuthClientIDKey = "client_id"
    private let OAuthClientID = "myclientidhere"
    private let OAuthRedirectURI = "myregisteredredirectURIhere"
}
...
SimpleAuth.configuration()[Const.AuthClient] = [
    Const.OAuthClientIDKey : Const.OAuthClientID,
    SimpleAuthRedirectURIKey: Const.OAuthRedirectURI
]

screen shot 2015-11-04 at 4 42 31 pm

Now I see and error and it will not compile arguing about NSMutableDictionary! has no subscript members? I appreciate any advice.

I've used the Podfile recommended in 0.3.9 (without provider in trailing slash) and with to install and Clean + Build successfully?

platform :ios, "9.0"
use_frameworks!

target 'Instagram' do

    end

pod 'Box', :head
pod 'Result', :head
pod 'SimpleAuth'

or

platform :ios, "9.0"
use_frameworks!

target 'Instagram' do

    end

pod 'Box', :head
pod 'Result', :head
pod 'SimpleAuth/Instagram'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant