Hello, one question again: Is there a reason why t...
# compose-ios
j
Hello, one question again: Is there a reason why the framework build by cocoapods for the compose-multiplatform-template is build with
isStatic = true
? If I change that to the default (false) iOS fails to build with something like:
Copy code
Undefined symbols for architecture arm64
_CTFontCollectionCreateFromAvailableFonts", referenced from:
      SkFontMgr_Mac::SkFontMgr_Mac(__CTFontCollection const*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)
 ....
a
@Dima Avdeev probably knows 🙂
d
We have dependencies that require only static frameworks. We will change it in the future. But now you always should add
isStatic = true
j
but what if my shared module B is based on another shared module A? E.g.: In my gradle file of module B I have defined something like this in the cocoapods section:
Copy code
export(projects.gsCoreMultiplatform)
  transitiveExport = true
d
for now we have transitive dependency that require to use isStatic=true
we will add support of dynamic frameworks later
j
hm ... but I do not understand why my ios app crashes when I change isStatic to true. E.g. this is my cocoapods-section of my shared-module within gradle file and iOS/Android Apps are working fine:
Copy code
cocoapods {
        summary = "Some description for the Shared Module"
        homepage = "Link to the Shared Module homepage"
        version = "1.0"
        ios.deploymentTarget = "15.0"
        podfile = project.file("../iosApp/Podfile")
        framework {
            baseName = "gs_api_multiplatform"
            //isStatic = true

            //also export gs_core_multiplatform
            export(projects.gsCoreMultiplatform)
            transitiveExport = true
        }
    }
When I comment in
isStatic = true
iOS crashes. I have to set it to true to enable compose-multiplatform in this shared module otherwise I get the exception at the top of this discussion
ok, I have changed all my shared modules to be static, now it seems to be working
u
Hi @Dima Avdeev, as Jan has written, it works fine now since all modules are static. But somehow we got the exact same error
Copy code
Undefined symbols for architecture arm64:
  "_CTFontCollectionCreateFromAvailableFonts", referenced from:
      SkFontMgr_Mac::SkFontMgr_Mac(__CTFontCollection const*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)
  "_CTFontCollectionCreateMatchingFontDescriptors", referenced from:
      (anonymous namespace)::SkCopyAvailableFontFamilyNames(__CTFontCollection const*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)
...
ld: symbol(s) not found for architecture arm64
beside somewhat hundreds of warnings like
Copy code
ld: warning: object file (/var/folders/z2/2j3w5g9s31vfsnhj429nwvjh0000gn/T/included5159053491124524538/libskia.a(libexpat.xmltok.o)) was built for newer iOS Simulator version (15.2) than being linked (9.0)
while running the unit-tests in our CI-Environment (we are executing the gradle-task`module namecheck` via fastlane - the failing task is
Execution failed for task ':module_name:linkDebugTestIosSimulatorArm64'
) Do you have an idea what could cause this? Thanks a lot in advance, Uli
d
@Uli Niggemann Can you please prepare a minimal reproducible sample of this issue with linkDebugTestIosSimulatorArm64 ?
And share it on GitHub
u
Hi @Dima Avdeev, as our project is already kind of big, i have created a empty project from scratch and just added the dependencies. The error message is not the same but similar:
Copy code
Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_MTLCommandBufferDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlCommandBuffer.o)
  "_OBJC_CLASS_$_MTLCompileOptions", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlUtil.o)
  "_OBJC_CLASS_$_MTLDepthStencilDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlDepthStencil.o)
  "_OBJC_CLASS_$_MTLRenderPassDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlGpu.o)
      objc-class-ref in libskia.a(gpu.GrMtlOpsRenderPass.o)
  "_OBJC_CLASS_$_MTLRenderPipelineColorAttachmentDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlResourceProvider.o)
      objc-class-ref in libskia.a(gpu.GrMtlPipelineStateBuilder.o)
  "_OBJC_CLASS_$_MTLRenderPipelineDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlResourceProvider.o)
      objc-class-ref in libskia.a(gpu.GrMtlPipelineStateBuilder.o)
  "_OBJC_CLASS_$_MTLSamplerDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlSampler.o)
  "_OBJC_CLASS_$_MTLStencilDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlDepthStencil.o)
  "_OBJC_CLASS_$_MTLTextureDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlUtil.o)
      objc-class-ref in libskia.a(gpu.GrMtlGpu.o)
      objc-class-ref in libskia.a(gpu.GrMtlAttachment.o)
  "_OBJC_CLASS_$_MTLVertexDescriptor", referenced from:
      objc-class-ref in libskia.a(gpu.GrMtlPipelineStateBuilder.o)
