defold / defold/extension-webview
Building for iOS simulator yields linker warnings and errors
- Dominant language
- C++
- Stars
- 24
- Forks
- 11
- Avg merge
- 19h 11m
- Merged PRs (30d)
- 1
Description
```
ld: warning: building for iOS Simulator, but linking in .tbd file (/opt/platformsdk/iPhoneSimulator14.0.sdk//usr/lib/system/libsystem_kernel.tbd) built for macOS
ld: warning: building for iOS Simulator, but linking in .tbd file (/opt/platformsdk/iPhoneSimulator14.0.sdk//usr/lib/system/libsystem_platform.tbd) built for macOS
ld: warning: building for iOS Simulator, but linking in .tbd file (/opt/platformsdk/iPhoneSimulator14.0.sdk//usr/lib/system/libsystem_pthread.tbd) built for macOS
Undefined symbols for architecture x86_64:
"_OBJC_CLASS_$_WKWebView", referenced from:
objc-class-ref in libWebViewExternal_1.a(webview_darwin.mm_2.o)
"_OBJC_CLASS_$_WKWebViewConfiguration", referenced from:
objc-class-ref in libWebViewExternal_1.a(webview_darwin.mm_2.o)
```
The linker error I fixed by adding the WebKit framework to the extension manifest for x86_64-ios, but the warnings are still there. Not sure if they have any impact.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.