cancel
Showing results for 
Search instead for 
Did you mean: 
Subscribe

I am trying to run a Fiori for iOS app created through the assistant and I am getting an authorization code request failed error. This is using the latest SDK for Xcode 9.

Below is the log

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000} span.s1 {font-variant-ligatures: no-common-ligatures}

2017-10-03 10:02:52.478353+0530 ShopUsingAssistant[34173:4934679] [Application] Failed to instantiate the default view controller for UIMainStoryboardFile 'Main' - perhaps the designated entry point is not set?

2017-10-03 10:02:52.502473+0530 ShopUsingAssistant[34173:4934679] Unknown class FUIOnboardingButton in Interface Builder file.

2017-10-03 10:02:52.519959+0530 ShopUsingAssistant[34173:4934679] Unknown class FUIOnboardingButton in Interface Builder file.

2017-10-03 10:02:52.520285+0530 ShopUsingAssistant[34173:4934679] Unknown class FUITextView in Interface Builder file.

2017-10-03 10:02:52.526434+0530 ShopUsingAssistant[34173:4934679] [MC] Lazy loading NSBundle MobileCoreServices.framework

2017-10-03 10:02:52.527319+0530 ShopUsingAssistant[34173:4934679] [MC] Loaded MobileCoreServices.framework

2017-10-03 10:02:52.529389+0530 ShopUsingAssistant[34173:4934679] [MC] System group container for systemgroup.com.apple.configurationprofiles path is /Users/emathew004/Library/Developer/CoreSimulator/Devices/7558241D-76FF-42D0-92E1-807269F09A1B/data/Containers/Shared/SystemGroup/systemgroup.com.apple.configurationprofiles

2017-10-03 10:02:52.540747+0530 ShopUsingAssistant[34173:4934679] Unknown class FUITextView in Interface Builder file.

2017-10-03 10:02:52.552821+0530 ShopUsingAssistant[34173:4934679] Unknown class FUIOnboardingButton in Interface Builder file.

2017-10-03 10:02:52.553088+0530 ShopUsingAssistant[34173:4934679] Unknown class FUIOnboardingButton in Interface Builder file.

2017-10-03 10:02:52.553253+0530 ShopUsingAssistant[34173:4934679] Unknown class FUITextView in Interface Builder file.

2017-10-03 10:02:52.555570+0530 ShopUsingAssistant[34173:4934679] Unknown class FUITextView in Interface Builder file.

2017-10-03 10:02:52.573057+0530 ShopUsingAssistant[34173:4934679] [general] # AppDelegateLogger - ERROR - (Main) - AppDelegate.swift.application(_:didFailToRegisterForRemoteNotificationsWithError:) - Failed to register for Remote Notification (Error: remote notifications are not supported in the simulator)

2017-10-03 10:03:16.692005+0530 ShopUsingAssistant[34173:4934679] [MC] Reading from private effective user settings.

2017-10-03 10:03:16.742320+0530 ShopUsingAssistant[34173:4934679] API error: <_UIKBCompatInputView: 0x7f96dd2423a0; frame = (0 0; 0 0); layer = <CALayer: 0x604000039000>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-10-03 10:03:16.742487+0530 ShopUsingAssistant[34173:4934679] API error: <_UIKBCompatInputView: 0x7f96dd2423a0; frame = (0 0; 0 0); layer = <CALayer: 0x604000039000>> returned 0 width, assuming UIViewNoIntrinsicMetric

2017-10-03 10:03:46.285487+0530 ShopUsingAssistant[34173:4934875] [general] # SAP.Foundation.Authentication.OAuth2Authenticator - ERROR - (0x600000078600) - OAuth2Authenticator.swift.token(using:completionHandler:) - OAuth2 request provider failed with error. (Error: OAuth2Error.cancelled: The authentication got cancelled.)

2017-10-03 10:03:46.292513+0530 ShopUsingAssistant[34173:4934875] [general] # SAP.Foundation.Authentication.OAuth2Observer - ERROR - (0x600000078600) - OAuth2Observer.swift.authenticate(dataTask:request:completionHandler:) - Task(1): Error during authentication! (Error: OAuth2Error.cancelled: The authentication got cancelled.)

2017-10-03 10:03:46.294504+0530 ShopUsingAssistant[34173:4934877] [general] # SAP.Flows.Onboarding.Steps.OAuth2Authentication - ERROR - (0x60c00027f8c0) - OAuth2AuthenticationStep.swift.validate(authenticationURL:authenticator:sapURLSession:credentialStore:completionHandler:) - Authentication request failed! (Error: Authentication failed: Error in response. Status code: 0. Network error: OAuth2Error.cancelled: The authentication got cancelled.))

2017-10-03 10:03:46.295048+0530 ShopUsingAssistant[34173:4934877] [general] # SAP.Flows.Onboarding.FlowController - ERROR - (0x60c00027f8c0) - OnboardingFlowController.swift.runMethod(index:context:) - Step (3): OAuth2AuthenticationStep - FAILED (Error: Authentication failed: Error in response. Status code: 0. Network error: OAuth2Error.cancelled: The authentication got cancelled.))

2017-10-03 10:03:46.301013+0530 ShopUsingAssistant[34173:4934679] [general] # OnbardingManager - ERROR - (Main) - OnboardingManager.swift.onboardingCompleted - Onboarding failed! (Error: Authentication failed: Error in response. Status code: 0. Network error: OAuth2Error.cancelled: The authentication got cancelled.))

2017-10-03 10:03:48.334096+0530 ShopUsingAssistant[34173:4934679] Unknown class FUIOnboardingButton in Interface Builder file.

2017-10-03 10:03:48.334584+0530 ShopUsingAssistant[34173:4934679] Unknown class FUIOnboardingButton in Interface Builder file.

2017-10-03 10:03:48.334863+0530 ShopUsingAssistant[34173:4934679] Unknown class FUITextView in Interface Builder file.

2017-10-03 10:03:48.339324+0530 ShopUsingAssistant[34173:4934679] Unknown class FUITextView in Interface Builder file.

0 Likes
View Entire Topic
Former Member
0 Likes

Hi,

Can you tell the version of your iOS SDK?

Are you using SP01 PL02 or higher? If not, you need to get the higher version to support xCode 9.

Also can you tell what is the system for your iOS device? iOS 10 or iOS 11?

Best regards,

Charlie