-
Notifications
You must be signed in to change notification settings - Fork 486
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
Code object is not signed at all System.ServiceModel.Web.dll #20555
Comments
This error happens if there's a It looks like these two items: <ItemGroup>
<EmbeddedResource Include="Resources\Configuration\appsettings.json">
<LogicalName>appsettings.json</LogicalName>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Include="Resources\Configuration\server.json">
<LogicalName>server.json</LogicalName>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup> somehow ends up in the I have two ideas to try:
<ItemGroup>
<EmbeddedResource Include="Resources/Configuration/appsettings.json">
<LogicalName>appsettings.json</LogicalName>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
<EmbeddedResource Include="Resources/Configuration/server.json">
<LogicalName>server.json</LogicalName>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<BundleResource Include="Resources\Configuration\appsettings.json">
<LogicalName>appsettings.json</LogicalName>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
<BundleResource Include="Resources\Configuration\server.json">
<LogicalName>server.json</LogicalName>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup> Can you try either of these to see if they work? |
Sure, I'll try this and let you know the results. however, this is not happening with the other old mac, may be is for the new M1, why this happens? |
Using the option 1 I got the same error. With the option 2 the app compiles well, however, does not run since the files server.json and appsettings.json are needed in the assembly. Also, the background color is not being displayed. I'm attaching another msbuild in case can help to provide more information. |
I moved the server and appsettings files outside of the Resources folder and apparently in compiling. however, when the app startup I go a new exception ObjCRuntime.ObjCException Native stack trace: Source=Microsoft.iOS |
Looks like the msbuild.zip didn't upload correctly, can you try again please? |
...
The problem is that the CleverTapSDK doesn't do swizzling right. They intercept calls to |
So that I'm understanding is I have to report this to CleverTap team to fix it? My Question is why with the older Mac this is not happening? I'll remove the CleverTap implementation and test again. This is the repo of CleverTap in case you could check it up |
I removed clevertap implementation and the app is running as expected with the brand-new MacBook air M1. The MacBook pro Intel compiles the app as well without any change, so I do not understand this different. |
Correct.
I don't know; I'd need a test project that I can use to reproduce the behavior in order to figure this out. |
I'm working on an example project to use CleverTap and try to replicate this issue. |
Apparently CleverTap released a new version of their nuget and now it's working. But I got the error serval times even when I deleted bin, obj, mac build. But for some reason I was able to compile a run the app in the emulator. I'll try in a physical device. |
Hi @Elinares-82. Due to inactivity, we will be closing this issue. Please feel free to re-open this issue if the issue persists. For enhanced visibility, if over 7 days have passed, please open a new issue and link this issue there. Thank you. |
Steps to Reproduce
Expected Behavior
Compile the app as we can do it with an old machine Macbook Pro Intel processor.
Actual Behavior
Not compile with the following error:
Severity Code Description Project File Line Suppression State Details
Error /usr/bin/codesign exited with code 1:
/Users/xxxxx/Library/Caches/Xamarin/mtbs/builds/NeighborStore.Mobile.App/65bf70b6a9038eb78bf23acea14c81430aa649c361aff5226066ad748ca94b87/bin/Debug/net8.0-ios/iossimulator-x64/NeighborStore.Mobile.App.app: code object is not signed at all
In subcomponent: /Users/xxxxx/Library/Caches/Xamarin/mtbs/builds/NeighborStore.Mobile.App/65bf70b6a9038eb78bf23acea14c81430aa649c361aff5226066ad748ca94b87/bin/Debug/net8.0-ios/iossimulator-x64/NeighborStore.Mobile.App.app/System.ServiceModel.Web.dll NeighborStore.Mobile.App C:\Program Files\dotnet\packs\Microsoft.iOS.Sdk\17.2.8004\tools\msbuild\iOS\Xamarin.Shared.targets 2256
Severity Code Description Project File Line Suppression State Details
Error Failed to codesign '/Users/xxxxx/Library/Caches/Xamarin/mtbs/builds/NeighborStore.Mobile.App/65bf70b6a9038eb78bf23acea14c81430aa649c361aff5226066ad748ca94b87/bin/Debug/net8.0-ios/iossimulator-x64/NeighborStore.Mobile.App.app': /Users/xxxx/Library/Caches/Xamarin/mtbs/builds/NeighborStore.Mobile.App/65bf70b6a9038eb78bf23acea14c81430aa649c361aff5226066ad748ca94b87/bin/Debug/net8.0-ios/iossimulator-x64/NeighborStore.Mobile.App.app: code object is not signed at all
In subcomponent: /Users/xxxx/Library/Caches/Xamarin/mtbs/builds/NeighborStore.Mobile.App/65bf70b6a9038eb78bf23acea14c81430aa649c361aff5226066ad748ca94b87/bin/Debug/net8.0-ios/iossimulator-x64/NeighborStore.Mobile.App.app/System.ServiceModel.Web.dll
Environment
Windows machine connected to mac
All the certificates are in the KeyStore
Version information
Visual Studio 17.9.6
Macbook Air M1 2020 Sonoma 14.4.1 Xcode 15.2
I created a new MAUI solution and configured the app identifier and compile as expected and run the app in a physical phone and emulator as well.
Build Logs
Example Project (If Possible)
MSBuild_Logs.zip
The text was updated successfully, but these errors were encountered: