Comments (8)
@PeterStaev I think that's a change in ios 13.4 and above that uses mangled class names
maybe related: 2b89d7c
same in the JSC runtime: NativeScript/ios-jsc@265c6b6
Since iOS 13.4
object_getClassName
and similar functions have started
returning the mangled Swift class names instead of the demangled ones
that previous versions did.
from ios.
@rigor789 I would agree, but the same code works perfectly fine with JSC. Basically on the demo app, I uninstalled @nativescript/ios
and installed tns-ios
and the code started working. This is running on a iOS 13.5 sim.
I wouldn't mind the class naming if the XIB could be loaded correctly 😄 Seems JSC somehow correctly registers the class/XIB so it can be loaded, while v8 doesn't.
from ios.
Hmm reading the comment from Darin, seems nested classes are always used with their mangled names.
from ios.
A quick follow up - a workaround seems to be to decorate the view controller with @objc(<CLASS NAME>)
. This causes the class to not be nested and seems registered correctly.
from ios.
Hi @PeterStaev. i have the same problem, how do you solved?
from ios.
Hey @mvargaslandolfi1993, see the comment just above yours :)
from ios.
Yes, I see, but I don't understand where to change it.
from ios.
Hi @PeterStaev,
I want to use your photo-editor and having the same problem aas described above.
You mentioned a workaround with the view controller with @objc decoration, I really don't know where to change the code.
I hope you can help me.
from ios.
Related Issues (20)
- V8 base:OS:Abort on v 8.2.3
- Garbage pointer dereference using v 8.2.3 HOT 2
- "libXML2 not found" when building metadata generator HOT 3
- When trying to generate metadata, fatal error: 'clang/AST/DeclBase.h' file not found HOT 2
- Crash in tns::compareIdentifiers (EXC_BAD_ACCESS / KERN_INVALID_ADDRESS) in simulator
- Missing dSym for release 8.3 HOT 1
- Build error - Bitcode not enabled
- npm package increased from 87.6 MB to 290 MB since v7 and introduction of multi-architecture support HOT 1
- Metadata generator fails to generate proper types and does not add method to runtime
- Question on declarations generation HOT 4
- Xcode 14.3 HOT 3
- iOS Crash when trying to use Sqlite via workers on iOS platform 8.5.0+ HOT 2
- Cannot connect debugger to emulator with iOS13.7 HOT 2
- Build input file cannot be found: '.../Build/Products/Debug-iphonesimulator/metadata-arm64.bin'.
- Timezone changes are not correctly applied to NS runtime HOT 8
- IOS: calling exit(0) results in "Appname Crashed" error message HOT 11
- IOS remove app from tray (error) HOT 4
- Build Failed Nativescript with error of metadata
- Symbol not found HOT 1
- @nativescript/ios alpha.0 Error: Unable to generate metadata for x86_64 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ios.