Comments (7)
@rigor789 thanks for your fast response!
metadata-generation-stderr-x86_64.txt
And just in case you are also interested in my development environment:
OS: macOS 14.3
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Shell: /bin/zsh
node: 20.10.0
npm: 10.2.3
nativescript: 8.6.5
# android
java: 11.0.11
ndk: Not Found
apis: Not Found
build_tools: Not Found
system_images: Not Found
# ios
xcode: 15.2/15C500b
cocoapods: 1.14.3
python: 2.7.18
python3: 3.9.6
ruby: 2.6.10
platforms:
- DriverKit 23.2
- iOS 17.2
- macOS 14.2
- tvOS 17.2
- visionOS 1.0
- watchOS 10.2
from ios.
Can confirm there's a difference between the arm64 vs x86 versions - this is likely because the latest versions have been built on arm64 based machines - looking into how to fix this.
$ otool -L platforms/ios/internal/metadata-generator-x86_64/bin/objc-metadata-generator
platforms/ios/internal/metadata-generator-x86_64/bin/objc-metadata-generator:
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.12)
/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)
/usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.9.0)
@rpath/libc++.1.dylib (compatibility version 1.0.0, current version 1.0.0)
$ otool -L platforms/ios/internal/metadata-generator-arm64/bin/objc-metadata-generator
platforms/ios/internal/metadata-generator-arm64/bin/objc-metadata-generator:
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.12)
/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1336.61.1)
/usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.9.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 1600.157.0)
from ios.
@rigor789 yes, when running that command in the project, the build succeeds and the app gets started
from ios.
Could you also attach /Users/felixkrautschuk/Downloads/ns-runtime-alpha/platforms/ios/build/Debug-iphonesimulator/metadata-generation-stderr-x86_64.txt
- I just downloaded your sample, and it built/ran on my machine - curious to dig into this further.
from ios.
@felixkrautschuk can you try this command in the test project?
install_name_tool -change @rpath/libc++.1.dylib /usr/lib/libc++.1.dylib platforms/ios/internal/metadata-generator-x86_64/bin/objc-metadata-generator
Then confirm that it no longer uses @rpath
:
otool -L platforms/ios/internal/metadata-generator-x86_64/bin/objc-metadata-generator
from ios.
Thanks for confirming, I made this change that should fix subsequent releases: 0e0d1ad
from ios.
@rigor789 than you!
from ios.
Related Issues (20)
- 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
- `interop.NSErrorWrapper` missing from v8 ios runtime
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.