Question: I have a Webforms (ASP.Net) application which is trying to get a accesstoken from office365.

* I succesfully get the token running the Website in IIS Express in Visual Studio (2019).
* Running the website in IIS, i get the error "Request to the endpoint timed out".

Please, can anybody help?

```
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    Dim cca = ConfidentialClientApplicationBuilder.
            Create("000000-0000-0000").
            WithClientSecret("xxxxxxxxxxxxx").
            WithTenantId("00000-0000-0000").
            Build()

    Dim ewsScopes() As String = {"https://outlook.office365.com/.default"}
    Dim rc As String = cca.AcquireTokenForClient(ewsScopes).ExecuteAsync().GetAwaiter().GetResult().AccessToken
    Page.Response.Write(rc)
End Sub

```

Answer: 
As [matt](https://stackoverflow.com/users/341994/matt) mentioned in comments:

> 
> In Xcode 13 this is configured with a build setting, not by editing the Info.plist file directly.
> 
> 
> 

I had it set in both locations due to the instructions in this post: [Missing CFBundleIconName in Xcode9 iOS11 app release](https://stackoverflow.com/questions/46216718/missing-cfbundleiconname-in-xcode9-ios11-app-release)

I removed the *info.plist* key 'CFBundleIconName' and keep only the *Build Settings* and I could upload the archive with out any error.
I tried most of the answers like

* [Missing CFBundleIconName in Xcode9 iOS11 app release](https://stackoverflow.com/questions/46216718/missing-cfbundleiconname-in-xcode9-ios11-app-release)
* <https://developer.apple.com/forums/thread/92638>

But none of the got worked, So what I did was, I just upgraded the react-native version from 0.68.1 -> 0.68.2 and also created a new react-native app using the same project name and copied the ios folder blindly. This fixed my issue and later I applied the custom changes from the previous code.

During the copy, I found the following changes in ios/<project\_name>.xcodeproj/project.pbxproj file. These changes made the fix for me

[![ios/<project_name>.xcodeproj/project.pbxproj](https://i.stack.imgur.com/doRQN.png)](https://i.stack.imgur.com/doRQN.png)

[![ios/<project_name>.xcodeproj/project.pbxproj](https://i.stack.imgur.com/X7FoH.png)](https://i.stack.imgur.com/X7FoH.png)