Skip to content

macOS app not available for testing in TestFlight #16189

@tipa

Description

@tipa

Steps to Reproduce

  1. Build .NET 6macOS app (dotnet publish -c Release)
  2. Upload app package using Apple Transporter app

Expected Behavior

App becomes available for TestFlight.

Actual Behavior

The app is not available for TestFlight.

Screenshot 2022-09-28 at 18 48 20

It is worth noting that the entitlements show up twice, which is likely related to this issue: #15632
Screenshot 2022-09-28 at 18 48 37

My other MacOS (legacy Xamarin) apps (which also support both ARM64 and x68) have the entitlements only shown once in App Store Connect and the TestFlight works perfectly fine for them

Environment

These are my current build settings. Are they wrong? It's trial-and-error to find what out what is necessary to get the app building correctly...
Screenshot 2022-09-28 at 18 51 14

Version information
Visual Studio Community 2022 for Mac
Version 17.3.6 (build 20)
Installation UUID: 80f56338-02fe-4236-b839-2593c8299102

Runtime
.NET 6.0.5 (64-bit)
Architecture: Arm64

Roslyn (Language Service)
4.3.0-3.22312.2+52adfb8b2dc71ed4278debcf13960f2116868608

NuGet
Version: 6.2.1.2

.NET SDK (Arm64)
SDK: /usr/local/share/dotnet/sdk/6.0.401/Sdks
SDK-Version: 6.0.401
MSBuild-SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks

.NET Runtime (Arm64)
Laufzeit: /usr/local/share/dotnet/dotnet
Laufzeitversionen:
	7.0.0-rc.1.22426.10
	6.0.9

.NET Runtime (x64)
Laufzeit: /usr/local/share/dotnet/x64/dotnet
Laufzeitversion: 6.0.8

Xamarin.Profiler
Version: 1.8.0.19
Speicherort: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

Updater
Version: 11

Apple Developer Tools
Xcode 14.0.1 (21336)
Build 14A400

Xamarin.Mac
Version: 8.12.0.2 (Visual Studio Community)
Hash: 87f98a75e
Branch: d17-3
Build date: 2022-07-25 20:18:54-0400

Xamarin.iOS
Version: 16.0.0.72 (Visual Studio Community)
Hash: 6756a1146
Branch: release/6.0.4xx-xcode14
Build date: 2022-09-21 08:51:06-0400

Xamarin Designer
Version: 17.3.0.208
Hash: 0de472ea0
Branch: remotes/origin/d17-3
Build date: 2022-09-22 15:21:44 UTC

Xamarin.Android
Nicht installiert

Microsoft Build of OpenJDK
Java SDK: Nicht gefunden

Eclipse Temurin JDK
Java SDK: Nicht gefunden

Android SDK Manager
Version: 17.3.0.23
Hash: 965bf40
Branch: remotes/origin/d17-3
Build date: 2022-09-22 15:21:49 UTC

Android Device Manager
Version: 0.0.0.1169
Hash: fafb1d5
Branch: fafb1d5
Build date: 2022-09-22 15:21:49 UTC

Build Information
Release ID: 1703060020
Git revision: f7a6334599543f127e737d6de1f362bbe36cebca
Build date: 2022-09-22 15:19:46+00
Build branch: release-17.3
Build lane: release-17.3

Operating System
Mac OS X 12.6.0
Darwin 21.6.0 Darwin Kernel Version 21.6.0
    Mon Aug 22 20:20:05 PDT 2022
    root:xnu-8020.140.49~2/RELEASE_ARM64_T8101 arm64

Build Logs

timopartl@Timos-Mac-mini GeoPhoto.macOS % dotnet publish -c Release 
MSBuild version 17.3.1+2badb37d1 for .NET
  Determining projects to restore...
  All projects are up-to-date for restore.
  Detected signing identity:
          
    Code Signing Key: "Apple Distribution: Timo P (P9337B87X7)" (---)
    Provisioning Profile: "GeoPhoto MacOS Store" (2618369f-c239-4254-bbdc-b3f4f0f0eb26)
    Bundle Id: partl.geophoto
    App Id: P9337B87X7.partl.geophoto
  Detected signing identity:
          
    Code Signing Key: "Apple Distribution: Timo P (P9337B87X7)" (---)
    Provisioning Profile: "GeoPhoto MacOS Store" (2618369f-c239-4254-bbdc-b3f4f0f0eb26)
    Bundle Id: partl.geophoto
    App Id: P9337B87X7.partl.geophoto
  GeoPhoto.macOS -> /Users/timopartl/GitHub/geophoto/GeoPhoto.macOS/bin/Release/net6.0-macos/osx-x64/GeoPhoto.macOS.dll
  Optimizing assemblies for size, which may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink
  Detected signing identity:
          
    Code Signing Key: "Apple Distribution: Timo P (P9337B87X7)" (---)
    Provisioning Profile: "GeoPhoto MacOS Store" (2618369f-c239-4254-bbdc-b3f4f0f0eb26)
    Bundle Id: partl.geophoto
    App Id: P9337B87X7.partl.geophoto
  GeoPhoto.macOS -> /Users/timopartl/GitHub/geophoto/GeoPhoto.macOS/bin/Release/net6.0-macos/osx-arm64/GeoPhoto.macOS.dll
  Optimizing assemblies for size, which may change the behavior of the app. Be sure to test after publishing. See: https://aka.ms/dotnet-illink
/usr/local/share/dotnet/packs/Microsoft.macOS.Sdk/12.3.447/tools/msbuild/macOS/Xamarin.Shared.targets(2053,3): warning : Code signing has been requested multiple times for 'bin/Release/net6.0-macos/publish/../GeoPhoto.macOS.app/Contents/MonoBundle/createdump', with different metadata. The metadata 'CodesignEntitlements' has different values for each item (once it's 'obj/Release/net6.0-macos/osx-x64/Entitlements.xcent', another time it's 'obj/Release/net6.0-macos/osx-arm64/Entitlements.xcent'). [/Users/timopartl/GitHub/geophoto/GeoPhoto.macOS/GeoPhoto.macOS.csproj]
  Created the package: /Users/timopartl/GitHub/geophoto/GeoPhoto.macOS/bin/Release/net6.0-macos/publish/GeoPhoto.macOS-1.1.12.pkg

Workload updates are available. Run `dotnet workload list` for more information.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIf an issue is a bug or a pull request a bug fix

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions