Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NativeScript 6.5 Crash [NativeScriptEmbedder.m] #57

Open
Mflm opened this issue Mar 27, 2020 · 6 comments
Open

NativeScript 6.5 Crash [NativeScriptEmbedder.m] #57

Mflm opened this issue Mar 27, 2020 · 6 comments

Comments

@Mflm
Copy link

Mflm commented Mar 27, 2020

Hi,

Help me, please.

Tell us about the problem
I can't archive the application, but I can run it on the device.

Which platform(s) does your issue occur on?
iOS

Please tell us how to recreate the issue in as much detail as possible.
Update to Nativescript 6.5.
I can run the application without problems
When I try to archive the application

Please, provide the details below:
error: error reading '/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/@nativescript/core/platforms/ios/src/NativeScriptEmbedder.m'

Full console
CompileC /Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/IntermediateBuildFilesPath/PeuBreton.build/Release-iphoneos/PeuBreton.build/Objects-normal/arm64/NativeScriptEmbedder.o /Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/@nativescript/core/platforms/ios/src/NativeScriptEmbedder.m normal arm64 objective-c com.apple.compilers.llvm.clang.1_0.compiler (in target 'PeuBreton' from project 'PeuBreton') cd /Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/platforms/ios export LANG=en_US.US-ASCII /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -x objective-c -target arm64-apple-ios9.0 -fmessage-length=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=gnu99 -fobjc-arc -gmodules -Wno-trigraphs -fpascal-strings -Os -Wno-missing-field-initializers -Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties -Werror=deprecated-objc-isa-usage -Wno-objc-interface-ivars -Werror=objc-root-class -Wno-arc-repeated-use-of-weak -Wduplicate-method-match -Wno-missing-braces -Wparentheses -Wswitch -Wunused-function -Wno-unused-label -Wno-unused-parameter -Wunused-variable -Wunused-value -Wempty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wconstant-conversion -Wint-conversion -Wbool-conversion -Wenum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wshorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wundeclared-selector -Wno-deprecated-implementations -DCOCOAPODS=1 -DGPB_USE_PROTOBUF_FRAMEWORK_IMPORTS=1 -DPB_FIELD_32BIT=1 -DPB_NO_PACKED_STRUCTS=1 -DPB_ENABLE_MALLOC=1 -DNS_BLOCK_ASSERTIONS=1 -DOBJC_OLD_DISPATCH_PROTOTYPES=1 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -g -fvisibility=hidden -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body -iquote /Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/IntermediateBuildFilesPath/PeuBreton.build/Release-iphoneos/PeuBreton.build/PeuBreton-generated-files.hmap -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/IntermediateBuildFilesPath/PeuBreton.build/Release-iphoneos/PeuBreton.build/PeuBreton-own-target-headers.hmap -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/IntermediateBuildFilesPath/PeuBreton.build/Release-iphoneos/PeuBreton.build/PeuBreton-all-target-headers.hmap -iquote /Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/IntermediateBuildFilesPath/PeuBreton.build/Release-iphoneos/PeuBreton.build/PeuBreton-project-headers.hmap -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/include -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/nativescript-sqlite/platforms/ios -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/BEMCheckBox/BEMCheckBox.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/FirebaseCore/FirebaseCore.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/FirebaseCoreDiagnostics/FirebaseCoreDiagnostics.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/FirebaseInstallations/FirebaseInstallations.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/FirebaseInstanceID/FirebaseInstanceID.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/FirebaseMessaging/FirebaseMessaging.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/GoogleDataTransport/GoogleDataTransport.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/GoogleDataTransportCCTSupport/GoogleDataTransportCCTSupport.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/GoogleUtilities/GoogleUtilities.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/MDFInternationalization/MDFInternationalization.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/MaterialComponents/MaterialComponents.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/PromisesObjC/FBLPromises.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/Protobuf/protobuf.framework/Headers -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/nanopb/nanopb.framework/Headers -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/platforms/ios/Pods/Headers/Public -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/platforms/ios/Pods/Headers/Public/Firebase -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/platforms/ios/Pods/Headers/Public/FirebaseAnalyticsInterop -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/platforms/ios/Pods/Headers/Public/FirebaseCoreDiagnosticsInterop -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/platforms/ios/Pods/Firebase/CoreOnly/Sources -I/Sources/FBLPromises/include -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/platforms/ios/internal/Swift-Modules -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/platforms/ios/internal -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/app/App_Resources/iOS/src -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/@nstudio/nativescript-checkbox/platforms/ios/src -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/nativescript-directions/platforms/ios/src -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/nativescript-plugin-firebase/platforms/ios/src -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/nativescript-sqlite/platforms/ios/src -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/@nativescript/core/platforms/ios/src -I/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/tns-core-modules-widgets/platforms/ios/src -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/IntermediateBuildFilesPath/PeuBreton.build/Release-iphoneos/PeuBreton.build/DerivedSources-normal/arm64 -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/IntermediateBuildFilesPath/PeuBreton.build/Release-iphoneos/PeuBreton.build/DerivedSources/arm64 -I/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/IntermediateBuildFilesPath/PeuBreton.build/Release-iphoneos/PeuBreton.build/DerivedSources -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos -F/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/platforms/ios/internal -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/BEMCheckBox -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/FirebaseCore -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/FirebaseCoreDiagnostics -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/FirebaseInstallations -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/FirebaseInstanceID -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/FirebaseMessaging -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/GoogleDataTransport -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/GoogleDataTransportCCTSupport -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/GoogleUtilities -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/MDFInternationalization -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/MaterialComponents -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/PromisesObjC -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/Protobuf -F/Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/BuildProductsPath/Release-iphoneos/nanopb -F/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/platforms/ios/Pods/FirebaseAnalytics/Frameworks -F/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/platforms/ios/Pods/GoogleAppMeasurement/Frameworks -F/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/nativescript-sqlite/platforms/ios -F/Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/tns-core-modules-widgets/platforms/ios -include /Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/PrecompiledHeaders/SharedPrecompiledHeaders/2375272865283983070/PeuBreton-Prefix.pch -MMD -MT dependencies -MF /Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/IntermediateBuildFilesPath/PeuBreton.build/Release-iphoneos/PeuBreton.build/Objects-normal/arm64/NativeScriptEmbedder.d --serialize-diagnostics /Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/IntermediateBuildFilesPath/PeuBreton.build/Release-iphoneos/PeuBreton.build/Objects-normal/arm64/NativeScriptEmbedder.dia -c /Users/franlaz/Desktop/RSK_Nativescript/PeuBreton/node_modules/@nativescript/core/platforms/ios/src/NativeScriptEmbedder.m -o /Users/franlaz/Library/Developer/Xcode/DerivedData/PeuBreton-gjmqdstunrqgsygztszfhiysvzwh/Build/Intermediates.noindex/ArchiveIntermediates/PeuBreton/IntermediateBuildFilesPath/PeuBreton.build/Release-iphoneos/PeuBreton.build/Objects-normal/arm64/NativeScriptEmbedder.o

Thanks

@eertmanhidde
Copy link

Hey, did you found a solution to this error? I'm having the same error and haven't managed to find a solution yet.

@Mflm
Copy link
Author

Mflm commented May 18, 2020

Hi, yes. I needed to update the version of Xcode.

@eertmanhidde
Copy link

Ah okay, then something else is causing the error for me since I got 11.4.1. Thnx for the quick reply!

@Mflm
Copy link
Author

Mflm commented May 18, 2020

You can show the details with tns prepare ios --log

You also need to execute pod repo update and try tns prepare ios.

you're welcome

@eertmanhidde
Copy link

For me it was also the Xcode version, but in a different way. I had to downgrade my version to 11.3 instead of 11.4.1.

@asciidiego
Copy link

I have the same issue on XCode 12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants