环境
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)
同样的问题,解决方案在这里:https://github.com/weexteam/w...