ld: symbol(s) not found for architecture arm64
The warnings also occur. You will find it at https://github.com/niggeulimann/kmp_w_compose Just launch the CommonGreetingTest in Android-Studio as iOSSimulatorArm64 Thanks a lot in advance - hopefully our mistake is not as stupid as I fear 😉
d
What Mac processor architecture do you have? Intel x86 or Apple Silicone M1/M2 ?
j
Apple M1 Max
d
j
Thanks!
a
Hi @Dima Avdeev I have similar issue when I try to the run app it gives me similar error, when I set the isStatic = true in build.gradle.kts the error goes away. But this flag causes issue like linker not found when I want to add other libraries like SQLDelight here’s the log when I turn isStatic to false
Copy code
Undefined symbols for architecture arm64:

 "_CTFontCollectionCreateFromAvailableFonts", referenced from:

   SkFontMgr_Mac::SkFontMgr_Mac(__CTFontCollection const*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

 "_CTFontCollectionCreateMatchingFontDescriptors", referenced from:

   (anonymous namespace)::SkCopyAvailableFontFamilyNames(__CTFontCollection const*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

 "_CTFontCopyAttribute", referenced from:

   SkCTFontCreateExactCopy(__CTFont const*, double, OpszVariation) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onOpenStream(int*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontCopyAvailableTables", referenced from:

   SkTypeface_Mac::onGetTableTags(unsigned int*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontCopyCharacterSet", referenced from:

   SkTypeface_Mac::getGlyphToUnicodeMap(int*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontCopyFamilyName", referenced from:

   SkTypeface_Mac::onGetFamilyName(SkString*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetFontDescriptor(SkFontDescriptor*, bool*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontCopyFontDescriptor", referenced from:

   SkTypeface_Mac::Make(std::__1::unique_ptr<_CTFont const, SkOverloadedFunctionObject<void (void const*), &(CFRelease)> >, OpszVariation, std::_1::unique_ptr<SkStreamAsset, std::__1::default_delete<SkStreamAsset> >)::$_0::operator()() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkCTFontGetDataFontWeightMapping() in libskia.a(libskia.SkCTFont.o)

 "_CTFontCopyFullName", referenced from:

   SkTypeface_Mac::onGetFontDescriptor(SkFontDescriptor*, bool*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontCopyGraphicsFont", referenced from:

   SkTypeface_Mac::onGetUPEM() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetTableData(unsigned int, unsigned long, unsigned long, void*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onCopyTableData(unsigned int) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkScalerContext_Mac::SkScalerContext_Mac(sk_sp<SkTypeface_Mac>, SkScalerContextEffects const&, SkDescriptor const*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontCopyLocalizedName", referenced from:

   SkTypeface_Mac::onCreateFamilyNameIterator() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontCopyPostScriptName", referenced from:

   SkTypeface_Mac::onGetAdvancedMetrics() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetPostScriptName(SkString*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetFontDescriptor(SkFontDescriptor*, bool*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontCopyTable", referenced from:

   SkTypeface_Mac::onGetTableData(unsigned int, unsigned long, unsigned long, void*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onCopyTableData(unsigned int) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontCopyVariation", referenced from:

   SkTypeface_Mac::onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate*, int) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkCTVariationFromSkFontArguments(__CTFont const*, __CFArray const*, SkFontArguments const&) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontCopyVariationAxes", referenced from:

   SkFontMgr_Mac::onMakeFromStreamArgs(std::__1::unique_ptr<SkStreamAsset, std::__1::default_delete<SkStreamAsset> >, SkFontArguments const&) const in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkTypeface_Mac::onGetAdvancedMetrics() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::getVariationAxes() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate*, int) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onMakeClone(SkFontArguments const&) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetVariationDesignParameters(SkFontParameters::Variation::Axis*, int) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontCreateCopyWithAttributes", referenced from:

   SkFontMgr_Mac::onMakeFromStreamArgs(std::__1::unique_ptr<SkStreamAsset, std::__1::default_delete<SkStreamAsset> >, SkFontArguments const&) const in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkCTFontCreateExactCopy(__CTFont const*, double, OpszVariation) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onMakeClone(SkFontArguments const&) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontCreateCopyWithSymbolicTraits", referenced from:

   create_from_name(char const*, SkFontStyle const&) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

 "_CTFontCreateForString", referenced from:

   SkFontMgr_Mac::onMatchFamilyStyleCharacter(char const*, SkFontStyle const&, char const**, int, int) const in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

 "_CTFontCreatePathForGlyph", referenced from:

   SkScalerContext_Mac::generateMetrics(SkGlyph*, SkArenaAlloc*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

   SkScalerContext_Mac::generatePath(SkGlyph const&, SkPath*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontCreateWithFontDescriptor", referenced from:

   SkFontMgr_Mac::onMatchFamilyStyle(char const*, SkFontStyle const&) const in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkFontMgr_Mac::onMatchFamilyStyleCharacter(char const*, SkFontStyle const&, char const**, int, int) const in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   (anonymous namespace)::SkFontStyleSet_Mac::createTypeface(int) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   (anonymous namespace)::SkFontStyleSet_Mac::matchStyle(SkFontStyle const&) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   (anonymous namespace)::ctfont_from_skdata(sk_sp<SkData>, int) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   create_from_name(char const*, SkFontStyle const&) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkCTFontGetSmoothBehavior() in libskia.a(libskia.SkCTFont.o)

   ...

 "_CTFontDescriptorCopyAttribute", referenced from:

   (anonymous namespace)::SkCopyAvailableFontFamilyNames(__CTFontCollection const*)::$_2::__invoke(void const*, void*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   (anonymous namespace)::SkFontStyleSet_Mac::getStyle(int, SkFontStyle*, SkString*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkCTFontDescriptorGetSkFontStyle(__CTFontDescriptor const*, bool) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkCTFontGetDataFontWeightMapping() in libskia.a(libskia.SkCTFont.o)

 "_CTFontDescriptorCreateMatchingFontDescriptors", referenced from:

   SkFontMgr_Mac::CreateSet(__CFString const*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

 "_CTFontDescriptorCreateWithAttributes", referenced from:

   SkFontMgr_Mac::onMakeFromStreamArgs(std::__1::unique_ptr<SkStreamAsset, std::__1::default_delete<SkStreamAsset> >, SkFontArguments const&) const in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkFontMgr_Mac::CreateSet(__CFString const*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   create_descriptor(char const*, SkFontStyle const&) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkCTFontCreateExactCopy(__CTFont const*, double, OpszVariation) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onMakeClone(SkFontArguments const&) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontDrawGlyphs", referenced from:

   SkCTFontGetSmoothBehavior() in libskia.a(libskia.SkCTFont.o)

   SkScalerContext_Mac::Offscreen::getCG(SkScalerContext_Mac const&, SkGlyph const&, unsigned short, unsigned long*, bool) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetAdvancesForGlyphs", referenced from:

   SkScalerContext_Mac::generateMetrics(SkGlyph*, SkArenaAlloc*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetAscent", referenced from:

   SkTypeface_Mac::onGetAdvancedMetrics() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkScalerContext_Mac::generateFontMetrics(SkFontMetrics*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetBoundingBox", referenced from:

   SkTypeface_Mac::onGetAdvancedMetrics() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkScalerContext_Mac::generateFontMetrics(SkFontMetrics*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetBoundingRectsForGlyphs", referenced from:

   SkTypeface_Mac::onGetAdvancedMetrics() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkScalerContext_Mac::generateMetrics(SkGlyph*, SkArenaAlloc*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetCapHeight", referenced from:

   SkTypeface_Mac::onGetAdvancedMetrics() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkScalerContext_Mac::generateFontMetrics(SkFontMetrics*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetDescent", referenced from:

   SkTypeface_Mac::onGetAdvancedMetrics() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkScalerContext_Mac::generateFontMetrics(SkFontMetrics*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetGlyphCount", referenced from:

   SkTypeface_Mac::getGlyphToUnicodeMap(int*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onCountGlyphs() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontGetGlyphsForCharacters", referenced from:

   SkTypeface_Mac::getGlyphToUnicodeMap(int*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetAdvancedMetrics() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onCharsToGlyphs(int const*, int, unsigned short*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   get_plane_glyph_map(unsigned char const*, __CTFont const*, long, int*, unsigned char) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontGetLeading", referenced from:

   SkScalerContext_Mac::generateFontMetrics(SkFontMetrics*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetSize", referenced from:

   SkCTFontCreateExactCopy(__CTFont const*, double, OpszVariation) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkScalerContext_Mac::generateFontMetrics(SkFontMetrics*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetSlantAngle", referenced from:

   SkTypeface_Mac::onGetAdvancedMetrics() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontGetSymbolicTraits", referenced from:

   create_from_name(char const*, SkFontStyle const&) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)
Copy code
SkTypeface_Mac::Make(std::__1::unique_ptr<_CTFont const, SkOverloadedFunctionObject<void (void const*), &(CFRelease)> >, OpszVariation, std::_1::unique_ptr<SkStreamAsset, std::__1::default_delete<SkStreamAsset> >)::$_0::operator()() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetAdvancedMetrics() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_CTFontGetUnderlinePosition", referenced from:

   SkScalerContext_Mac::generateFontMetrics(SkFontMetrics*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetUnderlineThickness", referenced from:

   SkScalerContext_Mac::generateFontMetrics(SkFontMetrics*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetUnitsPerEm", referenced from:

   SkTypeface_Mac::getGlyphToUnicodeMap(int*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetAdvancedMetrics() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkScalerContext_Mac::generateFontMetrics(SkFontMetrics*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontGetXHeight", referenced from:

   SkScalerContext_Mac::generateFontMetrics(SkFontMetrics*) in libskia.a(fontmgr_mac_ct.SkScalerContext_mac_ct.o)

 "_CTFontManagerCreateFontDescriptorFromData", referenced from:

   (anonymous namespace)::ctfont_from_skdata(sk_sp<SkData>, int) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkCTFontGetSmoothBehavior() in libskia.a(libskia.SkCTFont.o)

   SkCTFontGetDataFontWeightMapping() in libskia.a(libskia.SkCTFont.o)

 "_kCTFontFamilyNameAttribute", referenced from:

   (anonymous namespace)::SkCopyAvailableFontFamilyNames(__CTFontCollection const*)::$_2::__invoke(void const*, void*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkFontMgr_Mac::CreateSet(__CFString const*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   create_descriptor(char const*, SkFontStyle const&) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

 "_kCTFontFamilyNameKey", referenced from:

   SkTypeface_Mac::onCreateFamilyNameIterator() const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_kCTFontFormatAttribute", referenced from:

   SkTypeface_Mac::onOpenStream(int*) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_kCTFontSlantTrait", referenced from:

   create_descriptor(char const*, SkFontStyle const&) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkCTFontDescriptorGetSkFontStyle(__CTFontDescriptor const*, bool) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_kCTFontStyleNameAttribute", referenced from:

   (anonymous namespace)::SkFontStyleSet_Mac::getStyle(int, SkFontStyle*, SkString*) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

 "_kCTFontTraitsAttribute", referenced from:

   create_descriptor(char const*, SkFontStyle const&) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkCTFontDescriptorGetSkFontStyle(__CTFontDescriptor const*, bool) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkCTFontGetDataFontWeightMapping() in libskia.a(libskia.SkCTFont.o)

 "_kCTFontVariationAttribute", referenced from:

   SkFontMgr_Mac::onMakeFromStreamArgs(std::__1::unique_ptr<SkStreamAsset, std::__1::default_delete<SkStreamAsset> >, SkFontArguments const&) const in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkTypeface_Mac::onMakeClone(SkFontArguments const&) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_kCTFontVariationAxisDefaultValueKey", referenced from:

   SkTypeface_Mac::onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate*, int) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkCTVariationFromSkFontArguments(__CTFont const*, __CFArray const*, SkFontArguments const&) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetVariationDesignParameters(SkFontParameters::Variation::Axis*, int) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_kCTFontVariationAxisIdentifierKey", referenced from:

   SkTypeface_Mac::onGetVariationDesignPosition(SkFontArguments::VariationPosition::Coordinate*, int) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkCTVariationFromSkFontArguments(__CTFont const*, __CFArray const*, SkFontArguments const&) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetVariationDesignParameters(SkFontParameters::Variation::Axis*, int) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_kCTFontVariationAxisMaximumValueKey", referenced from:

   SkCTVariationFromSkFontArguments(__CTFont const*, __CFArray const*, SkFontArguments const&) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetVariationDesignParameters(SkFontParameters::Variation::Axis*, int) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_kCTFontVariationAxisMinimumValueKey", referenced from:

   SkCTVariationFromSkFontArguments(__CTFont const*, __CFArray const*, SkFontArguments const&) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkTypeface_Mac::onGetVariationDesignParameters(SkFontParameters::Variation::Axis*, int) const in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_kCTFontWeightTrait", referenced from:

   create_descriptor(char const*, SkFontStyle const&) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkCTFontDescriptorGetSkFontStyle(__CTFontDescriptor const*, bool) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

   SkCTFontGetDataFontWeightMapping() in libskia.a(libskia.SkCTFont.o)

 "_kCTFontWidthTrait", referenced from:

   create_descriptor(char const*, SkFontStyle const&) in libskia.a(fontmgr_mac_ct.SkFontMgr_mac_ct.o)

   SkCTFontDescriptorGetSkFontStyle(__CTFontDescriptor const*, bool) in libskia.a(fontmgr_mac_ct.SkTypeface_mac_ct.o)

 "_kfun:com.abdulaziz.trivia.navigation#SetupNavGraph(){}", referenced from:

   _objc2kotlin_kfun:com.abdulaziz.trivia.navigation#SetupNavGraph(){} in result.o

 "_kfun:com.abdulaziz.trivia.ui#Quiz(moe.tlaster.precompose.navigation.Navigator;kotlin.Int){}", referenced from:

   _objc2kotlin_kfun:com.abdulaziz.trivia.ui#Quiz(moe.tlaster.precompose.navigation.Navigator;kotlin.Int){} in result.o

 "_kfun:com.abdulaziz.trivia.ui#Result(moe.tlaster.precompose.navigation.Navigator){}", referenced from:

   _objc2kotlin_kfun:com.abdulaziz.trivia.ui#Result(moe.tlaster.precompose.navigation.Navigator){} in result.o

 "_kfun:com.abdulaziz.trivia.ui#Splash(moe.tlaster.precompose.navigation.Navigator){}", referenced from:

   _objc2kotlin_kfun:com.abdulaziz.trivia.ui#Splash(moe.tlaster.precompose.navigation.Navigator){} in result.o

 "_kfun:com.abdulaziz.trivia.ui.components#AnswerButton(androidx.compose.runtime.MutableState<kotlin.Boolean>;kotlin.String;com.abdulaziz.trivia.ui.OnAnswerClicked){}", referenced from:

   _objc2kotlin_kfun:com.abdulaziz.trivia.ui.components#AnswerButton(androidx.compose.runtime.MutableState<kotlin.Boolean>;kotlin.String;com.abdulaziz.trivia.ui.OnAnswerClicked){} in result.o

ld: symbol(s) not found for architecture arm64
d
@Abdul-Aziz-Niazi We will add support for dynamic frameworks later. For now, you should use isStatic = true