oblador / react-native-vector-icons

Customizable Icons for React Native with support for image source and full styling.
https://oblador.github.io/react-native-vector-icons/
MIT License
17.41k stars 2.12k forks source link

Unrecognized font family Material Design icons #456

Closed arelstone closed 7 years ago

arelstone commented 7 years ago

I get the Unrecognized font family error if i run react-native run-ios. If i run thru xcode everything works.

skaermbillede 2017-04-28 kl 14 20 38

I've followed the steps in the troubleshooting area on the readme file and read all PR's regarding this isssue. Still no fix.

Process:

Fails: npm install --save react-native-vector-icons react-native link react-native run-ios

Working: npm install --save react-native-vector-icons react-native link open xcode -> run

Log (when running react-native run-ios):

Scanning 812 folders for symlinks in /Users/carstendaurehoj/Code/Auctioness/node_modules (6ms)
Found Xcode project Auctioness.xcodeproj
Launching iPhone 6 (iOS 10.3)...
Building using "xcodebuild -project Auctioness.xcodeproj -configuration Debug -scheme Auctioness -destination id=7C478582-E800-4334-B9CA-D205EE4CA64A -derivedDataPath build"
User defaults from command line:

    IDEDerivedDataPathOverride = /Users/carstendaurehoj/Code/Auctioness/ios/build

=== BUILD TARGET yoga OF PROJECT React WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET jschelpers OF PROJECT React WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET cxxreact OF PROJECT React WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET React OF PROJECT React WITH CONFIGURATION Debug ===

Check dependencies

PhaseScriptExecution Start\ Packager /Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh
    cd /Users/carstendaurehoj/Code/Auctioness/node_modules/react-native/React
    /bin/sh -c /Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-006B79A01A781F38006873D1.sh

Connection to localhost port 8081 [tcp/sunproxyadmin] succeeded!

PhaseScriptExecution Include\ RCTJSCProfiler /Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-142C4F7F1B582EA6001F0B58.sh
    cd /Users/carstendaurehoj/Code/Auctioness/node_modules/react-native/React
    /bin/sh -c /Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/React.build/Debug-iphonesimulator/React.build/Script-142C4F7F1B582EA6001F0B58.sh

=== BUILD TARGET ReactNativePermissions OF PROJECT ReactNativePermissions WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RCTVibration OF PROJECT RCTVibration WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RCTLinking OF PROJECT RCTLinking WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RNVectorIcons OF PROJECT RNVectorIcons WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RCTAnimation OF PROJECT RCTAnimation WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RCTNetwork OF PROJECT RCTNetwork WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RCTText OF PROJECT RCTText WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RCTActionSheet OF PROJECT RCTActionSheet WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RCTSettings OF PROJECT RCTSettings WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RCTWebSocket OF PROJECT RCTWebSocket WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RCTImage OF PROJECT RCTImage WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RCTGeolocation OF PROJECT RCTGeolocation WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET RNImagePicker OF PROJECT RNImagePicker WITH CONFIGURATION Debug ===

Check dependencies

=== BUILD TARGET Auctioness OF PROJECT Auctioness WITH CONFIGURATION Debug ===

Check dependencies

Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Auctioness/Info.plist'.

