{"id":21768111,"url":"https://github.com/below/exposwiftissue","last_synced_at":"2026-04-16T11:33:38.493Z","repository":{"id":164727072,"uuid":"640054331","full_name":"below/ExpoSwiftIssue","owner":"below","description":"Demostrate an Issue with the generated Swift Header for Expo","archived":false,"fork":false,"pushed_at":"2023-05-13T07:59:02.000Z","size":620,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T02:44:06.276Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/below.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-12T21:41:26.000Z","updated_at":"2023-05-12T21:45:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"281415c1-eaae-4120-9891-68c6d4a1e865","html_url":"https://github.com/below/ExpoSwiftIssue","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/below%2FExpoSwiftIssue","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/below%2FExpoSwiftIssue/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/below%2FExpoSwiftIssue/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/below%2FExpoSwiftIssue/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/below","download_url":"https://codeload.github.com/below/ExpoSwiftIssue/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745707,"owners_count":20503048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-26T13:33:35.844Z","updated_at":"2026-04-16T11:33:33.457Z","avatar_url":"https://github.com/below.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ExpoSwiftIssue\nDemostrate an issue with the automatically generated Swift Header and Objective-C++, here in the case of an Expo App.\n\n## Primary Objective\n\nIn an Expo Project, I want to access Swift Code that is local to the native iOS application in the AppDelegate. When using `#import \"SwiftIssue-Swift.h` the following error is reported:\n\n```\nCannot find interface declaration for 'ModulesProvider', superclass of 'ExpoModulesProvider'\n```\n\n## Apparent reason\n\nThis happens, because `AppDelegate.mm` is an Objective-C++ file. Importing the header in a different, pure Objective-C file is [not an issue](https://github.com/below/ExpoSwiftIssue/tree/working).\n\n## Running the sample\n\nTo run the sample and see the error, you will have to do the usualy Expo schenanigans (it hurts me more than it hurts you). In the main project directory, execute in the terminal:\n\n```shell\nnpm install\n(cd ios \u0026 pod install)\n```\n\nAfter this, you can `xed ios` and build like usual\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelow%2Fexposwiftissue","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbelow%2Fexposwiftissue","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelow%2Fexposwiftissue/lists"}