Skip to content

Commit

Permalink
fix disabling code signing on latest visual studio for mac
Browse files Browse the repository at this point in the history
  • Loading branch information
r58Playz committed Jul 28, 2024
1 parent 93f6976 commit 841f743
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ if ! ./buildlibs.sh ios; then nativelib_build_err; fi
if ! cp -r "$script_dir/fnalibs-ios-builder-celeste/release/ios/device/." "$script_dir/celestemeow/"; then nativelib_build_err; fi

cd "$script_dir" || cd_fail
if ! msbuild /restore /p:Configuration="AppStore" /p:"Configuration=Release;Platform=iPhone" /target:celestemeow; then
if ! msbuild /restore /p:Configuration="AppStore" /p:"Configuration=Release;Platform=iPhone" /target:celestemeow /p:EnableCodeSigning=false; then
error "failed to build ios project"
exit 1
fi
Expand Down
13 changes: 0 additions & 13 deletions celestemeow/celestemeow.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -179,19 +179,6 @@
<Compile Include="Main.cs" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\iOS\Xamarin.iOS.CSharp.targets" />
<Target Name="Codesign" />
<Target Name="_DetectSigningIdentity" Condition="'$(_CanOutputAppBundle)' == 'true'" DependsOnTargets="_DetectAppManifest;_DetectSdkLocations;_ComputeTargetFrameworkMoniker">
<DetectSigningIdentity SessionId="$(BuildSessionId)" Condition="'$(IsMacEnabled)' == 'true'" AppBundleName="$(_AppBundleName)" AppManifest="$(_AppManifest)" RequireCodeSigning="false" RequireProvisioningProfile="false" SdkIsSimulator="$(_SdkIsSimulator)" SdkPlatform="$(_SdkPlatform)" TargetFrameworkMoniker="$(_ComputedTargetFrameworkMoniker)">

<Output TaskParameter="DetectedAppId" PropertyName="_AppIdentifier" />
<Output TaskParameter="DetectedBundleId" PropertyName="_BundleIdentifier" />
<Output TaskParameter="DetectedBundleVersion" PropertyName="_BundleVersion" />
<Output TaskParameter="DetectedCodeSigningKey" PropertyName="_CodeSigningKey" />
<Output TaskParameter="DetectedCodesignAllocate" PropertyName="_CodesignAllocate" />
<Output TaskParameter="DetectedDistributionType" PropertyName="_DistributionType" />
<Output TaskParameter="DetectedProvisioningProfile" PropertyName="_ProvisioningProfile" />
</DetectSigningIdentity>
</Target>
<!-- <Target Name="IncludeAllFilesInTargetDir" AfterTargets="Build">
<ItemGroup>
<Folder Include="./../celeste" />
Expand Down

0 comments on commit 841f743

Please sign in to comment.