forked from xamarin/GoogleApisForiOSComponents
-
Notifications
You must be signed in to change notification settings - Fork 5
/
CloudFunctions.targets
23 lines (23 loc) · 1.1 KB
/
CloudFunctions.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<Project>
<PropertyGroup>
<_FirebaseFunctionsId>FirebaseFunctions</_FirebaseFunctionsId>
</PropertyGroup>
<ItemGroup Condition="('$(OutputType)' != 'Library' OR '$(IsAppExtension)' == 'True') AND ('$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '')">
<_NativeReference Include="$(MSBuildThisFileDirectory)..\lib\xamarinios10\Firebase.CloudFunctions.resources\FirebaseFunctions.xcframework">
<_Id>$(_FirebaseFunctionsId)</_Id>
</_NativeReference>
</ItemGroup>
<Target Name="_ResolveNativeReferencesForFirebaseFunctions"
BeforeTargets="ResolveNativeReferences"
Condition="('$(TargetFrameworks)' == '' AND '$(TargetFramework)' == '') OR '$(IsBindingProject)' == 'true'">
<ItemGroup>
<_NativeReference Update="@(_NativeReference)" Condition="'%(_NativeReference._Id)' == '$(_FirebaseFunctionsId)'">
<Kind>Framework</Kind>
<SmartLink>True</SmartLink>
<ForceLoad>True</ForceLoad>
<LinkerFlags>-ObjC</LinkerFlags>
</_NativeReference>
<NativeReference Include="@(_NativeReference)" />
</ItemGroup>
</Target>
</Project>