microsoft / WinObjC

Objective-C for Windows
MIT License
6.25k stars 808 forks source link

Unable to activate Windows store app. #2931

Open Artelas opened 5 years ago

Artelas commented 5 years ago

I'm trying to build sample iOs project for Universal Windows. If I select 'Start debugging', I get "debuggerutils.h not found. You need to find debuggerutils.h to view the source for the current call stack frame" If I select 'Start without debugging' I get "Unable to activate Windows Store app. The activation request failed with error 'Operation not supported'"

Am I missing something?

edvv commented 5 years ago

It is hard to say without knowing your exact installation situation. I believe that "Unable to activate Windows Store app" type issues are a generic problem with Visual Studio. If you have the Community Edition installed then you might try logging into your Microsoft developer account to activate the development keys. A clean build would not hurt either. I've encounter this situation a handful of times and it seems to be a hit or miss solution, but I've always been able to overcome this issue in the past with VS projects.

Artelas commented 5 years ago

@edvv, thank you for your answer. I've tried clean install several times, even clean install of Windows. Also I'm able to build and run Blank App on Visual C# for Universal Windows. That made me think that something is wrong with WinObjC.

Liastre commented 5 years ago

Hey @Artelas what is your VS and winobjc versions you are using for building? Did you try to update your developer/store keys?

edvv commented 5 years ago

Ah, now I remember what this means: This is a false message. What really happened is that your app silently terminated (maybe by a console abort(), i.e.: crashed ) and when the app failed to launch (aborted) the front end gave that message. You need to look at the Windows Console window in VS while in debug mode.