<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>224605</bug_id>
          
          <creation_ts>2021-04-15 05:40:21 -0700</creation_ts>
          <short_desc>MacCatalyst build appears inconsistent: ld: warning: building for Mac Catalyst, but linking in .tbd file (..../System/Library/Frameworks/Cocoa.framework/Cocoa.tbd) built for macOS</short_desc>
          <delta_ts>2021-04-20 15:39:49 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>224606</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>224603</blocked>
    
    <blocked>224602</blocked>
    
    <blocked>224606</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Kimmo Kinnunen">kkinnunen</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>jbedard</cc>
    
    <cc>thorton</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1750582</commentid>
    <comment_count>0</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-04-15 05:40:21 -0700</bug_when>
    <thetext>ld: warning: building for Mac Catalyst, but linking in .tbd file (..../System/Library/Frameworks/Cocoa.framework/Cocoa.tbd) built for macOS

It appears as if the MacCatalyst build is inconsistent, making it hard to understand, for example, why a symbol is missing or why tests assert on NSApplication missing.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1750788</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2021-04-15 15:13:54 -0700</bug_when>
    <thetext>What project does this?

There is no macCatalyst version of Cocoa.framework, and I think that Catalyst targets must not be linking it at all.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1751676</commentid>
    <comment_count>2</comment_count>
    <who name="Kimmo Kinnunen">kkinnunen</who>
    <bug_when>2021-04-18 22:53:54 -0700</bug_when>
    <thetext>TestWebKitAPI if I understand the output correctly</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1752449</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2021-04-20 15:17:13 -0700</bug_when>
    <thetext>FWIW, this is actually TestWTF; TestWebKitAPI.xcconfig does the right thing (does not link Cocoa in macCatalyst builds), but TestWTF seems to have not gotten the same adjustment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1752475</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2021-04-20 15:39:49 -0700</bug_when>
    <thetext>There&apos;s a fix for this in 224606

*** This bug has been marked as a duplicate of bug 224606 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>