0

不知道发生了什么,但我无法再为 IOS 构建 NativeScript 应用程序。我只是在测试 EddyVerbruggen/nativescript-barcodescanner 插件。它构建并且应用程序扫描了二维码。我很确定我的代码不正确,因为我只是在尝试第一次测试运行,但是之后,当我尝试在我的 iphone 上运行 ios --device 时,我收到以下警告字符串,以显示的错误结尾结尾。如果有人知道,很想知道发生了什么。这是完整的控制台输出(个人数据明显改变):

tns run ios --device <device id here>
Searching for devices...
Your application will be deployed only on the device specified by the provided index or identifier.
Preparing project...
Project successfully prepared (iOS)
Building project...
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: Joe Bloggs (12345ABCDEF)
Xcode build...
2018-02-27 13:01:17.309 xcodebuild[2676:424417]  DTDeviceKit: deviceType from 9f22ffea744c3f2cbaaa0171cf210fa63af97e72 was NULL
=== BUILD TARGET projectname OF PROJECT projectname WITH CONFIGURATION Debug ===
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/AKLQJDH2Y6SE/UIKit-2LM3EQU7VVY4O.pcm: 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.
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/AKLQJDH2Y6SE/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/AKLQJDH2Y6SE/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/AKLQJDH2Y6SE/Dispatch-12O7S7HHQXK9N.pcm: No such file or directory
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/AKLQJDH2Y6SE/ObjectiveC-2CD0WTQVXITO7.pcm: No such file or directory
Xcode build...
2018-02-27 13:01:31.527 xcodebuild[2771:426042]  DTDeviceKit: deviceType from 9f22ffea744c3f2cbaaa0171cf210fa63af97e72 was NULL
=== BUILD TARGET projectname OF PROJECT projectname WITH CONFIGURATION Debug ===
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2BFR9L55Q8TX5/UIKit-2LM3EQU7VVY4O.pcm: 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.
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2BFR9L55Q8TX5/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2BFR9L55Q8TX5/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2BFR9L55Q8TX5/Dispatch-12O7S7HHQXK9N.pcm: No such file or directory
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/2BFR9L55Q8TX5/ObjectiveC-2CD0WTQVXITO7.pcm: No such file or directory
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/AKLQJDH2Y6SE/UIKit-2LM3EQU7VVY4O.pcm: 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.
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/AKLQJDH2Y6SE/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/AKLQJDH2Y6SE/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/AKLQJDH2Y6SE/Dispatch-12O7S7HHQXK9N.pcm: No such file or directory
while processing /Users/myusername/mobile/nativescript/projectname/platforms/ios/internal/TKLiveSync/TKLiveSync(TKLiveSync.o):
warning: /Users/nsbuilduser/Library/Developer/Xcode/DerivedData/ModuleCache/AKLQJDH2Y6SE/ObjectiveC-2CD0WTQVXITO7.pcm: No such file or directory
Xcode build...
2018-02-27 13:01:49.139 xcodebuild[2894:427429] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/px/nqp0zv8x6851gnsbb0452gd40000gn/T/projectname_2018-02-27_13-01-49.138.xcdistributionlogs'.
Exported projectname.xcarchive to: /Users/myusername/mobile/nativescript/projectname/platforms/ios/build/device
Project successfully built.
Unable to apply changes on device: 9f22ffea744c3f2cbaaa0171cf210fa63af97e72. Error is: Could not start service com.apple.mobile.installation_proxy.
4

0 回答 0