c9047de455
Replaced obsolete preprocessor check for simulator/device in C code. Architecture can no longer be used to determine this with Apple Silicon. The new code uses `TARGET_OS_SIMULATOR` from `TargetConditionals.h`. We have some mono libs which can only be used in devide builds. We were adding them as static libs. Previously it was only causing warnings because missing arch for the simulator, but now this is treated as an error. To fix this we turn them into xcframeworks with dummy static libs for the simulator and the actual ones for devices.
40 lines
1 KiB
Text
40 lines
1 KiB
Text
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>AvailableLibraries</key>
|
|
<array>
|
|
<dict>
|
|
<key>LibraryIdentifier</key>
|
|
<string>ios-arm64</string>
|
|
<key>LibraryPath</key>
|
|
<string>libmono-icall-table.a</string>
|
|
<key>SupportedArchitectures</key>
|
|
<array>
|
|
<string>arm64</string>
|
|
</array>
|
|
<key>SupportedPlatform</key>
|
|
<string>ios</string>
|
|
</dict>
|
|
<dict>
|
|
<key>LibraryIdentifier</key>
|
|
<string>ios-arm64_x86_64-simulator</string>
|
|
<key>LibraryPath</key>
|
|
<string>libmono-icall-table.a</string>
|
|
<key>SupportedArchitectures</key>
|
|
<array>
|
|
<string>arm64</string>
|
|
<string>x86_64</string>
|
|
</array>
|
|
<key>SupportedPlatform</key>
|
|
<string>ios</string>
|
|
<key>SupportedPlatformVariant</key>
|
|
<string>simulator</string>
|
|
</dict>
|
|
</array>
|
|
<key>CFBundlePackageType</key>
|
|
<string>XFWK</string>
|
|
<key>XCFrameworkFormatVersion</key>
|
|
<string>1.0</string>
|
|
</dict>
|
|
</plist>
|