Giter Club home page Giter Club logo

Comments (7)

felixkrautschuk avatar felixkrautschuk commented on June 16, 2024 1

@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.

rigor789 avatar rigor789 commented on June 16, 2024 1

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.

felixkrautschuk avatar felixkrautschuk commented on June 16, 2024 1

@rigor789 yes, when running that command in the project, the build succeeds and the app gets started

from ios.

rigor789 avatar rigor789 commented on June 16, 2024

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.

rigor789 avatar rigor789 commented on June 16, 2024

@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.

rigor789 avatar rigor789 commented on June 16, 2024

Thanks for confirming, I made this change that should fix subsequent releases: 0e0d1ad

from ios.

felixkrautschuk avatar felixkrautschuk commented on June 16, 2024

@rigor789 than you!

from ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.