PhaseScriptExecution Bundle\ React\ Native\ code\ and\ images Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/Script-00DD1BFF1BD5951E006B06BC.sh
    cd /Users/carstendaurehoj/Code/Auctioness/ios
    export ACTION=build
    export AD_HOC_CODE_SIGNING_ALLOWED=YES
    export ALTERNATE_GROUP=staff
    export ALTERNATE_MODE=u+w,go-w,a+rX
    export ALTERNATE_OWNER=carstendaurehoj
    export ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES=NO
    export ALWAYS_SEARCH_USER_PATHS=NO
    export ALWAYS_USE_SEPARATE_HEADERMAPS=NO
    export APPLE_INTERNAL_DEVELOPER_DIR=/AppleInternal/Developer
    export APPLE_INTERNAL_DIR=/AppleInternal
    export APPLE_INTERNAL_DOCUMENTATION_DIR=/AppleInternal/Documentation
    export APPLE_INTERNAL_LIBRARY_DIR=/AppleInternal/Library
    export APPLE_INTERNAL_TOOLS=/AppleInternal/Developer/Tools
    export APPLICATION_EXTENSION_API_ONLY=NO
    export APPLY_RULES_IN_COPY_FILES=NO
    export ARCHS=x86_64
    export ARCHS_STANDARD="i386 x86_64"
    export ARCHS_STANDARD_32_64_BIT="i386 x86_64"
    export ARCHS_STANDARD_32_BIT=i386
    export ARCHS_STANDARD_64_BIT=x86_64
    export ARCHS_STANDARD_INCLUDING_64_BIT="i386 x86_64"
    export ARCHS_UNIVERSAL_IPHONE_OS="i386 x86_64"
    export ASSETCATALOG_COMPILER_APPICON_NAME=AppIcon
    export ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME=LaunchImage-2
    export AVAILABLE_PLATFORMS="appletvos appletvsimulator iphoneos iphonesimulator macosx watchos watchsimulator"
    export BITCODE_GENERATION_MODE=marker
    export BUILD_ACTIVE_RESOURCES_ONLY=YES
    export BUILD_COMPONENTS="headers build"
    export BUILD_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products
    export BUILD_ROOT=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products
    export BUILD_STYLE=
    export BUILD_VARIANTS=normal
    export BUILT_PRODUCTS_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator
    export CACHE_ROOT=/var/folders/2l/yjszqdjx37s7j2k55_95_h1r0000gn/C/com.apple.DeveloperTools/8.3.2-8E2002/Xcode
    export CCHROOT=/var/folders/2l/yjszqdjx37s7j2k55_95_h1r0000gn/C/com.apple.DeveloperTools/8.3.2-8E2002/Xcode
    export CHMOD=/bin/chmod
    export CHOWN=/usr/sbin/chown
    export CLANG_CXX_LANGUAGE_STANDARD=gnu++0x
    export CLANG_CXX_LIBRARY=libc++
    export CLANG_ENABLE_MODULES=YES
    export CLANG_ENABLE_OBJC_ARC=YES
    export CLANG_MODULES_BUILD_SESSION_FILE=/Users/carstendaurehoj/Code/Auctioness/ios/build/ModuleCache/Session.modulevalidation
    export CLANG_WARN_BOOL_CONVERSION=YES
    export CLANG_WARN_CONSTANT_CONVERSION=YES
    export CLANG_WARN_DIRECT_OBJC_ISA_USAGE=YES_ERROR
    export CLANG_WARN_EMPTY_BODY=YES
    export CLANG_WARN_ENUM_CONVERSION=YES
    export CLANG_WARN_INFINITE_RECURSION=YES
    export CLANG_WARN_INT_CONVERSION=YES
    export CLANG_WARN_OBJC_ROOT_CLASS=YES_ERROR
    export CLANG_WARN_SUSPICIOUS_MOVE=YES
    export CLANG_WARN_UNREACHABLE_CODE=YES
    export CLANG_WARN__DUPLICATE_METHOD_MATCH=YES
    export CLASS_FILE_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/JavaClasses
    export CLEAN_PRECOMPS=YES
    export CLONE_HEADERS=NO
    export CODESIGNING_FOLDER_PATH=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator/Auctioness.app
    export CODE_SIGNING_ALLOWED=YES
    export CODE_SIGNING_REQUIRED=YES
    export CODE_SIGN_CONTEXT_CLASS=XCiPhoneSimulatorCodeSignContext
    export CODE_SIGN_IDENTITY=-
    export COLOR_DIAGNOSTICS=NO
    export COMBINE_HIDPI_IMAGES=NO
    export COMMAND_MODE=legacy
    export COMPOSITE_SDK_DIRS=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/CompositeSDKs
    export COMPRESS_PNG_FILES=YES
    export CONFIGURATION=Debug
    export CONFIGURATION_BUILD_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator
    export CONFIGURATION_TEMP_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator
    export CONTENTS_FOLDER_PATH=Auctioness.app
    export COPYING_PRESERVES_HFS_DATA=NO
    export COPY_HEADERS_RUN_UNIFDEF=NO
    export COPY_PHASE_STRIP=NO
    export COPY_RESOURCES_FROM_STATIC_FRAMEWORKS=YES
    export CORRESPONDING_DEVICE_PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform
    export CORRESPONDING_DEVICE_PLATFORM_NAME=iphoneos
    export CORRESPONDING_DEVICE_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk
    export CORRESPONDING_DEVICE_SDK_NAME=iphoneos10.3
    export CP=/bin/cp
    export CREATE_INFOPLIST_SECTION_IN_BINARY=NO
    export CURRENT_ARCH=x86_64
    export CURRENT_PROJECT_VERSION=1
    export CURRENT_VARIANT=normal
    export DEAD_CODE_STRIPPING=NO
    export DEBUGGING_SYMBOLS=YES
    export DEBUG_INFORMATION_FORMAT=dwarf-with-dsym
    export DEFAULT_COMPILER=com.apple.compilers.llvm.clang.1_0
    export DEFAULT_KEXT_INSTALL_PATH=/System/Library/Extensions
    export DEFINES_MODULE=NO
    export DEPLOYMENT_LOCATION=NO
    export DEPLOYMENT_POSTPROCESSING=NO
    export DEPLOYMENT_TARGET_CLANG_ENV_NAME=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_CLANG_FLAG_NAME=mios-simulator-version-min
    export DEPLOYMENT_TARGET_CLANG_FLAG_PREFIX=-mios-simulator-version-min=
    export DEPLOYMENT_TARGET_SETTING_NAME=IPHONEOS_DEPLOYMENT_TARGET
    export DEPLOYMENT_TARGET_SUGGESTED_VALUES="8.0 8.1 8.2 8.3 8.4 9.0 9.1 9.2 9.3 10.0 10.1 10.2 10.3"
    export DERIVED_FILES_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/DerivedSources
    export DERIVED_FILE_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/DerivedSources
    export DERIVED_SOURCES_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/DerivedSources
    export DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
    export DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export DEVELOPER_FRAMEWORKS_DIR=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_FRAMEWORKS_DIR_QUOTED=/Applications/Xcode.app/Contents/Developer/Library/Frameworks
    export DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/Developer/Library
    export DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
    export DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Tools
    export DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export DEVELOPMENT_LANGUAGE=English
    export DOCUMENTATION_FOLDER_PATH=Auctioness.app/English.lproj/Documentation
    export DO_HEADER_SCANNING_IN_JAM=NO
    export DSTROOT=/tmp/Auctioness.dst
    export DT_TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export DWARF_DSYM_FILE_NAME=Auctioness.app.dSYM
    export DWARF_DSYM_FILE_SHOULD_ACCOMPANY_PRODUCT=NO
    export DWARF_DSYM_FOLDER_PATH=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator
    export EFFECTIVE_PLATFORM_NAME=-iphonesimulator
    export EMBEDDED_CONTENT_CONTAINS_SWIFT=NO
    export EMBED_ASSET_PACKS_IN_PRODUCT_BUNDLE=NO
    export ENABLE_BITCODE=NO
    export ENABLE_DEFAULT_HEADER_SEARCH_PATHS=YES
    export ENABLE_HEADER_DEPENDENCIES=YES
    export ENABLE_ON_DEMAND_RESOURCES=YES
    export ENABLE_STRICT_OBJC_MSGSEND=YES
    export ENABLE_TESTABILITY=YES
    export ENTITLEMENTS_REQUIRED=YES
    export EXCLUDED_INSTALLSRC_SUBDIRECTORY_PATTERNS=".DS_Store .svn .git .hg CVS"
    export EXCLUDED_RECURSIVE_SEARCH_PATH_SUBDIRECTORIES="*.nib *.lproj *.framework *.gch *.xcode* *.xcassets (*) .DS_Store CVS .svn .git .hg *.pbproj *.pbxproj"
    export EXECUTABLES_FOLDER_PATH=Auctioness.app/Executables
    export EXECUTABLE_FOLDER_PATH=Auctioness.app
    export EXECUTABLE_NAME=Auctioness
    export EXECUTABLE_PATH=Auctioness.app
