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

Failed to codesign .... replacing existing signature #21849

Open
Kanat9494 opened this issue Dec 23, 2024 · 0 comments
Open

Failed to codesign .... replacing existing signature #21849

Kanat9494 opened this issue Dec 23, 2024 · 0 comments

Comments

@Kanat9494
Copy link

Kanat9494 commented Dec 23, 2024

Apple platform

iOS

Framework version

net8.0-*

Affected platform version

VS 2022

Description

I had an old mac, and I used it to create 1 application in .net maui, and successfully tested it and uploaded it to the App Store. After a while, I bought a new mac, exported all my certificates there, but I couldn't run my application there, which was created on the old mac. All I can do is connect via Visual Studio Windows and build an ipa file to publish to the App Store. But I need to run the app on a new mac to test. I've been trying to fix this for months

Build failed with 2 error(s) in 1.6s

Steps to Reproduce

create new app net maui, test and run on ios devise, publish to app store, than try to run this app on new mac)

Did you find any workaround?

Unfortunately, I did not find it.

Relevant logs

I get the following error:
[{
"resource": "/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8303/tools/msbuild/iOS/Xamarin.Shared.targets",
"owner": "maui",
"severity": 8,
"message": "/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8303/tools/msbuild/iOS/Xamarin.Shared.targets(2335,3): error :",
"source": "maui",
"startLineNumber": 2335,
"startColumn": 3,
"endLineNumber": 2335,
"endColumn": 3
}]
PAMobile net8.0-ios failed with 2 error(s) (1.4s) → PAMobile/bin/Debug/net8.0-ios/iossimulator-arm64/PAMobile.dll
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8303/tools/msbuild/iOS/Xamarin.Shared.targets(2335,3): error :
/usr/bin/codesign exited with code 1:
/Users/aidarjolboldiev/Desktop/maui/PAMobile/PAMobile/bin/Debug/net8.0-ios/iossimulator-arm64/PAMobil
e.app: replacing existing signature
/Users/aidarjolboldiev/Desktop/maui/PAMobile/PAMobile/bin/Debug/net8.0-ios/iossimulator-arm64/PAMobil
e.app: resource fork, Finder information, or similar detritus not allowed
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net8.0_18.0/18.0.8303/tools/msbuild/iOS/Xamarin.Shared.targets(2335,3): error :
Failed to codesign '/Users/aidarjolboldiev/Desktop/maui/PAMobile/PAMobile/bin/Debug/net8.0-ios/iossim
ulator-arm64/PAMobile.app': /Users/aidarjolboldiev/Desktop/maui/PAMobile/PAMobile/bin/Debug/net8.0-io
s/iossimulator-arm64/PAMobile.app: replacing existing signature
/Users/aidarjolboldiev/Desktop/maui/PAMobile/PAMobile/bin/Debug/net8.0-ios/iossimulator-arm64/PAMobil
e.app: resource fork, Finder information, or similar detritus not allowed

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

1 participant