weexpack run ios 报错问题

环境

node: 7.9.0
weexpack: 0.4.0
macOS: 10.12.4
Xcode: 8.3.1
device: iPhone 6s Plus
ios: 10.3.1

描述

使用示例代码,开始一切正常,执行 weexpack run ios 进行真机测试,在选择设备之后会报错。

反馈

? Choose one of the following devices mYIpHoNe ios: 10.3.1
============build config============
AppName=>test
Version=>0.1
BuildVersion=>0.1.0
AppId=>com.fredyxu.test
CodeSign=>iPhone Developer
Profile=>Automatic
if you want to change build config.please modify ios.config.json
2017-04-18 00:58:16.068 ios-deploy[17452:1738147] [ !! ] Error 0xe800004c: The application bundle does not contain a valid identifier. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
Success!
2017-04-18 00:58:16.068 ios-deploy[17452:1738147] [ !! ] Error 0xe800004c: The application bundle does not contain a valid identifier. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)


[....] Waiting for iOS device to be connected
[....] Using bd9a6ac9b2f7b245a5c27b944b55164cc725a3b9 (N66mAP, iPhone 6s Plus, iphoneos, arm64) a.k.a. 'mYIpHoNe'.
------ Install phase ------
[  0%] Found bd9a6ac9b2f7b245a5c27b944b55164cc725a3b9 (N66mAP, iPhone 6s Plus, iphoneos, arm64) a.k.a. 'mYIpHoNe' connected through USB, beginning install
[  5%] Copying /Users/Fredy/code/weex/ios/test/test/weexTest/platforms/ios/build/Debug-iphoneos/WeexDemo.app/META-INF/ to device
[ 10%] Copying /Users/Fredy/code/weex/ios/test/test/weexTest/platforms/ios/build/Debug-iphoneos/WeexDemo.app/META-INF/com.apple.ZipMetadata.plist to device
[ 23%] Copying /Users/Fredy/code/weex/ios/test/test/weexTest/platforms/ios/build/Debug-iphoneos/WeexDemo.app/Info.plist to device
[ 28%] Copying /Users/Fredy/code/weex/ios/test/test/weexTest/platforms/ios/build/Debug-iphoneos/WeexDemo.app/ip.txt to device
[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage

2017-04-18 00:58:16.068 ios-deploy[17452:1738147] [ !! ] Error 0xe800004c: The application bundle does not contain a valid identifier. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
阅读 3.8k
2 个回答

我这里遇到的问题是无法编译成功。
The following build commands failed:

CompileC build/Build/Intermediates/WeexDemo.build/Debug-iphonesimulator/WeexDemo.build/Objects-normal/x86_64/UIViewController+WXDemoNaviBar.o WeexDemo/WeexScanner/UIViewController+WXDemoNaviBar.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler

(1 failure)

在Xcode里打开编译,就是显示缺少ATmanager.h

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进