/Auctioness
    export EXPANDED_CODE_SIGN_IDENTITY=-
    export EXPANDED_CODE_SIGN_IDENTITY_NAME=-
    export EXPANDED_PROVISIONING_PROFILE=
    export FILE_LIST=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/Objects/LinkFileList
    export FIXED_FILES_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/FixedFiles
    export FRAMEWORKS_FOLDER_PATH=Auctioness.app/Frameworks
    export FRAMEWORK_FLAG_PREFIX=-framework
    export FRAMEWORK_SEARCH_PATHS="/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator "
    export FRAMEWORK_VERSION=A
    export FULL_PRODUCT_NAME=Auctioness.app
    export GCC3_VERSION=3.3
    export GCC_C_LANGUAGE_STANDARD=gnu99
    export GCC_DYNAMIC_NO_PIC=NO
    export GCC_INLINES_ARE_PRIVATE_EXTERN=YES
    export GCC_NO_COMMON_BLOCKS=YES
    export GCC_OBJC_LEGACY_DISPATCH=YES
    export GCC_OPTIMIZATION_LEVEL=0
    export GCC_PFE_FILE_C_DIALECTS="c objective-c c++ objective-c++"
    export GCC_PREPROCESSOR_DEFINITIONS="DEBUG=1 "
    export GCC_SYMBOLS_PRIVATE_EXTERN=NO
    export GCC_TREAT_WARNINGS_AS_ERRORS=NO
    export GCC_VERSION=com.apple.compilers.llvm.clang.1_0
    export GCC_VERSION_IDENTIFIER=com_apple_compilers_llvm_clang_1_0
    export GCC_WARN_64_TO_32_BIT_CONVERSION=YES
    export GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
    export GCC_WARN_UNDECLARED_SELECTOR=YES
    export GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
    export GCC_WARN_UNUSED_FUNCTION=YES
    export GCC_WARN_UNUSED_VARIABLE=YES
    export GENERATE_MASTER_OBJECT_FILE=NO
    export GENERATE_PKGINFO_FILE=YES
    export GENERATE_PROFILING_CODE=NO
    export GENERATE_TEXT_BASED_STUBS=NO
    export GID=20
    export GROUP=staff
    export HEADERMAP_INCLUDES_FLAT_ENTRIES_FOR_TARGET_BEING_BUILT=YES
    export HEADERMAP_INCLUDES_FRAMEWORK_ENTRIES_FOR_ALL_PRODUCT_TYPES=YES
    export HEADERMAP_INCLUDES_NONPUBLIC_NONPRIVATE_HEADERS=YES
    export HEADERMAP_INCLUDES_PROJECT_HEADERS=YES
    export HEADERMAP_USES_FRAMEWORK_PREFIX_ENTRIES=YES
    export HEADERMAP_USES_VFS=NO
    export HEADER_SEARCH_PATHS="/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator/include /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include /Users/carstendaurehoj/Code/Auctioness/ios/../node_modules/react-native/React/** /Users/carstendaurehoj/Code/Auctioness/ios/../node_modules/react-native-vector-icons/RNVectorIconsManager /Users/carstendaurehoj/Code/Auctioness/ios/../node_modules/react-native-image-picker/ios /Users/carstendaurehoj/Code/Auctioness/ios/../node_modules/react-native-permissions/**"
    export HIDE_BITCODE_SYMBOLS=YES
    export HOME=/Users/carstendaurehoj
    export ICONV=/usr/bin/iconv
    export INFOPLIST_EXPAND_BUILD_SETTINGS=YES
    export INFOPLIST_FILE=Auctioness/Info.plist
    export INFOPLIST_OUTPUT_FORMAT=binary
    export INFOPLIST_PATH=Auctioness.app/Info.plist
    export INFOPLIST_PREPROCESS=NO
    export INFOSTRINGS_PATH=Auctioness.app/English.lproj/InfoPlist.strings
    export INLINE_PRIVATE_FRAMEWORKS=NO
    export INSTALLHDRS_COPY_PHASE=NO
    export INSTALLHDRS_SCRIPT_PHASE=NO
    export INSTALL_DIR=/tmp/Auctioness.dst/Applications
    export INSTALL_GROUP=staff
    export INSTALL_MODE_FLAG=u+w,go-w,a+rX
    export INSTALL_OWNER=carstendaurehoj
    export INSTALL_PATH=/Applications
    export INSTALL_ROOT=/tmp/Auctioness.dst
    export IPHONEOS_DEPLOYMENT_TARGET=8.0
    export JAVAC_DEFAULT_FLAGS="-J-Xms64m -J-XX:NewSize=4M -J-Dfile.encoding=UTF8"
    export JAVA_APP_STUB=/System/Library/Frameworks/JavaVM.framework/Resources/MacOS/JavaApplicationStub
    export JAVA_ARCHIVE_CLASSES=YES
    export JAVA_ARCHIVE_TYPE=JAR
    export JAVA_COMPILER=/usr/bin/javac
    export JAVA_FOLDER_PATH=Auctioness.app/Java
    export JAVA_FRAMEWORK_RESOURCES_DIRS=Resources
    export JAVA_JAR_FLAGS=cv
    export JAVA_SOURCE_SUBDIR=.
    export JAVA_USE_DEPENDENCIES=YES
    export JAVA_ZIP_FLAGS=-urg
    export JIKES_DEFAULT_FLAGS="+E +OLDCSO"
    export KEEP_PRIVATE_EXTERNS=NO
    export LD_DEPENDENCY_INFO_FILE=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/Objects-normal/x86_64/Auctioness_dependency_info.dat
    export LD_GENERATE_MAP_FILE=NO
    export LD_MAP_FILE_PATH=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/Auctioness-LinkMap-normal-x86_64.txt
    export LD_NO_PIE=NO
    export LD_QUOTE_LINKER_ARGUMENTS_FOR_COMPILER_DRIVER=YES
    export LD_RUNPATH_SEARCH_PATHS=" @executable_path/Frameworks"
    export LEGACY_DEVELOPER_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer
    export LEX=lex
    export LIBRARY_FLAG_NOSPACE=YES
    export LIBRARY_FLAG_PREFIX=-l
    export LIBRARY_KEXT_INSTALL_PATH=/Library/Extensions
    export LIBRARY_SEARCH_PATHS="/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator "
    export LINKER_DISPLAYS_MANGLED_NAMES=NO
    export LINK_FILE_LIST_normal_x86_64=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/Objects-normal/x86_64/Auctioness.LinkFileList
    export LINK_WITH_STANDARD_LIBRARIES=YES
    export LOCALIZABLE_CONTENT_DIR=
    export LOCALIZED_RESOURCES_FOLDER_PATH=Auctioness.app/English.lproj
    export LOCAL_ADMIN_APPS_DIR=/Applications/Utilities
    export LOCAL_APPS_DIR=/Applications
    export LOCAL_DEVELOPER_DIR=/Library/Developer
    export LOCAL_LIBRARY_DIR=/Library
    export LOCROOT=
    export LOCSYMROOT=
    export MACH_O_TYPE=mh_execute
    export MAC_OS_X_PRODUCT_BUILD_VERSION=16D32
    export MAC_OS_X_VERSION_ACTUAL=101203
    export MAC_OS_X_VERSION_MAJOR=101200
    export MAC_OS_X_VERSION_MINOR=1203
    export METAL_LIBRARY_FILE_BASE=default
    export METAL_LIBRARY_OUTPUT_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator/Auctioness.app
    export MODULE_CACHE_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/build/ModuleCache
    export MTL_ENABLE_DEBUG_INFO=YES
    export NATIVE_ARCH=i386
    export NATIVE_ARCH_32_BIT=i386
    export NATIVE_ARCH_64_BIT=x86_64
    export NATIVE_ARCH_ACTUAL=x86_64
    export NO_COMMON=YES
    export OBJC_ABI_VERSION=2
    export OBJECT_FILE_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/Objects
    export OBJECT_FILE_DIR_normal=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/Objects-normal
    export OBJROOT=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates
    export ONLY_ACTIVE_ARCH=YES
    export OS=MACOS
    export OSAC=/usr/bin/osacompile
    export OTHER_LDFLAGS=" -ObjC -lc++"
    export PACKAGE_TYPE=com.apple.package-type.wrapper.application
    export PASCAL_STRINGS=YES
    export PATH="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/libexec:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/bin:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/usr/local/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/local/bin:/Applications/Xcode.app/Contents/Developer/Tools:/Users/carstendaurehoj/.composer/vendor/bin:/Users/carstendaurehoj/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    export PATH_PREFIXES_EXCLUDED_FROM_HEADER_DEPENDENCIES="/usr/include /usr/local/include /System/Library/Frameworks /System/Library/PrivateFrameworks /Applications/Xcode.app
