Source mode lets an application consume the managed project and already-built native assets from a sibling checkout. It does not download dependencies from the consuming app.
-
Build native assets:
bash src/Kapusch.TikTokApisForiOSComponents/Native/iOS/build.sh
-
Add a
ProjectReferencetosrc/Kapusch.TikTokApisForiOSComponents/Kapusch.TikTokApisForiOSComponents.csproj. -
Import both
buildTransitive/Kapusch.TikTok.iOS.propsandbuildTransitive/Kapusch.TikTok.iOS.targetsfrom the checkout. -
Set
UseKapuschTikTokIosInteropFromSource=truein the consuming iOS project.
The source checkout must remain adjacent or be provided through an explicit MSBuild root property chosen by the consuming application.