code object is not signed at all on .net MAUI

I am trying to debug my MAUI app on a real iOS device for push notifications. I have a remote mac connection to my mac book[Sonoma 14.5], Visual Studio 2022 [Version 17.9.7], Xcode [15.2] iOS Device[17.5] and no matter what I do I get this error : code object is not signed at all

  • Tried removing every sub directory in resource folder
  • Tried using both Auto. and Manual Provisioning. Even logged in via API instead of email and pass to apple developer and still no luck.
  • Removed everything related to push notifications to simplify the certificate and provisioning profiles

here is the build log I get every time no matter what changes I make.

Build started at 1:54 AM...
1>------ Build started: Project: MyAPP, Configuration: Debug Any CPU ------
1>Executing SayHello Task to establish a connection to a Remote Server. 
1>          Properties: 
1>              SessionId=***, 
1>              Addresss=192.168..., 
1>              SshPort=22, 
1>              TcpPort=..., 
1>              User=***, 
1>              AppName=MyAPP,
1>              VisualStudioProcessId=14340,
1>              ContinueOnDisconnected=False
1>Detected signing identity:
1>  Code Signing Key: "Apple Development: ...
1>  Provisioning Profile: "VS: com.i...
1>  Bundle Id: com.i...
1>  App Id: ***.com.i..
1>Skipping analyzers to speed up the build. You can execute 'Build' or 'Rebuild' command to run analyzers.
1>E:...
...
...
...
1>--skip-unresolved true  --notrimwarn --custom-data "LinkerOptionsFile=obj/Debug/net8.0-ios/ios-arm64/custom-linker-options.txt" --custom-data DisableMarkingOfCopyAssemblies=true --verbose -b --disable-opt unusedtypechecks --enable-serialization-discovery
1>C:Program FilesdotnetpacksMicrosoft.iOS.Windows.Sdk17.2.8053toolsmsbuildiOSXamarin.iOS.Common.After.targets(364,3): warning MT4189: The class 'PassKit.PKDisbursementAuthorizationController' will not be registered it has been removed from the iOS SDK.
1>C:Program FilesdotnetpacksMicrosoft.iOS.Windows.Sdk17.2.8053toolsmsbuildiOSXamarin.iOS.Common.After.targets(364,3): warning MT4189: The class 'PassKit.PKDisbursementAuthorizationControllerDelegate' will not be registered it has been removed from the iOS SDK.
1>C:Program FilesdotnetpacksMicrosoft.iOS.Windows.Sdk17.2.8053toolsmsbuildiOSXamarin.iOS.Common.After.targets(364,3): warning MT4178: The class 'NewsstandKit.NKAssetDownload' will not be registered because the NewsstandKit framework has been removed from the iOS SDK.
1>C:Program FilesdotnetpacksMicrosoft.iOS.Windows.Sdk17.2.8053toolsmsbuildiOSXamarin.iOS.Common.After.targets(364,3): warning MT4178: The class 'NewsstandKit.NKLibrary' will not be registered because the NewsstandKit framework has been removed from the iOS SDK.
1>C:Program FilesdotnetpacksMicrosoft.iOS.Windows.Sdk17.2.8053toolsmsbuildiOSXamarin.iOS.Common.After.targets(364,3): warning MT4178: The class 'NewsstandKit.NKIssue' will not be registered because the NewsstandKit framework has been removed from the iOS SDK.
1>/usr/bin/mdimport bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone13.1-17.5.1/
1>Tool /usr/bin/codesign execution finished (exit code = 1).
1>/Users/user/Library/Caches/Xamarin/mtbs/builds/MyAPP/.../bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone13.1-17.5.1/MyAPP.app: code object is not signed at all
1>In subcomponent: /Users/user/Library/Caches/Xamarin/mtbs/builds/MyAPP/.../bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone13.1-17.5.1/MyAPP.app/System.Runtime.Intrinsics.dll
1>C:Program FilesdotnetpacksMicrosoft.iOS.Sdk17.2.8053toolsmsbuildiOSXamarin.Shared.targets(2257,3): error : /usr/bin/codesign exited with code 1:
1>C:Program FilesdotnetpacksMicrosoft.iOS.Sdk17.2.8053toolsmsbuildiOSXamarin.Shared.targets(2257,3): error : /Users/user/Library/Caches/Xamarin/mtbs/builds/MyAPP/.../bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone13.1-17.5.1/MyAPP.app: code object is not signed at all
1>C:Program FilesdotnetpacksMicrosoft.iOS.Sdk17.2.8053toolsmsbuildiOSXamarin.Shared.targets(2257,3): error : In subcomponent: /Users/user/Library/Caches/Xamarin/mtbs/builds/MyAPP/.../bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone13.1-17.5.1/MyAPP.app/System.Runtime.Intrinsics.dll
1>C:Program FilesdotnetpacksMicrosoft.iOS.Sdk17.2.8053toolsmsbuildiOSXamarin.Shared.targets(2257,3): error : Failed to codesign '/Users/user/Library/Caches/Xamarin/mtbs/builds/MyAPP/.../bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone13.1-17.5.1/MyAPP.app': /Users/user/Library/Caches/Xamarin/mtbs/builds/MyAPP/.../bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone13.1-17.5.1/MyAPP.app: code object is not signed at all
1>C:Program FilesdotnetpacksMicrosoft.iOS.Sdk17.2.8053toolsmsbuildiOSXamarin.Shared.targets(2257,3): error : In subcomponent: /Users/user/Library/Caches/Xamarin/mtbs/builds/MyAPP/.../bin/Debug/net8.0-ios/ios-arm64/device-builds/iphone13.1-17.5.1/MyAPP.app/System.Runtime.Intrinsics.dll
1>C:Program FilesdotnetpacksMicrosoft.iOS.Sdk17.2.8053toolsmsbuildiOSXamarin.Shared.targets(2257,3): error : 
1>C:Program FilesdotnetpacksMicrosoft.iOS.Sdk17.2.8053toolsmsbuildiOSXamarin.Shared.targets(2257,3): error :
1>Done building project "MyAPP.csproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 1:55 AM and took 41.399 seconds ==========
========== Deploy: 0 succeeded, 0 failed, 0 skipped ==========
========== Deploy completed at 1:55 AM and took 41.399 seconds ==========

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật