Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

react-native run-ios get info "CoreData: annotation: Failed to load optimized model"

$
0
0
react native -- 0.59.8
react -- 16.8.3
XCode -- 11.2.1

When I run the project version>0.60, this problem does not occur。when i run on android ,it does not occur too. That is to say ,it only happens in the project whose react-native version < 0.60 on ios.

When my XCode update to 11.2.1, I init a new react-native project(version 0.59.8) and build with XCode,it stay at XCode build image and never change,and packager does not start.

When I run with command'react-native run-ios',the simulator is started but the packager does not start ,and I get these info:

CoreData: annotation:  Failed to load optimized model at path '/Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/Frameworks/InstrumentsPackaging.framework/Versions/A/Resources/XRPackageModel.momd/XRPackageModel 9.0.omo'

info Launching iPhone 11 (iOS 13.2)...
info Building using "xcodebuild -project Project.xcodeproj -configuration Debug -scheme Project -destination id=8D18A14A-5481-474C-BF47-8B78A1D73607 -derivedDataPath build/Project"

info User defaults from command line:

info     IDEDerivedDataPathOverride = /Users/lex/MyRNSpace/Under8/Project/ios/build/Project

info note: Using new build system

info note: Planning build

info note: Constructing build description

info CreateBuildDirectory /Users/lex/MyRNSpace/Under8/Project/ios/build/Project/Build/Products (in target 'cxxreact' from project 'React')
    cd /Users/lex/MyRNSpace/Under8/Project/node_modules/react-native/React
    builtin-create-build-directory /Users/lex/MyRNSpace/Under8/Project/ios/build/Project/Build/Products

info 
CreateBuildDirectory /Users/lex/MyRNSpace/Under8/Project/ios/build/Project/Build/Intermediates.noindex (in target 'cxxreact' from project 'React')
    cd /Users/lex/MyRNSpace/Under8/Project/node_modules/react-native/React
    builtin-create-build-directory /Users/lex/MyRNSpace/Under8/Project/ios/build/Project/Build/Intermediates.noindex

...
...
info PhaseScriptExecution Install\ Third\ Party /Users/lex/MyRNSpace/Under8/Project/ios/build/Project/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh (in target 'double-conversion' from project 'React')
    cd /Users/lex/MyRNSpace/Under8/Project/node_modules/react-native/React
    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=lex
    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 APPLY_RULES_IN_COPY_HEADERS=NO
    export ARCHS=x86_64

 export ENABLE_ON_DEMAND_RESOURCES=NO
    export ENABLE_PREVIEWS=NO
    export ENABLE_STRICT_OBJC_MSGSEND=YES
    export ENABLE_TESTABILITY=YES
    export ENTITLEMENTS_DESTINATION=__entitlements
    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 EXECUTABLE_EXTENSION=a
    export EXECUTABLE_NAME=libdouble-conversion.a
    export EXECUTABLE_PATH=libdouble-conversion.a
    export EXECUTABLE_PREFIX=lib
    export EXECUTABLE_SUFFIX=.a
    export FILE_LIST=/Users/lex/MyRNSpace/Under8/Project/ios/build/Project/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Objects/LinkFileList
    export FIXED_FILES_DIR=/Users/lex/MyRNSpace/Under8/Project/ios/build/Project/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/FixedFiles
    export FRAMEWORK_FLAG_PREFIX=-framework
    export FRAMEWORK_SEARCH_PATHS="/Users/lex/MyRNSpace/Under8/Project/ios/build/Project/Build/Products/Debug-iphonesimulator "
    export FRAMEWORK_VERSION=A
    export FULL_PRODUCT_NAME=libdouble-conversion.a
    export GCC3_VERSION=3.3
    export GCC_C_LANGUAGE_STANDARD=gnu99
    export GCC_DYNAMIC_NO_PIC=NO
    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 RCT_DEBUG=1 RCT_DEV=1 RCT_NSASSERT=1"
...
...
  export variant=normal
    /bin/sh -c /Users/lex/MyRNSpace/Under8/Project/ios/build/Project/Build/Intermediates.noindex/React.build/Debug-iphonesimulator/double-conversion.build/Script-190EE32F1E6A43DE00A8543A.sh

info   % Total    % Received % Xferd  A
info verage Speed   Time    Time     Time  Current

info                   
info         D
info load  Upload
info    Tot
info al   Spent    Left  Spee
info d
  0     0   
info  0     0    
info 0     0      0      0 --:--:-- -
info -:--:-- --:
info --:--     0
  0     0  
info   0     0    0     0      0     
info  0 --:-
info -:-- --:
info --:--
info  --:--:--     0
  0     0    0     0    0     0      0      0
100   609    0   609    0     0    499      0 --:--:--  0:00:0
info 1 -
info -:--:--   
info 499

Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>