Unable to build nativescript app in ios


#1

xcode version 9.4.1

error thrown:

Referenced from: /Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/Versions/A/…/…/…/…/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit
Expected in: /Library/Developer/PrivateFrameworks/CoreSimulator.framework/Versions/A/CoreSimulator
in /Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework/Versions/A/…/…/…/…/Developer/Library/PrivateFrameworks/SimulatorKit.framework/Versions/A/SimulatorKit, NSBundlePath=/Applications/Xcode.app/Contents/PlugIns/IDEInterfaceBuilderCocoaTouchIntegration.framework, NSLocalizedDescription=The bundle “IDEInterfaceBuilderCocoaTouchIntegration” couldn’t be loaded.}}}
2018-08-28 18:48:18.144 ibtoold[12686:662625] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘Error getting value for parameter key ‘name’ of extension ‘Xcode.InterfaceBuilderKit.PepperIntegration.Singletons’ in plug-in ‘com.apple.dt.IDE.IDEInterfaceBuilderWatchKitIntegration’’
*** First throw call stack:
(
0 CoreFoundation 0x00007fff54a482db __exceptionPreprocess + 171
1 libobjc.A.dylib 0x00007fff7bbe9c76 objc_exception_throw + 48
2 DVTFoundation 0x000000010b16d905 -[DVTExtensionParameter valueForKey:error:] + 0
3 IDEInterfaceBuilderKit 0x000000010a90c0d8 -[IBScopedSingletonRegistry init] + 722
4 IDEInterfaceBuilderKit 0x000000010a90bdec __43+[IBScopedSingletonRegistry sharedInstance]_block_invoke + 41
5 libdispatch.dylib 0x00007fff7c7c9db8 _dispatch_client_callout + 8
6 libdispatch.dylib 0x00007fff7c7c9d6b dispatch_once_f + 41
7 IDEInterfaceBuilderKit 0x000000010a90bdc0 +[IBScopedSingletonRegistry sharedInstance] + 45
8 IDEInterfaceBuilderKit 0x000000010a727a2e -[IBInterfaceBuilderPlugin init] + 146
9 IDEInterfaceBuilderKit 0x000000010a727982 +[IBInterfaceBuilderPlugin ide_initializeWithOptions:error:] + 34
10 IDEFoundation 0x000000010bad4118 _IDEInitializeOnePlugInAndPrerequisites + 2324
11 IDEFoundation 0x000000010bad3a1f _IDEInitializeOnePlugInAndPrerequisites + 539
12 IDEFoundation 0x000000010bad3a1f _IDEInitializeOnePlugInAndPrerequisites + 539
13 IDEFoundation 0x000000010bad2243 _IDEInitializePlugIns + 1607
14 IDEFoundation 0x000000010bad1650 IDEInitialize + 8470
15 ibtoold 0x000000010a4156bc IBIDEInitialize + 52
16 ibtoold 0x000000010a41484f main + 1713
17 libdyld.dylib 0x00007fff7c803015 start + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Command /Applications/Xcode.app/Contents/Developer/usr/bin/ibtool failed with exit code 6


#2

Is this specific to a application? Were you able to reproduce this in a fresh app?


#3

it is happening with all other ios application as well…

after removing platform,hookes and node_modules i am now able to built the application…but while installing it is throwing this error…it is not creating device folder/ipa inside app/platform/ios/

error thrown:
Exported WLCI22redirectionlatest.xcarchive to: /Users/rebeca/Desktop/kanchan/WLCI-22_redirectionlatest/platforms/ios/build/device
Project successfully built.
Installing…
Error is: Failed to install /Users/rebeca/Desktop/kanchan/WLCI-22_redirectionlatest/platforms/ios/build/device/WLCI22redirectionlatest.ipa on device with identifier 17c0e466eb8edd01528ac1317308e7b5fcdf2e09. Error is: Could not install application.

Executing after-watch hook from /Users/rebeca/Desktop/kanchan/WLCI-22_redirectionlatest/hooks/after-watch/nativescript-dev-typescript.js

Stopping tsc watch


#4

though the application is running absolutely fine in emulator


#5

Could be related to invalid certificate / provisional?


#6

checked in xcode …provisional certificates are signed and assigned

also in terminal…below lines are shown

Xcode 8 requires a team id to be specified when building for device.

You can specify the team id by setting the DEVELOPMENT_TEAM setting in build.xcconfig file located in App_Resources folder of your app, or by using the --teamId option when calling run, debug or livesync commands.

Found and using the following development team installed on your system: kanchan agarwal (2BY9JSP7AQ)