Skip to content

tns run ios Issue in Nativescript  #4985

@sunpasup

Description

@sunpasup

Did you verify this is a real problem by searching [Stack Overflow]

I did my research and tried good number of options on how it could be fixed

Tell us about the problem

Tried building the application through tns run ios and started to get errors.

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

CLI: 3.2.1
Cross-platform modules: 3.2.0
Runtime(s): tns-ios 3.2.0

Please tell us how to recreate the issue in as much detail as possible.

=== BUILD TARGET MBR OF PROJECT MBR WITH CONFIGURATION Debug ===
ld: warning: directory not found for option '-F/Users/sunpasup/Library/Developer/Xcode/DerivedData/MBR-apjpwjlcbhimcpaxilirkqrjtgrh/Build/Products/Debug-iphonesimulator/MBProgressHUD'
ld: warning: directory not found for option '-F/Users/sunpasup/Library/Developer/Xcode/DerivedData/MBR-apjpwjlcbhimcpaxilirkqrjtgrh/Build/Products/Debug-iphonesimulator/MNFloatingActionButton'
=== BUILD TARGET MBR OF PROJECT MBR WITH CONFIGURATION Debug ===
ld: warning: directory not found for option '-F/Users/sunpasup/Library/Developer/Xcode/DerivedData/MBR-apjpwjlcbhimcpaxilirkqrjtgrh/Build/Products/Debug-iphonesimulator/MBProgressHUD'
ld: warning: directory not found for option '-F/Users/sunpasup/Library/Developer/Xcode/DerivedData/MBR-apjpwjlcbhimcpaxilirkqrjtgrh/Build/Products/Debug-iphonesimulator/MNFloatingActionButton'
=== BUILD TARGET MBR OF PROJECT MBR WITH CONFIGURATION Debug ===
while processing while processing /Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
/Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2DKXPQ92SAISO/UIKit-1V5UHAPTOD24G.pcmwarning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/28BJBFDGVGZZ3/UIKit-1V5UHAPTOD24G.pcm: No such file or directory
: No such file or directory
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
while processing /Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/28BJBFDGVGZZ3/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
while processing /Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2DKXPQ92SAISO/Darwin-38I6DLZ5IH61J.pcm: No such file or directory
while processing /Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/28BJBFDGVGZZ3/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
while processing /Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: while processing /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2DKXPQ92SAISO/Foundation-3DFYNEBRQSXST.pcm: No such file or directory
/Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/28BJBFDGVGZZ3/Dispatch-2LX9MWM6UEPQW.pcm: No such file or directory
while processing /Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2DKXPQ92SAISO/Dispatch-2LX9MWM6UEPQW.pcm: No such file or directory
while processing /Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/28BJBFDGVGZZ3/ObjectiveC-1RQA2RIXJIE19.pcm: No such file or directory
while processing /Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2DKXPQ92SAISO/ObjectiveC-1RQA2RIXJIE19.pcm: No such file or directory
Project successfully built.

SUNPASUP-M-M08G:mbr sunpasup$ tns run ios
Searching for devices...
Executing before-liveSync hook from /Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/hooks/before-liveSync/nativescript-angular-sync.js
Skipping prepare.
Installing...
Successfully installed on device with identifier 'BA908A0D-AD95-433A-954B-A89D9C0DD54D'.
Successfully transferred all files.
Refreshing application...
Successfully synced application com.cisco.mbr on device BA908A0D-AD95-433A-954B-A89D9C0DD54D.
Executing before-watch hook from /Users/sunpasup/Documents/workspace/MBR/mbr-jbosseap6/mobile/MBR/hooks/before-watch/nativescript-dev-typescript.js
Found peer TypeScript 2.3.4
Oct 25 14:37:43 SUNPASUP-M-M08G com.apple.CoreSimulator.SimDevice.BA908A0D-AD95-433A-954B-A89D9C0DD54D[54033] (UIKitApplication:com.cisco.mbr[0xe17d][54062][67869]): Service exited due to signal: Segmentation fault: 11 sent by exc handler[0]
2:37:45 PM - Compilation complete. Watching for file changes.

Is there code involved? If so, please share the minimal amount of code needed to recreate the problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions