You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will create an IPA file in your publish folder which you can upload to the AppStore.
231
231
232
+
Some other options for the project file that have helped make an ipa.
233
+
234
+
### **UseInterpreter** setting
235
+
236
+
If you encounter an exit code of 134 during (Ahead of Time) AOT compilation during the **dotnet publish** phase, then set this property to **true**.
237
+
238
+
e.g.
239
+
240
+
```sh
241
+
/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk.net9.0_26.0/26.0.9752/targets/Xamarin.Shared.Sdk.targets(1387,3): error : Failed to AOT compile aot-instances.dll, the AOT compiler exited with code 134.
242
+
```
243
+
244
+
This setting tells the build system to disable full Ahead-Of-Time (AOT) compilation and instead rely on the Mono Interpreter for the managed C# code.
245
+
246
+
Setting the csproj file:
247
+
248
+
```xml
249
+
<PropertyGroup>
250
+
<UseInterpreter>true</UseInterpreter>
251
+
</PropertyGroup>
252
+
```
253
+
254
+
### End of Life Target warning
255
+
256
+
Suppressing the End of Life (EoL) warning can be done with the **CheckEolTargetFramework** setting.
257
+
258
+
```sh
259
+
error NETSDK1202: The workload 'net8.0-ios' is out of support and will not receive security updates in the future.
260
+
```
261
+
262
+
Setting in the csproj file to suppress the warning:
0 commit comments