Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Damaged or incomplete app - Please help #14

Open
McoreD opened this issue Jan 28, 2022 · 2 comments
Open

Damaged or incomplete app - Please help #14

McoreD opened this issue Jan 28, 2022 · 2 comments

Comments

@McoreD
Copy link

McoreD commented Jan 28, 2022

Hi there,

I believe I followed the instructions exactly however I am getting the error in the screenshot further below.

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net5.0</TargetFramework>
    <RuntimeIdentifiers>osx-x64</RuntimeIdentifiers>
    <CFBundleName>NftJsonGen</CFBundleName> <!-- Also defines .app file name -->
    <CFBundleDisplayName>NftJsonGen</CFBundleDisplayName>
    <CFBundleIdentifier>com.endomint</CFBundleIdentifier>
    <CFBundleVersion>1.0.0</CFBundleVersion>
    <CFBundleShortVersionString>1.0.0</CFBundleShortVersionString>
     <OutputType>WinExe</OutputType>
    <CFBundlePackageType>APPL</CFBundlePackageType>
    <CFBundleExecutable>NftJsonGen</CFBundleExecutable>
    <CFBundleIconFile>Logo.icns</CFBundleIconFile> <!-- Will be copied from output directory -->
    <NSPrincipalClass>NSApplication</NSPrincipalClass>
    <NSHighResolutionCapable>true</NSHighResolutionCapable>
  </PropertyGroup>
  <ItemGroup>
    <Folder Include="Models\" />
    <AvaloniaResource Include="Assets\**" />
    <None Remove=".gitignore" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Avalonia" Version="0.10.10" />
    <PackageReference Include="Avalonia.Desktop" Version="0.10.10" />
    <!--Condition below is needed to remove Avalonia.Diagnostics package from build output in Release configuration.-->
    <PackageReference Condition="'$(Configuration)' == 'Debug'" Include="Avalonia.Diagnostics" Version="0.10.10" />
    <PackageReference Include="Avalonia.ReactiveUI" Version="0.10.10" />
    <PackageReference Include="Dotnet.Bundle" Version="*" />
  </ItemGroup>
</Project>

I would appreciate any pointers in the right direction please.

alt text

I have also got the file list as below:
https://mike.getsharex.com/2022/01/20220129_y6MIvgrM2X.html

@query-wow
Copy link

Having the same issue here

@query-wow
Copy link

query-wow commented Mar 28, 2022

Managed to fix my issue. Make sure you point <CFBundleExecutable>NftJsonGen</CFBundleExecutable> to your actual executable on your project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants