Skip to content

Commit

Permalink
fix: add NoBindingEmbedding to the iOS binding projects.
Browse files Browse the repository at this point in the history
"NoBindingEmbedding = True" is required when using an XCFramework, otherwise the comsuming app project will get linker errors on all Objective-C classes.
xamarin/xamarin-macios#10774 (comment)
  • Loading branch information
lassana committed Dec 18, 2021
1 parent 6dcab84 commit e11debd
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<AssemblyName>CobrowseIO.AppExtension.iOS</AssemblyName>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<Description>https://github.com/cobrowseio/cobrowse-sdk-ios-binary/tree/master/CobrowseIOAppExtension.xcframework</Description>
<NoBindingEmbedding>true</NoBindingEmbedding>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
1 change: 1 addition & 0 deletions iOS/CobrowseIO.iOS/CobrowseIO.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<AssemblyName>CobrowseIO.iOS</AssemblyName>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<Description>https://github.com/cobrowseio/cobrowse-sdk-ios-binary</Description>
<NoBindingEmbedding>true</NoBindingEmbedding>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
1 change: 1 addition & 0 deletions iOS/Starscream.iOS/Starscream.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<AssemblyName>Starscream.iOS</AssemblyName>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<Description>https://github.com/daltoniam/Starscream</Description>
<NoBindingEmbedding>true</NoBindingEmbedding>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down
1 change: 1 addition & 0 deletions iOS/SwiftCBOR.iOS/SwiftCBOR.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
<AssemblyName>SwiftCBOR.iOS</AssemblyName>
<RestoreProjectStyle>PackageReference</RestoreProjectStyle>
<Description>https://github.com/myfreeweb/SwiftCBOR</Description>
<NoBindingEmbedding>true</NoBindingEmbedding>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
Expand Down

0 comments on commit e11debd

Please sign in to comment.