/Contents/Developer/Headers /Applications/Xcode.app/Contents/Developer/SDKs /Applications/Xcode.app/Contents/Developer/Platforms"
    export PBDEVELOPMENTPLIST_PATH=Auctioness.app/pbdevelopment.plist
    export PFE_FILE_C_DIALECTS=objective-c
    export PKGINFO_FILE_PATH=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/PkgInfo
    export PKGINFO_PATH=Auctioness.app/PkgInfo
    export PLATFORM_DEVELOPER_APPLICATIONS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Applications
    export PLATFORM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin
    export PLATFORM_DEVELOPER_LIBRARY_DIR=/Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/SharedSupport/Developer/Library
    export PLATFORM_DEVELOPER_SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs
    export PLATFORM_DEVELOPER_TOOLS_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Tools
    export PLATFORM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr
    export PLATFORM_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform
    export PLATFORM_DISPLAY_NAME="iOS Simulator"
    export PLATFORM_NAME=iphonesimulator
    export PLATFORM_PREFERRED_ARCH=x86_64
    export PLIST_FILE_OUTPUT_FORMAT=binary
    export PLUGINS_FOLDER_PATH=Auctioness.app/PlugIns
    export PRECOMPS_INCLUDE_HEADERS_FROM_BUILT_PRODUCTS_DIR=YES
    export PRECOMP_DESTINATION_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/PrefixHeaders
    export PRESERVE_DEAD_CODE_INITS_AND_TERMS=NO
    export PRIVATE_HEADERS_FOLDER_PATH=Auctioness.app/PrivateHeaders
    export PRODUCT_BUNDLE_IDENTIFIER=com.pepperoni.Auctioness
    export PRODUCT_MODULE_NAME=Auctioness
    export PRODUCT_NAME=Auctioness
    export PRODUCT_SETTINGS_PATH=/Users/carstendaurehoj/Code/Auctioness/ios/Auctioness/Info.plist
    export PRODUCT_TYPE=com.apple.product-type.application
    export PROFILING_CODE=NO
    export PROJECT=Auctioness
    export PROJECT_DERIVED_FILE_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/DerivedSources
    export PROJECT_DIR=/Users/carstendaurehoj/Code/Auctioness/ios
    export PROJECT_FILE_PATH=/Users/carstendaurehoj/Code/Auctioness/ios/Auctioness.xcodeproj
    export PROJECT_NAME=Auctioness
    export PROJECT_TEMP_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build
    export PROJECT_TEMP_ROOT=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates
    export PUBLIC_HEADERS_FOLDER_PATH=Auctioness.app/Headers
    export RECURSIVE_SEARCH_PATHS_FOLLOW_SYMLINKS=YES
    export REMOVE_CVS_FROM_RESOURCES=YES
    export REMOVE_GIT_FROM_RESOURCES=YES
    export REMOVE_HEADERS_FROM_EMBEDDED_BUNDLES=YES
    export REMOVE_HG_FROM_RESOURCES=YES
    export REMOVE_SVN_FROM_RESOURCES=YES
    export REZ_COLLECTOR_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/ResourceManagerResources
    export REZ_OBJECTS_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/ResourceManagerResources/Objects
    export REZ_SEARCH_PATHS="/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator "
    export SCAN_ALL_SOURCE_FILES_FOR_INCLUDES=NO
    export SCRIPTS_FOLDER_PATH=Auctioness.app/Scripts
    export SCRIPT_INPUT_FILE_COUNT=0
    export SCRIPT_OUTPUT_FILE_COUNT=0
    export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk
    export SDK_DIR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk
    export SDK_DIR_iphonesimulator10_3=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator10.3.sdk
    export SDK_NAME=iphonesimulator10.3
    export SDK_NAMES=iphonesimulator10.3
    export SDK_PRODUCT_BUILD_VERSION=14E269
    export SDK_VERSION=10.3
    export SDK_VERSION_ACTUAL=100300
    export SDK_VERSION_MAJOR=100000
    export SDK_VERSION_MINOR=300
    export SED=/usr/bin/sed
    export SEPARATE_STRIP=NO
    export SEPARATE_SYMBOL_EDIT=NO
    export SET_DIR_MODE_OWNER_GROUP=YES
    export SET_FILE_MODE_OWNER_GROUP=NO
    export SHALLOW_BUNDLE=YES
    export SHARED_DERIVED_FILE_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator/DerivedSources
    export SHARED_FRAMEWORKS_FOLDER_PATH=Auctioness.app/SharedFrameworks
    export SHARED_PRECOMPS_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/PrecompiledHeaders
    export SHARED_SUPPORT_FOLDER_PATH=Auctioness.app/SharedSupport
    export SKIP_INSTALL=NO
    export SOURCE_ROOT=/Users/carstendaurehoj/Code/Auctioness/ios
    export SRCROOT=/Users/carstendaurehoj/Code/Auctioness/ios
    export STRINGS_FILE_OUTPUT_ENCODING=binary
    export STRIP_BITCODE_FROM_COPIED_FILES=NO
    export STRIP_INSTALLED_PRODUCT=YES
    export STRIP_STYLE=all
    export SUPPORTED_DEVICE_FAMILIES=1,2
    export SUPPORTED_PLATFORMS="iphonesimulator iphoneos"
    export SUPPORTS_TEXT_BASED_API=NO
    export SWIFT_PLATFORM_TARGET_PREFIX=ios
    export SYMROOT=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products
    export SYSTEM_ADMIN_APPS_DIR=/Applications/Utilities
    export SYSTEM_APPS_DIR=/Applications
    export SYSTEM_CORE_SERVICES_DIR=/System/Library/CoreServices
    export SYSTEM_DEMOS_DIR=/Applications/Extras
    export SYSTEM_DEVELOPER_APPS_DIR=/Applications/Xcode.app/Contents/Developer/Applications
    export SYSTEM_DEVELOPER_BIN_DIR=/Applications/Xcode.app/Contents/Developer/usr/bin
    export SYSTEM_DEVELOPER_DEMOS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Utilities/Built Examples"
    export SYSTEM_DEVELOPER_DIR=/Applications/Xcode.app/Contents/Developer
    export SYSTEM_DEVELOPER_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library"
    export SYSTEM_DEVELOPER_GRAPHICS_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Graphics Tools"
    export SYSTEM_DEVELOPER_JAVA_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Java Tools"
    export SYSTEM_DEVELOPER_PERFORMANCE_TOOLS_DIR="/Applications/Xcode.app/Contents/Developer/Applications/Performance Tools"
    export SYSTEM_DEVELOPER_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes"
    export SYSTEM_DEVELOPER_TOOLS=/Applications/Xcode.app/Contents/Developer/Tools
    export SYSTEM_DEVELOPER_TOOLS_DOC_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/documentation/DeveloperTools"
    export SYSTEM_DEVELOPER_TOOLS_RELEASENOTES_DIR="/Applications/Xcode.app/Contents/Developer/ADC Reference Library/releasenotes/DeveloperTools"
    export SYSTEM_DEVELOPER_USR_DIR=/Applications/Xcode.app/Contents/Developer/usr
    export SYSTEM_DEVELOPER_UTILITIES_DIR=/Applications/Xcode.app/Contents/Developer/Applications/Utilities
    export SYSTEM_DOCUMENTATION_DIR=/Library/Documentation
    export SYSTEM_KEXT_INSTALL_PATH=/System/Library/Extensions
    export SYSTEM_LIBRARY_DIR=/System/Library
    export TAPI_VERIFY_MODE=ErrorsOnly
    export TARGETED_DEVICE_FAMILY=1
    export TARGETNAME=Auctioness
    export TARGET_BUILD_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator
    export TARGET_DEVICE_IDENTIFIER=7C478582-E800-4334-B9CA-D205EE4CA64A
    export TARGET_DEVICE_MODEL=iPhone7,2
    export TARGET_DEVICE_OS_VERSION=10.3
    export TARGET_NAME=Auctioness
    export TARGET_TEMP_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build
    export TEMP_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.bui
