Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11245

Swift plugins need additional build settings

    XMLWordPrintableJSON

Details

    Description

      Plugins written in Swift require some additional build settings in order to work properly (and not crash the app immediately).

      In particular, EMBEDDED_CONTENT_CONTAINS_SWIFT = "YES" and LD_RUNPATH_SEARCH_PATHS = "@executable_path/Frameworks" are required.

      This could be handled in a general way by allowing plugins to add their own options to .xcconfig (but could result in duplication), or for this specific case it is probably enough to set these if any plugins contain .swift files.

      Attachments

        Issue Links

          Activity

            People

              shazron Shazron Abdullah
              dpogue Darryl Pogue
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: