{"id":21768177,"url":"https://github.com/below/frameworktest","last_synced_at":"2026-05-17T22:33:18.132Z","repository":{"id":66512594,"uuid":"128402318","full_name":"below/FrameworkTest","owner":"below","description":"A Test for a framework","archived":false,"fork":false,"pushed_at":"2018-04-14T12:49:33.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T02:44:19.696Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","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":"2018-04-06T14:02:09.000Z","updated_at":"2018-04-13T14:31:11.000Z","dependencies_parsed_at":"2023-03-13T20:29:44.546Z","dependency_job_id":null,"html_url":"https://github.com/below/FrameworkTest","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%2FFrameworkTest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/below%2FFrameworkTest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/below%2FFrameworkTest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/below%2FFrameworkTest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/below","download_url":"https://codeload.github.com/below/FrameworkTest/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244745720,"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:34:02.310Z","updated_at":"2026-05-17T22:33:13.098Z","avatar_url":"https://github.com/below.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FrameworkTest\n\n## Lastest Update, New Question: Today Extension\n\nNow my problem is loading the library from a Today Extension. Everything compiles, however, when I link the Framework with the **Required** setting, the Extension crashes on launch. When I set it to **Optional**, it loads but I can not instantiate an object of class `SHPartner`.\n\nThe Issue can be found in [this branch](https://github.com/below/FrameworkTest/tree/Widget)\n\nWhat am I doing wrong?\n\n## Update \u0026 Workaround\n\nThis is actually a manifestation of the Swift Bug [SR-2250](https://bugs.swift.org/browse/SR-2250)\n\nAs stated there, the bug appears if only bridged classes (like `String`) are used, and not the explicit Foundation classes (i.e. `NSString`). A workaround is to insert a dummy class that explictly uses Foundation classes:\n\n```Swift\ninternal class FoundationForcer : NSArray {}\n```\n\nThe fix is in the [workaround branch](https://github.com/below/FrameworkTest/blob/be666e59bb9807086b14a3d54aadb5ca73599b9a/SHPartnerBase.swift#L11)\n\n## Steps to Reproduce\n\nBuild the _WatchTest_ Sample.\n\nI am getting the issue\n\n```While building module 'SHPartner' imported from /Users/below/dev/DTAG/Samples/Test/WatchTest Extension/InterfaceController.m:10:\nIn file included from \u003cmodule-includes\u003e:1:\n/Users/below/Library/Developer/Xcode/DerivedData/Test-emvjswrpztpgvcbytkvxbfjkbfuw/Build/Products/Debug-watchsimulator/SHPartner.framework/Headers/SHPartner-Swift.h:187:4: error: expected a type\n- (NSArray\u003cNSString *\u003e * _Nonnull)supportedLanguages SWIFT_WARN_UNUSED_RESULT;\n^\n1 error generated.\n/Users/below/dev/DTAG/Samples/Test/WatchTest Extension/InterfaceController.m:10:9: fatal error: could not build module 'SHPartner'\n@import SHPartner;\n~~~~~~~^~~~~~~~~\n2 errors generated.`\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelow%2Fframeworktest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbelow%2Fframeworktest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbelow%2Fframeworktest/lists"}