ld/Debug-iphonesimulator/Auctioness.build
    export TEMP_FILES_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build
    export TEMP_FILE_DIR=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build
    export TEMP_ROOT=/Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates
    export TOOLCHAINS=com.apple.dt.toolchain.XcodeDefault
    export TOOLCHAIN_DIR=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
    export TREAT_MISSING_BASELINES_AS_TEST_FAILURES=NO
    export UID=501
    export UNLOCALIZED_RESOURCES_FOLDER_PATH=Auctioness.app
    export UNSTRIPPED_PRODUCT=NO
    export USER=carstendaurehoj
    export USER_APPS_DIR=/Users/carstendaurehoj/Applications
    export USER_LIBRARY_DIR=/Users/carstendaurehoj/Library
    export USE_DYNAMIC_NO_PIC=YES
    export USE_HEADERMAP=YES
    export USE_HEADER_SYMLINKS=NO
    export VALIDATE_PRODUCT=NO
    export VALID_ARCHS="i386 x86_64"
    export VERBOSE_PBXCP=NO
    export VERSIONING_SYSTEM=apple-generic
    export VERSIONPLIST_PATH=Auctioness.app/version.plist
    export VERSION_INFO_BUILDER=carstendaurehoj
    export VERSION_INFO_FILE=Auctioness_vers.c
    export VERSION_INFO_STRING="\"@(#)PROGRAM:Auctioness  PROJECT:Auctioness-1\""
    export WRAPPER_EXTENSION=app
    export WRAPPER_NAME=Auctioness.app
    export WRAPPER_SUFFIX=.app
    export WRAP_ASSET_PACKS_IN_SEPARATE_DIRECTORIES=NO
    export XCODE_APP_SUPPORT_DIR=/Applications/Xcode.app/Contents/Developer/Library/Xcode
    export XCODE_PRODUCT_BUILD_VERSION=8E2002
    export XCODE_VERSION_ACTUAL=0832
    export XCODE_VERSION_MAJOR=0800
    export XCODE_VERSION_MINOR=0830
    export XPCSERVICES_FOLDER_PATH=Auctioness.app/XPCServices
    export YACC=yacc
    export arch=x86_64
    export variant=normal
    /bin/sh -c /Users/carstendaurehoj/Code/Auctioness/ios/Build/Intermediates/Auctioness.build/Debug-iphonesimulator/Auctioness.build/Script-00DD1BFF1BD5951E006B06BC.sh

