1
0
forked from MeloNX/MeloNX

iOS : fix xcode paths

This commit is contained in:
TSR Berry 2024-03-03 20:13:55 +01:00 committed by Emmanuel Hansen
parent 06a7c0217f
commit 407c67a512

View File

@ -9,7 +9,7 @@
<PropertyGroup> <PropertyGroup>
<PublishAot>true</PublishAot> <PublishAot>true</PublishAot>
<PublishAotUsingRuntimePack>true</PublishAotUsingRuntimePack> <PublishAotUsingRuntimePack>true</PublishAotUsingRuntimePack>
<!-- Not sure why, but on iOS this results in an error. Result is still a .dylib. --> <!-- Not sure why, but on iOS this results in an error. Result is still a .dylib. -->
<NativeLib Condition="'$(RuntimeIdentifier)'=='linux-bionic-arm64'">Shared</NativeLib> <NativeLib Condition="'$(RuntimeIdentifier)'=='linux-bionic-arm64'">Shared</NativeLib>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<EnableTrimAnalyzer>true</EnableTrimAnalyzer> <EnableTrimAnalyzer>true</EnableTrimAnalyzer>
@ -34,10 +34,8 @@
<Message Importance="normal" Text="Found Xcode at $(XcodeSelect)" /> <Message Importance="normal" Text="Found Xcode at $(XcodeSelect)" />
<ItemGroup> <ItemGroup>
<LinkerArg Include="-Wl,-ld_classic" /> <LinkerArg Include="-Wl,-ld_classic" />
<LinkerArg Include="-isysroot %22$(XcodePath)Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk%22" <LinkerArg Include="-isysroot %22$(XcodePath)Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk%22" Condition=" $(RuntimeIdentifier.Contains('simulator')) "/>
Condition=" $(RuntimeIdentifier.Contains('simulator')) "/> <LinkerArg Include="-isysroot %22$(XcodePath)Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk%22" Condition=" !$(RuntimeIdentifier.Contains('simulator')) "/>
<LinkerArg Include="-isysroot %22$(XcodePath)Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk%22"
Condition=" !$(RuntimeIdentifier.Contains('simulator')) "/>
</ItemGroup> </ItemGroup>
</Target> </Target>
<Target Condition="'$(RuntimeIdentifier)'=='ios-arm64'" Name="FixDylib" AfterTargets="Publish"> <Target Condition="'$(RuntimeIdentifier)'=='ios-arm64'" Name="FixDylib" AfterTargets="Publish">