зеркало из
https://github.com/iharh/notes.git
synced 2025-10-29 20:56:06 +02:00
34 строки
2.7 KiB
Plaintext
34 строки
2.7 KiB
Plaintext
https://reactnative.dev/docs/environment-setup?os=macos&platform=ios
|
|
https://github.com/infinitered/ignite
|
|
|
|
https://cocoapods.org/
|
|
https://guides.cocoapods.org/using/getting-started.html
|
|
|
|
"pkg-config --exists libffi"
|
|
| pkg-config --libs libffi
|
|
=> "-lffi\n"
|
|
"xcrun clang -o conftest -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/universal-darwin22 -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/backward -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -g -Os -pipe -DHAVE_GCC_ATOMIC_BUILTINS -DUSE_FFI_CLOSURE_ALLOC conftest.c -L. -L/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib -L. -L/AppleInternal/Library/BuildRoots/d9889869-120b-11ee-b796-7a03568b17ac/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.5.Internal.sdk/usr/local/lib -lruby.2.6 "
|
|
In file included from conftest.c:1:
|
|
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby.h:33:
|
|
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/ruby.h:24:10: fatal error: 'ruby/config.h' file not found
|
|
#include "ruby/config.h"
|
|
^~~~~~~~~~~~~~~
|
|
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby/ruby.h:24:10: note: did not find header 'config.h' in framework 'ruby' (loaded from '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks')
|
|
1 error generated.
|
|
checked program was:
|
|
/* begin */
|
|
1: #include "ruby.h"
|
|
2:
|
|
3: int main(int argc, char **argv)
|
|
4: {
|
|
5: return 0;
|
|
6: }
|
|
/* end */
|
|
|
|
ruby.h:24:10: note: did not find header 'config.h' in framework 'ruby'
|
|
|
|
rvm and ruby upgrade
|
|
https://phongyewtong.medium.com/flutter-did-not-find-header-config-h-in-framework-ruby-when-running-sudo-gem-install-cocoapods-ef3f77ed8a16
|
|
https://github.com/CocoaPods/CocoaPods/issues/10286
|
|
https://stackoverflow.com/questions/53135863/macos-mojave-ruby-config-h-file-not-found
|