Skipping bundling for Simulator platform

=== BUILD TARGET AuctionessTests OF PROJECT Auctioness WITH CONFIGURATION Debug ===

Check dependencies

** BUILD SUCCEEDED **

Installing build/Build/Products/Debug-iphonesimulator/Auctioness.app
Launching org.reactjs.native.example.Auctioness
org.reactjs.native.example.Auctioness: 18943

Thanks in advance

oblador commented 7 years ago

It's probably just cache, try deleting the ios/build folder.

arelstone commented 7 years ago

@oblador didn't help anything. Process: deleteed the ios/build folder build successed but gets error below

.........

CodeSign Build/Products/Debug-iphonesimulator/Auctioness.app/PlugIns/AuctionessTests.xctest
    cd /Users/carstendaurehoj/Code/Auctioness/ios
    export CODESIGN_ALLOCATE=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/carstendaurehoj/.composer/vendor/bin:/Users/carstendaurehoj/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/carstendaurehoj/bin"

Signing Identity:     "-"

    /usr/bin/codesign --force --sign - --timestamp=none /Users/carstendaurehoj/Code/Auctioness/ios/Build/Products/Debug-iphonesimulator/Auctioness.app/PlugIns/AuctionessTests.xctest

** BUILD SUCCEEDED **

Installing build/Build/Products/Debug-iphonesimulator/Auctioness.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist

Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/Auctioness.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
vstlouis commented 7 years ago

