function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Spandan SenguptaSpandan Sengupta 

Trailhead - Get Started with Native iOS Development

I am attempting to complete the challenge for this module. I create the app as instructed, using 'forceios create' and continue to enter the necessary details - name, package etc.I launch the app when the command has completed just to ensure everything was set up correctly and it works fine, bringing me to the standard login screen. But, when I change the key/value pairs for 'remoteAccessConsumerKey' and 'oauthRedirectURI' to match my connected app's consumer key and callback URI, the app crashes.This would hint that there is something wrong with the connected app maybe, but I've looked over it and I can't find anything. Here is a screenshot of it:Connected App DetailsAnd, a screenshot of me using the consumer key and callback URI:User-added imageAnd, the log:019-11-27 10:03:23.698542+0000 TrailheadiOSTest[6553:99579] [SalesforceSDKCore] CLASS: SFUserAccountManager Swizzled :: SFUserAccountManager
2019-11-27 10:03:24.387894+0000 TrailheadiOSTest[6553:99579] [SalesforceSDKCore] CLASS: SFOAuthCoordinator authenticate authenticating as 3MVG9Ve.2wqUVx_aEzBoHSCNJEjRgyv5.at6Utw5Oo6f1l9gCbh_wl0hbCRM2heLrZA9aibFQx2SRxGl2p52Q
without refresh token on 'https://login.salesforce.com' ...
2019-11-27 10:03:24.390062+0000 TrailheadiOSTest[6553:99579] [SalesforceSDKCore] CLASS: SFSDKAuthConfigUtil getMyDomainAuthConfig:loginDomain: Advanced authentication configured. Retrieving auth configuration from https://login.salesforce.com/.well-known/auth-configuration
2019-11-27 10:03:24.396938+0000 TrailheadiOSTest[6553:99579] [SalesforceSDKCore] CLASS: SmartSyncSDKManager App is resuming active state.
2019-11-27 10:03:24.828045+0000 TrailheadiOSTest[6553:99688] [] nw_proxy_resolver_create_parsed_array [C1 proxy pac] Evaluation error: NSURLErrorDomain: -1003
2019-11-27 10:03:25.274353+0000 TrailheadiOSTest[6553:99699] [SalesforceSDKCore] CLASS: SFSDKAuthConfigUtil Org config request failed with error: Status Code: 404
2019-11-27 10:03:25.274931+0000 TrailheadiOSTest[6553:99579] [SalesforceSDKCore] CLASS: SFSDKOAuthClient oauthCoordinatorWillBeginAuthentication
2019-11-27 10:03:25.275154+0000 TrailheadiOSTest[6553:99579] [SalesforceSDKCore] CLASS: SFSDKWebViewStateManager [SFSDKWebViewStateManager sharedProcessPool]: No process pool exists. Creating new instance.
2019-11-27 10:03:25.286132+0000 TrailheadiOSTest[6553:99579] [SalesforceSDKCore] CLASS: SFSDKOAuthClient oauthCoordinator:willBeginAuthenticationWithView:
2019-11-27 10:03:25.287479+0000 TrailheadiOSTest[6553:99579] [SalesforceSDKCore] CLASS: SFOAuthCoordinator loadWebViewWithUrlString Loading web view for 'SFOAuthTypeUserAgent' auth flow, with URL: (null)
2019-11-27 10:03:25.502205+0000 TrailheadiOSTest[6553:99579] [ProcessSuspension] 0x10f7883f0 - ProcessAssertion::processAssertionWasInvalidated()
2019-11-27 10:03:25.505380+0000 TrailheadiOSTest[6553:99579] [ProcessSuspension] 0x10f788450 - ProcessAssertion::processAssertionWasInvalidated()
2019-11-27 10:03:55.368421+0000 TrailheadiOSTest[6553:99579] Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service
2019-11-27 10:03:55.369168+0000 TrailheadiOSTest[6553:99579] Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service.User-added imageUser-added image