Need help with this build error - BTOUCH : error BI0000: Unexpected error
- Dominant language
- C#
- Stars
- 2.9k
- Forks
- 576
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Hi,
I am creating an iOS binding library for a native library from https://github.com/FutureWorkshops/RANDA-RulesOfGolf-iOS-PodRepo.
I could not get past this error and there are no other details on why it is failing
```
BTOUCH : error BI0000: Unexpected error - Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new [/Users/kennethylaya/Projects/RANDARulesOfGolf.iOS/RANDARulesOfGolf.DotNet.Bindings/RANDARulesOfGolf.DotNet.Bindings.csproj]
```
### Steps to Reproduce
1. Built the native framework as described in the `README` from https://github.com/FutureWorkshops/RANDA-RulesOfGolf-iOS-PodRepo
2. Create an iOS Binding library project in VS for Mac.
3. Add a reference to the framework.
4. Build the iOS binding library project.
### Expected Behavior
Compiles successfully and creates an iOS binding library DLL that can be reference in the .NET for iOS project.
### Actual Behavior
BTOUCH : error BI0000: Unexpected error - Please file a bug report at https://github.com/xamarin/xamarin-macios/issues/new [/Users/kennethylaya/Projects/RANDARulesOfGolf.iOS/RANDARulesOfGolf.DotNet.Bindings/RANDARulesOfGolf.DotNet.Bindings.csproj]
### Environment
Version information
```
Visual Studio Professional 2022 for Mac
Version 17.6.11 (build 400)
Installation UUID: b30d0650-eebc-45b8-bf8f-46e856ca2184
Runtime
.NET 7.0.3 (64-bit)
Architecture: Arm64
Microsoft.macOS.Sdk 13.1.1007; git-rev-head:8afca776a0a96613dfb7200e0917bb57f9ed5583; git-branch:release/7.0.1xx-xcode14.2
Roslyn (Language Service)
4.6.0-3.23180.6+99e956e42697a6dd886d1e12478ea2b27cceacfa
NuGet
Version: 6.4.0.117
.NET SDK (Arm64)
SDK: /usr/local/share/dotnet/sdk/7.0.315/Sdks
SDK Versions:
7.0.315
7.0.314
6.0.421
6.0.420
MSBuild SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks
.NET Runtime (Arm64)
Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
7.0.18
7.0.17
6.0.29
6.0.28
Xamarin.Profiler
Version: 1.8.0.49
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler
Updater
Version: 11
Apple Developer Tools
Xcode: 15.2 22503
Build: 15C500b
Xamarin.Mac
Not Installed
Xamarin.iOS
Version: 16.4.0.23 Visual Studio Professional
Hash: 9defd91b3
Branch: xcode14.3
Build date: 2023-10-23 16:15:00-0400
Xamarin Designer
Version: 17.6.3.9
Hash: 2648399ae8
Branch: remotes/origin/d17-6
Build date: 2024-04-05 09:48:23 UTC
Xamarin.Android
Version: 13.2.2.0 (Visual Studio Professional)
Commit: xamarin-android/d17-5/45b0e14
Android SDK: /Users/kennethylaya/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
13.0 (API level 33)
SDK Command-line Tools Version: 7.0
SDK Platform Tools Version: 34.0.3
SDK Build Tools Version: 32.0.0
Build Information:
Mono: d9a6e87
Java.Interop: xamarin/java.interop/d17-5@149d70fe
SQLite: xamarin/sqlite/3.40.1@68c69d8
Xamarin.Android Tools: xamarin/xamarin-android-tools/d17-5@ca1552d
Microsoft Build of OpenJDK
Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk
11.0.16.1
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
Eclipse Temurin JDK
Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk
1.8.0.302
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL
Android SDK Manager
Version: 17.6.0.50
Hash: a715dca
Branch: HEAD
Build date: 2024-04-05 09:48:29 UTC
Android Device Manager
Version: 0.0.0.1309
Hash: 06e3e77
Branch: HEAD
Build date: 2024-04-05 09:48:29 UTC
Build Information
Release ID: 1706110400
Git revision: 5d3d895c30788d39f3fb9931002e2961d22b60fd
Build date: 2024-04-05 09:46:37+00
Build branch: release-17.6
Build lane: release-17.6
Operating System
Mac OS X 14.4.1
Darwin 23.4.0 Darwin Kernel Version 23.4.0
Fri Mar 15 00:12:41 PDT 2024
root:xnu-10063.101.17~1/RELEASE_ARM64_T8103 arm64
```
### Build Logs
[msbuild.binlog.zip](https://github.com/xamarin/xamarin-macios/files/15327373/msbuild.binlog.zip)
### Example Project (If Possible)
[RulesOfGolf.iOS.Bindings.zip](https://github.com/xamarin/xamarin-macios/files/15327367/RulesOfGolf.iOS.Bindings.zip)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.