Same issue.

greendad commented 7 years ago

Must be cache. I got the same issue and deleting & building the app again worked for me!

oblador commented 7 years ago

I'm quite certain this is a cache issue. You can try deleting the build folder, resetting simulator and deleting DerivedData.

torresomar commented 7 years ago

I could solve this issue by removing cached files as @greendad and @oblador mentioned.

jasongrishkoff commented 7 years ago

I tried to rm -rf /ios/build as well as rm -rf ~/Library/Developer/Xcode/DerivedData and neither solution worked for me.

Edit: deleted the Fonts folder and re-imported. I think I'd messed up the step about checking "Create Groups" because it works fine now!

MacKentoch commented 7 years ago

I have this issue which does not present the red screen but replaces icons by interrogations marks.

It happened when I activated localization to info.plist files.

NOTE: Before applying native localization I did not have any problem.

I tried resetting caches and builds, linkings I even upgraded react-native and react dependencies:

"dependencies": {
    "immutable": "^3.8.1",
    "react": "16.0.0-alpha.12",
    "react-native": "^0.45.1",
    "react-native-animatable": "^1.1.1",
    "react-native-touch-id": "^3.0.0",
    "react-native-vector-icons": "^4.0.1",
    ...etc...

but no way to fix it.

Does anyone have any experience in using this library with localized info.plist? Since it seems like there is some new step necessary in that case.

unsw4142 commented 7 years ago

same issue

oblador commented 7 years ago

Closing this since it's the well documented cache issue. @MacKentoch please open a new issue if you still have problems with localized Info.plist, it's not really a bug caused by this library but could be worth improving README for this use case.

MacKentoch commented 7 years ago

@oblador You are right this is far beyond the scope of the library.

Sorry I did not give a feedback.

I guess I just messed myself with localization...

Here is the appropriate solution for my case (so that no one would need to open such an issue)

Then you can translate the keys of info.plist you desire, for example:

"NSLocationWhenInUseUsageDescription" = "give a description in other languages that will tell here user why application requires location when in use";
RobIsHere commented 7 years ago

I've had the same problem! It was NOT the CACHE here!

react-native link simply did nothing at all. I'm on the most current RN. This used to work two RN versions ago. I can see in git status, that there were no changes. Therefore also the fonts have not been included

So I've added an rnpm "assets" section at package.json,

  "rnpm": {
    "assets": [
      "assets"
    ]
  }

copied the fonts to this folder and called react-native link, which did nothing again.

It did finally work with react-native link assets, despite of complaining about a missing assets folder in node_modules.

Just reporting this, maybe it helps figuring this out.

xyx2011 commented 7 years ago

same issue here, it's not the cache problem. I pod installed this package and gives me this error, and icons won't load.

Jiahonzheng commented 6 years ago

Thanks! Deleting ios/build folder works for me. @oblador

17leba commented 6 years ago

Thanks! Deleting ios/build folder works for me. @oblador

deno028 commented 6 years ago

Thanks @oblador 👍 deleting ios/build folder works for me either.

khadkaPratik commented 6 years ago

rm -rf ios/build and rebuild works for me 👍

JeremyBradshaw7 commented 6 years ago

None of the suggestions work for me, I'm using react-native-multiple-select which has this in code:

import Icon from 'react-native-vector-icons/MaterialCommunityIcons';
<Icon name={hideSubmitButton ? 'menu-right' : 'menu-down'}/>

Should be OK, right?

PrinceSharzeel commented 6 years ago

The issue is due to cache..after installing react native elements and vector icons ,I followed this;

  1. killall -9 node
  2. npm start
  3. react-native run-ios or run-android

v57.2 has some issues

rishikesh67 commented 5 years ago

The issue is due to cache..after installing react native elements and vector icons ,I followed this;

  1. killall -9 node
  2. npm start
  3. react-native run-ios or run-android

v57.2 has some issues

This worked for me too. Thank you.

louicoder commented 5 years ago

For some reasons some assets are not automatically linked and needed to be manually linked using react-native link react-native-gesture-handler then: react-native run-ios / react-native run-android

Though auto linking is suggested is later versions of RN, they state that a few packages will still need to be manually linked and react-native-vector-icons is one of those.

This helped FIX my issue: Stackoverflow Solution Link

weblancaster commented 5 years ago

This https://aboutreact.com/react-native-vector-icons/ plus what @oblador suggested worked for me.

Thank!

nicolastanski commented 5 years ago

This worked for me.

react-native link react-native-vector-icons
cd ios && pod install && cd ..
rm -rf ios/build
react-native run-ios
develian commented 5 years ago

This worked for me.

react-native link react-native-vector-icons
cd ios && pod install && cd ..
rm -rf ios/build
react-native run-ios

Thanks, it worked for me too.

tmaly1980 commented 5 years ago

I've followed all these instructions, NOT a cache issue for me.

I noticed MaterialCommunityIcons.ttf was in my Resources folder but NOT under Build Phases > Copy Bundle Resources, so did the manual linking instructions. I added the font files manually to Copy Bundle Resources, and then adding the fonts to Info.plist as well.

Frosty92 commented 4 years ago

I tried everything in this thread and @nicolastanski 's solution worked for me! Thanks!

daniloas80 commented 4 years ago

This worked for me too.

react-native link react-native-vector-icons cd ios && pod install && cd .. rm -rf ios/build react-native run-ios

Seishin commented 4 years ago

Check the solution I found and shared here

gayathrithedev commented 4 years ago

This will definitely help you if you tried all of the above and still not getting the expected

Please add this following lines in your Info.plist file under ios -> you_project_name -> info.plist

<key>UIAppFonts</key> <array> <string>FontAwesome.ttf</string> <string>FontAwesome5_Brands.ttf</string> <string>FontAwesome5_Regular.ttf</string> <string>FontAwesome5_Solid.ttf</string> <string>Foundation.ttf</string> <string>Ionicons.ttf</string> <string>MaterialIcons.ttf</string> <string>MaterialCommunityIcons.ttf</string> </array>

fredsvanelli commented 4 years ago

The package documentation instructs that you need to perform some steps after installation for it to work on iOS:

https://medium.com/@vimniky/how-to-use-vector-icons-in-your-react-native-project-8212ac6a8f06

ausshadu commented 4 years ago

This will definitely help you if you tried all of the above and still not getting the expected

Please add this following lines in your Info.plist file under ios -> you_project_name -> info.plist

<key>UIAppFonts</key> <array> <string>FontAwesome.ttf</string> <string>FontAwesome5_Brands.ttf</string> <string>FontAwesome5_Regular.ttf</string> <string>FontAwesome5_Solid.ttf</string> <string>Foundation.ttf</string> <string>Ionicons.ttf</string> <string>MaterialIcons.ttf</string> <string>MaterialCommunityIcons.ttf</string> </array>

This Worked. Thanks @gayathri-perumal

anhdevit commented 4 years ago

I've had the same problem! It was NOT the CACHE here!

react-native link simply did nothing at all. I'm on the most current RN. This used to work two RN versions ago. I can see in git status, that there were no changes. Therefore also the fonts have not been included

So I've added an rnpm "assets" section at package.json,

  "rnpm": {
    "assets": [
      "assets"
    ]
  }

copied the fonts to this folder and called react-native link, which did nothing again.

It did finally work with react-native link assets, despite of complaining about a missing assets folder in node_modules.

Just reporting this, maybe it helps figuring this out.

Thank it worked

KamranKhankhail commented 4 years ago

In my case when I've used use_frameworks! in my Podfile, this error arises but none of above solutions worked for me.

Finally, to solve the problem as mentioned in Documentations here, in second last sentence. I had to use Icon.loadFont() prior to using any Icon (I did it in my index.js for all fonts together).

import MaterialCommunityIcons from "react-native-vector-icons/MaterialCommunityIcons";
if (Platform.OS === 'ios') {
   MaterialCommunityIcons.loadFont()
}
patelgaurav4u commented 4 years ago

This will definitely help you if you tried all of the above and still not getting the expected

Please add this following lines in your Info.plist file under ios -> you_project_name -> info.plist

<key>UIAppFonts</key> <array> <string>FontAwesome.ttf</string> <string>FontAwesome5_Brands.ttf</string> <string>FontAwesome5_Regular.ttf</string> <string>FontAwesome5_Solid.ttf</string> <string>Foundation.ttf</string> <string>Ionicons.ttf</string> <string>MaterialIcons.ttf</string> <string>MaterialCommunityIcons.ttf</string> </array>

work for me ... thanks man

lalitansh commented 4 years ago

This will definitely help you if you tried all of the above and still not getting the expected

Please add this following lines in your Info.plist file under ios -> you_project_name -> info.plist

<key>UIAppFonts</key> <array> <string>FontAwesome.ttf</string> <string>FontAwesome5_Brands.ttf</string> <string>FontAwesome5_Regular.ttf</string> <string>FontAwesome5_Solid.ttf</string> <string>Foundation.ttf</string> <string>Ionicons.ttf</string> <string>MaterialIcons.ttf</string> <string>MaterialCommunityIcons.ttf</string> </array>

thanks

wenwen12321 commented 4 years ago

This will definitely help you if you tried all of the above and still not getting the expected

Please add this following lines in your Info.plist file under ios -> you_project_name -> info.plist

<key>UIAppFonts</key> <array> <string>FontAwesome.ttf</string> <string>FontAwesome5_Brands.ttf</string> <string>FontAwesome5_Regular.ttf</string> <string>FontAwesome5_Solid.ttf</string> <string>Foundation.ttf</string> <string>Ionicons.ttf</string> <string>MaterialIcons.ttf</string> <string>MaterialCommunityIcons.ttf</string> </array>

It's work !!!! you safe my life!! thx so much~~~