Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3067

type or namespace name 'UISceneConfiguration' could not be found

$
0
0

I have a Xamarin.iOS project and it has included a nugget package aswell. When I try to rebuild the project, I am getting 14 errors and those are UISceneConfiguration, UISceneSession etc could not be found issues. My nugget package is something like Abcd.SDK.0.9.7.nupkg and for the iOS project I can see they have set the Assembly name and the Default namespace like below

  • Assembly name - SampleiOS(which is the iOS project name).

  • Default namespace - ABCD.SDK.Sample.iOS

In my AppDelegate.cs I can see the class namespace as my solution name.

What is the cause for these kind of errors and how can I solve this? Please help me. Thank you.

UPDATE 1

<key>UIApplicationSceneManifest</key>
<dict>
    <key>UIApplicationSupportsMultipleScenes</key>
    <true/>
    <key>UISceneConfigurations</key>
    <dict>
        <key>UIWindowSceneSessionRoleApplication</key>
        <array>
            <dict>
                <key>UISceneConfigurationName</key>
                <string>Default Configuration</string>
                <key>UISceneDelegateClassName</key>
                <string>SceneDelegate</string>
                <key>UISceneStoryboardFile</key>
                <string>Main</string>
            </dict>
        </array>
    </dict>
</dict>

UPDATE 2

enter image description here


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>