- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
好的,我一整天都在研究这个问题。我在 Visual Studio 2015 中启动了一个骨架 Cordova 应用程序,安装了 cordova-plugin-device 和 cordova-plugin-dialog 插件。我没有任何代码,我只是在 onDeviceReady 事件触发后放置了一个 JavaScript 断点,然后查找 navigator.notification 或 device 变量,它们始终是未定义。
我已经使用物理 android 设备进行了设备调试设置,一切正常,两个变量都已初始化并且插件可供使用。但我还对物理 iPhone 进行了 iOS 远程调试设置,但是无论我在 iPhone 上运行时尝试什么,这两个变量都是未定义。
我认为出于某种原因,iOS 实际上并未在构建中包含插件。看一下这个(部分)构建日志。您会注意到 Currently installed plugins 行提到了设备、对话框和白名单插件。但再往下,有一个 Fetching plugin 行提到了白名单插件,但构建日志中的其他任何地方都没有提到其他两个插件。
1>------ Rebuild All started: Project: BlankCordovaApp3, Configuration: Debug iOS ------
1> ANDROID_HOME=C:\Program Files (x86)\Android\android-sdk
1> JAVA_HOME=C:\Program Files (x86)\Java\jdk1.7.0_55
1> Running: C:\Users\MyUser\Documents\Visual Studio 2015\Projects\BlankCordovaApp3\platforms\android\gradlew clean -b C:\Users\MyUser\Documents\Visual Studio 2015\Projects\BlankCordovaApp3\platforms\android\build.gradle -Dorg.gradle.daemon=true
1> :clean UP-TO-DATE
1> :CordovaLib:clean UP-TO-DATE
1>
1> BUILD SUCCESSFUL
1>
1> Total time: 2.621 secs
1> Picked up _JAVA_OPTIONS: -Xmx512M
1> Your environment has been set up for using Node.js 0.12.2 (ia32) and npm.
1> ------ Ensuring correct global installation of package from source package directory: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\ApacheCordovaTools\packages\vs-tac
1> ------ Name from source package.json: vs-tac
1> ------ Version from source package.json: 1.0.13
1> ------ Package already installed globally at correct version.
1> ------ Cordova tools 5.3.3 already installed.
1> ------ Build Settings:
1> ------ Build Settings:
1> ------ platformConfigurationBldDir: C:\Users\MyUser\Documents\Visual Studio 2015\Projects\BlankCordovaApp3\bld\iOS\Debug
1> ------ platformConfigurationBinDir: C:\Users\MyUser\Documents\Visual Studio 2015\Projects\BlankCordovaApp3\bin\iOS\Debug
1> ------ buildCommand: build
1> ------ platform: iOS
1> ------ cordovaPlatform: ios
1> ------ configuration: Debug
1> ------ cordovaConfiguration: Debug
1> ------ projectName: BlankCordovaApp3
1> ------ projectSourceDir: C:\Users\MyUser\Documents\Visual Studio 2015\Projects\BlankCordovaApp3
1> ------ npmInstallDir: C:\Users\MyUser\AppData\Roaming\npm
1> ------ buildServerUrl: https://192.168.15.152:3000/cordova
1> ------ buildTarget: iOSRemoteDevice
1> ------ language: en-US
1> ------ Platform ios already exists
1> ------ Updating plugins
1> ------ Currently installed plugins: cordova-plugin-device@1.0.1,cordova-plugin-dialogs@1.1.1,cordova-plugin-whitelist@1.0.0
1> ------ Currently installed dependent plugins:
1> ------ Currently configured plugins: cordova-plugin-device@1.0.1,cordova-plugin-dialogs@1.1.1
1> ------ Incremental Build: false
1> ------ Submitting new build request to: https://192.168.15.152:3000/cordova/build/tasks?command=build&vcordova=5.3.3&cfg=debug&options=--device&loglevel=warn
1> ------ New Build information: {"command":"build","vcordova":"5.3.3","cfg":"debug","options":"--device","loglevel":"warn","status":"Uploaded","buildCommand":"build","buildPlatform":"ios","configuration":"debug","buildLang":"en-US","buildDir":"/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580","buildNumber":11580,"logLevel":0,"submissionTime":"2015-10-24T04:43:59.343Z","changeList":null,"buildSuccessful":false,"messageArgs":null,"message":"Uploaded build request payload.","tgzFilePath":"/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/upload_11580.tgz","appDir":"/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp","statusTime":"2015-10-24T04:43:59.524Z"}
1> ------ 11:43:54 PM Checking on build status from https://192.168.15.152:3000/cordova/build/tasks/11580 [Attempt 1]
1> uploaded - Uploaded build request payload.
1> ------ 11:43:59 PM Checking on build status from https://192.168.15.152:3000/cordova/build/tasks/11580 [Attempt 2]
1> building - Compiling.
1> ------ 11:44:04 PM Checking on build status from https://192.168.15.152:3000/cordova/build/tasks/11580 [Attempt 3]
1> complete - Build completed successfully.
1> ------ Remote build log follows
1> cordova platform add ios
1> No version supplied. Retrieving version from config.xml...
1> Adding ios project...
1> Running command: /Users/myuser/.cordova/lib/npm_cache/cordova-ios/3.9.1/package/bin/create --cli /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios io.cordova.myappc385ac BlankCordovaApp3
1> iOS project created with cordova-ios@3.9.1
1> Command finished with error code 0: /Users/myuser/.cordova/lib/npm_cache/cordova-ios/3.9.1/package/bin/create --cli,/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios,io.cordova.myappc385ac,BlankCordovaApp3
1> Generating config.xml from defaults for platform "ios"
1> Calling plugman.prepare for platform "ios"
1> Preparing ios project
1> Processing configuration changes for plugins.
1> Iterating over installed plugins:
1> Writing out cordova_plugins.js...
1> Wrote out iOS Bundle Identifier to "io.cordova.myappc385ac"
1> Wrote out iOS Bundle Version to "1.0.0"
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-60.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-60.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-60-2x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-60@2x.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-60-3x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-60@3x.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-76.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-76.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-76-2x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-76@2x.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-small.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-small.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-small-2x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-small@2x.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-40.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-40.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-40-2x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-40@2x.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-57.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-57-2x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon@2x.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-72.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-72.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-72-2x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-72@2x.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-50.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-50.png
1> Copying icon from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/icons/ios/icon-50-2x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/icons/icon-50@2x.png
1> Copying splash from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/screens/ios/screen-iphone-portrait.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/splash/Default~iphone.png
1> Copying splash from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/screens/ios/screen-iphone-portrait-2x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/splash/Default@2x~iphone.png
1> Copying splash from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/screens/ios/screen-ipad-portrait.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/splash/Default-Portrait~ipad.png
1> Copying splash from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/screens/ios/screen-ipad-portrait-2x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/splash/Default-Portrait@2x~ipad.png
1> Copying splash from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/screens/ios/screen-ipad-landscape.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/splash/Default-Landscape~ipad.png
1> Copying splash from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/screens/ios/screen-ipad-landscape-2x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/splash/Default-Landscape@2x~ipad.png
1> Copying splash from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/screens/ios/screen-iphone-568h-2x.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/splash/Default-568h@2x~iphone.png
1> Copying splash from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/screens/ios/screen-iphone-portrait-667h.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/splash/Default-667h.png
1> Copying splash from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/screens/ios/screen-iphone-portrait-736h.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/splash/Default-736h.png
1> Copying splash from /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/res/screens/ios/screen-iphone-landscape-736h.png to /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3/Resources/splash/Default-Landscape-736h.png
1> iOS Product Name has not changed (still "BlankCordovaApp3")
1> Discovered plugin "cordova-plugin-whitelist" in config.xml. Installing to the project
1> Calling plugman.fetch on plugin "cordova-plugin-whitelist@1"
1> Fetching plugin "cordova-plugin-whitelist@1" via npm
1> Copying plugin "/Users/myuser/.npm/cordova-plugin-whitelist/1.0.0/package" => "/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/plugins/cordova-plugin-whitelist"
1> Calling plugman.install on plugin "/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/plugins/cordova-plugin-whitelist" for platform "ios" with options "{"cli_variables":{},"browserify":false,"pluginInfoProvider":{"_cache":{"/Users/myuser/.npm/cordova-plugin-whitelist/1.0.0/package":{"filepath":"/Users/myuser/.npm/cordova-plugin-whitelist/1.0.0/package/plugin.xml","dir":"/Users/myuser/.npm/cordova-plugin-whitelist/1.0.0/package","_et":{"_root":{"_id":893,"tag":"plugin","attrib":{"xmlns":"http://apache.org/cordova/ns/plugins/1.0","id":"cordova-plugin-whitelist","version":"1.0.0"},"text":"\n ","tail":null,"_children":[{"_id":894,"tag":"name","attrib":{},"text":"Whitelist","tail":"\n ","_children":[]},{"_id":895,"tag":"description","attrib":{},"text":"Cordova Network Whitelist Plugin","tail":"\n ","_children":[]},{"_id":896,"tag":"license","attrib":{},"text":"Apache 2.0","tail":"\n ","_children":[]},{"_id":897,"tag":"keywords","attrib":{},"text":"cordova,whitelist,policy","tail":"\n\n ","_children":[]},{"_id":898,"tag":"engines","attrib":{},"text":"\n ","tail":"\n\n ","_children":[{"_id":899,"tag":"engine","attrib":{"name":"cordova-android","version":">=4.0.0-dev"},"text":"","tail":"\n ","_children":[]}]},{"_id":900,"tag":"platform","attrib":{"name":"android"},"text":"\n ","tail":"\n","_children":[{"_id":901,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n ","tail":"\n\n ","_children":[{"_id":902,"tag":"feature","attrib":{"name":"Whitelist"},"text":"\n ","tail":"\n ","_children":[{"_id":903,"tag":"param","attrib":{"name":"android-package","value":"org.apache.cordova.whitelist.WhitelistPlugin"},"text":"","tail":"\n ","_children":[]},{"_id":904,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n ","_children":[]}]}]},{"_id":905,"tag":"source-file","attrib":{"src":"src/android/WhitelistPlugin.java","target-dir":"src/org/apache/cordova/whitelist"},"text":"","tail":"\n\n ","_children":[]},{"_id":906,"tag":"js-module","attrib":{"src":"whitelist.js","name":"whitelist"},"text":"\n ","tail":"\n ","_children":[{"_id":907,"tag":"runs","attrib":{},"text":"","tail":"\n ","_children":[]}]}]}]}},"id":"cordova-plugin-whitelist","version":"1.0.0","name":"Whitelist","description":"Cordova Network Whitelist Plugin","license":"Apache 2.0","keywords":["cordova","whitelist","policy"]},"/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/plugins/cordova-plugin-whitelist":{"filepath":"/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/plugins/cordova-plugin-whitelist/plugin.xml","dir":"/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/plugins/cordova-plugin-whitelist","_et":{"_root":{"_id":908,"tag":"plugin","attrib":{"xmlns":"http://apache.org/cordova/ns/plugins/1.0","id":"cordova-plugin-whitelist","version":"1.0.0"},"text":"\n ","tail":null,"_children":[{"_id":909,"tag":"name","attrib":{},"text":"Whitelist","tail":"\n ","_children":[]},{"_id":910,"tag":"description","attrib":{},"text":"Cordova Network Whitelist Plugin","tail":"\n ","_children":[]},{"_id":911,"tag":"license","attrib":{},"text":"Apache 2.0","tail":"\n ","_children":[]},{"_id":912,"tag":"keywords","attrib":{},"text":"cordova,whitelist,policy","tail":"\n\n ","_children":[]},{"_id":913,"tag":"engines","attrib":{},"text":"\n ","tail":"\n\n ","_children":[{"_id":914,"tag":"engine","attrib":{"name":"cordova-android","version":">=4.0.0-dev"},"text":"","tail":"\n ","_children":[]}]},{"_id":915,"tag":"platform","attrib":{"name":"android"},"text":"\n ","tail":"\n","_children":[{"_id":916,"tag":"config-file","attrib":{"target":"res/xml/config.xml","parent":"/*"},"text":"\n ","tail":"\n\n ","_children":[{"_id":917,"tag":"feature","attrib":{"name":"Whitelist"},"text":"\n ","tail":"\n ","_children":[{"_id":918,"tag":"param","attrib":{"name":"android-package","value":"org.apache.cordova.whitelist.WhitelistPlugin"},"text":"","tail":"\n ","_children":[]},{"_id":919,"tag":"param","attrib":{"name":"onload","value":"true"},"text":"","tail":"\n ","_children":[]}]}]},{"_id":920,"tag":"source-file","attrib":{"src":"src/android/WhitelistPlugin.java","target-dir":"src/org/apache/cordova/whitelist"},"text":"","tail":"\n\n ","_children":[]},{"_id":921,"tag":"js-module","attrib":{"src":"whitelist.js","name":"whitelist"},"text":"\n ","tail":"\n ","_children":[{"_id":922,"tag":"runs","attrib":{},"text":"","tail":"\n ","_children":[]}]}]}]}},"id":"cordova-plugin-whitelist","version":"1.0.0","name":"Whitelist","description":"Cordova Network Whitelist Plugin","license":"Apache 2.0","keywords":["cordova","whitelist","policy"]}},"_getAllCache":{}}}"
1> Installing "cordova-plugin-whitelist" for ios
1> Running command: /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/cordova/version
1> Command finished with error code 0: /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/cordova/version
1> Install start for "cordova-plugin-whitelist" on ios.
1> Beginning processing of action stack for ios project...
1> Parsing ios project files...
1> Action stack processing complete.
1> Writing out ios project files...
1> Preparing ios project
1> Processing configuration changes for plugins.
1> Iterating over installed plugins:
1> Writing out cordova_plugins.js...
1> Install complete for cordova-plugin-whitelist on ios.
1> saving ios@3.9.1 into platforms.json
1> cordova compile ios
1> Running command: /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/cordova/build --device --debug --buildConfig=/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/build.json
1> Reading build config file: /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/build.json
1> Building project : /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/BlankCordovaApp3.xcodeproj
1> Configuration : Debug
1> Platform : device
1> Build settings from command line:
1> ARCHS = armv7 armv7s arm64
1> CONFIGURATION_BUILD_DIR = /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/build/device
1> SDKROOT = iphoneos9.1
1> SHARED_PRECOMPS_DIR = /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/build/sharedpch
1> VALID_ARCHS = armv7 armv7s arm64
1>
1> Build settings from configuration file '/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/cordova/build-debug.xcconfig':
1> CODE_SIGN_IDENTITY = iPhone Developer
1> CODE_SIGN_RESOURCE_RULES_PATH = $(SDKROOT)/ResourceRules.plist
1> TARGETED_DEVICE_FAMILY = 1,2
1>
1> === BUILD TARGET CordovaLib OF PROJECT CordovaLib WITH CONFIGURATION Debug ===
1>
1> Check dependencies
1>
1> Write auxiliary files
1> /bin/mkdir -p /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Objects-normal/armv7
1> write-file /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Objects-normal/armv7/Cordova.LinkFileList
1> write-file /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Cordova.hmap
1> write-file /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Cordova-project-headers.hmap
1> write-file /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Cordova-own-target-headers.hmap
1> /bin/mkdir -p /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/build/sharedpch/CordovaLib_Prefix-fohbnjmqqxzpkidjavllbqkrajxb
1> write-file /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/build/sharedpch/CordovaLib_Prefix-fohbnjmqqxzpkidjavllbqkrajxb/CordovaLib_Prefix.pch.pch.hash-criteria
1> write-file /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Cordova-generated-files.hmap
1> write-file /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Cordova-all-non-framework-target-headers.hmap
1> write-file /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/CordovaLib/build/CordovaLib.build/Debug-iphoneos/CordovaLib.build/Cordova-all-target-headers.hmap
1>
/***********************
***********************
***********************
**** CpHeader, CompileC, and other build commands omitted for brevity
***********************
***********************
***********************/
1> Done checking the original app
1> + /usr/bin/zip --symlinks --verbose --recurse-paths /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/build/device/BlankCordovaApp3.ipa .
1> Program /usr/bin/zip returned 0 : [ adding: Payload/ (in=0) (out=0) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/ (in=0) (out=0) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/_CodeSignature/ (in=0) (out=0) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/_CodeSignature/CodeResources (in=6931) (out=1525) (deflated 78%)
1> adding: Payload/BlankCordovaApp3.app/BlankCordovaApp3 (in=327264) (out=107471) (deflated 67%)
1> adding: Payload/BlankCordovaApp3.app/config.xml (in=4300) (out=1157) (deflated 73%)
1> adding: Payload/BlankCordovaApp3.app/Default-568h@2x~iphone.png (in=8040) (out=2957) (deflated 63%)
1> adding: Payload/BlankCordovaApp3.app/Default-667h.png (in=9694) (out=3279) (deflated 66%)
1> adding: Payload/BlankCordovaApp3.app/Default-736h.png (in=18046) (out=3165) (deflated 82%)
1> adding: Payload/BlankCordovaApp3.app/Default-Landscape-736h.png (in=16929) (out=3502) (deflated 79%)
1> adding: Payload/BlankCordovaApp3.app/Default-Landscape@2x~ipad.png (in=27628) (out=8989) (deflated 67%)
1> adding: Payload/BlankCordovaApp3.app/Default-Landscape~ipad.png (in=9223) (out=2780) (deflated 70%)
1> adding: Payload/BlankCordovaApp3.app/Default-Portrait@2x~ipad.png (in=27505) (out=8761) (deflated 68%)
1> adding: Payload/BlankCordovaApp3.app/Default-Portrait~ipad.png (in=9119) (out=2683) (deflated 71%)
1> adding: Payload/BlankCordovaApp3.app/Default@2x~iphone.png (in=7318) (out=2791) (deflated 62%)
1> adding: Payload/BlankCordovaApp3.app/Default~iphone.png (in=2665) (out=1038) (deflated 61%)
1> adding: Payload/BlankCordovaApp3.app/embedded.mobileprovision (in=7479) (out=5061) (deflated 32%)
1> adding: Payload/BlankCordovaApp3.app/icon-40.png (in=208) (out=208) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/icon-40@2x.png (in=526) (out=496) (deflated 6%)
1> adding: Payload/BlankCordovaApp3.app/icon-50.png (in=243) (out=235) (deflated 3%)
1> adding: Payload/BlankCordovaApp3.app/icon-50@2x.png (in=555) (out=509) (deflated 8%)
1> adding: Payload/BlankCordovaApp3.app/icon-60.png (in=264) (out=246) (deflated 7%)
1> adding: Payload/BlankCordovaApp3.app/icon-60@2x.png (in=763) (out=696) (deflated 9%)
1> adding: Payload/BlankCordovaApp3.app/icon-60@3x.png (in=1083) (out=858) (deflated 21%)
1> adding: Payload/BlankCordovaApp3.app/icon-72.png (in=487) (out=457) (deflated 6%)
1> adding: Payload/BlankCordovaApp3.app/icon-72@2x.png (in=869) (out=774) (deflated 11%)
1> adding: Payload/BlankCordovaApp3.app/icon-76.png (in=504) (out=469) (deflated 7%)
1> adding: Payload/BlankCordovaApp3.app/icon-76@2x.png (in=911) (out=810) (deflated 11%)
1> adding: Payload/BlankCordovaApp3.app/icon-small.png (in=190) (out=190) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/icon-small@2x.png (in=279) (out=272) (deflated 3%)
1> adding: Payload/BlankCordovaApp3.app/icon.png (in=269) (out=262) (deflated 3%)
1> adding: Payload/BlankCordovaApp3.app/icon@2x.png (in=725) (out=685) (deflated 6%)
1> adding: Payload/BlankCordovaApp3.app/Info.plist (in=1676) (out=1093) (deflated 35%)
1> adding: Payload/BlankCordovaApp3.app/MainViewController.nib (in=926) (out=615) (deflated 34%)
1> adding: Payload/BlankCordovaApp3.app/PkgInfo (in=8) (out=8) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/ResourceRules.plist (in=168) (out=117) (deflated 30%)
1> adding: Payload/BlankCordovaApp3.app/www/ (in=0) (out=0) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/www/cordova.js (in=58439) (out=15341) (deflated 74%)
1> adding: Payload/BlankCordovaApp3.app/www/cordova_plugins.js (in=211) (out=159) (deflated 25%)
1> adding: Payload/BlankCordovaApp3.app/www/css/ (in=0) (out=0) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/www/css/index.css (in=14) (out=14) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/www/images/ (in=0) (out=0) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/www/index.html (in=1103) (out=551) (deflated 50%)
1> adding: Payload/BlankCordovaApp3.app/www/plugins/ (in=0) (out=0) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/www/scripts/ (in=0) (out=0) (stored 0%)
1> adding: Payload/BlankCordovaApp3.app/www/scripts/app.js (in=328) (out=191) (deflated 42%)
1> adding: Payload/BlankCordovaApp3.app/www/scripts/index.js (in=1045) (out=491) (deflated 53%)
1> adding: Payload/BlankCordovaApp3.app/www/scripts/platformOverrides.js (in=91) (out=80) (deflated 12%)
1> total bytes=554026, compressed=180986 -> 67% savings
1> ]
1> Results at '/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/build/device/BlankCordovaApp3.ipa'
1> ** BUILD SUCCEEDED **
1> Command finished with error code 0: /Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/platforms/ios/cordova/build --device,--debug,--buildConfig=/Users/myuser/.taco_home/remote-builds/taco-remote/builds/11580/cordovaApp/build.json
***** REMAINDER OF LOG TRUNCATED FOR SIZE RESTRICTIONS *****
此外,如果我在 iOS 下运行时检查 cordova_plugins.js 文件的内容,我会看到:
cordova.define('cordova/plugin_list', function(require, exports, module) {
module.exports = [];
module.exports.metadata =
// TOP OF METADATA
{
"cordova-plugin-whitelist": "1.0.0"
}
// BOTTOM OF METADATA
});
在我的 config.xml 文件中,我将 Cordova CLI 版本设置为 5.3.3。此外,iOS 选项卡下的所有字段都是默认值(包括 Target iOS Version 为空)。
最佳答案
遇到了同样的问题!尝试将“plugins”文件夹重命名为“Pplugins”,然后按照以下链接中所述清理并重建解决方案!
Plugins not working on iOS - plugin files not copied to remote build machine for iOS
关于ios - iOS 构建中不包含 Visual Studio Cordova 插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33314863/
我在互联网上搜索了很多小时,但没有找到满意的结果,所以 -VSTO Addin 和 COM Addin(我们作为类库项目制作并使用 Excel 对象)之间有什么区别?VSTO 项目是否有任何限制,例如
我在互联网上搜索了很多小时,但没有找到满意的结果,所以 -VSTO Addin 和 COM Addin(我们作为类库项目制作并使用 Excel 对象)之间有什么区别?VSTO 项目是否有任何限制,例如
关闭。这个问题不符合Stack Overflow guidelines .它目前不接受答案。 要求我们推荐或查找工具、库或最喜欢的场外资源的问题对于 Stack Overflow 来说是偏离主题的,
我正在寻找有关如何构建可扩展 WCF 服务器(具有动态加载的服务)的建议,最好使用 System.Addins 或 MEF。 服务器应托管实现最小“插件”API(StartService/StopSe
有没有一种方法可以使用加载浏览器扩展/插件/插件的 headless 浏览器(即 PhantomJS、Selenium)来运行自动测试? 更具体地说,我想模拟广告拦截器(如 Ghostery、ad-b
我是 gradle 的新手,我使用 artifactory 作为我的 repo 服务器。我在网上查看了如何将我的项目发布到我的 repo 服务器,发现我可以使用 maven-publish 或使用 a
我想禁用某些状态的点击/事件,并仅使少数状态可点击。我通读了http://newsignature.github.io/us-map/处的文档,并且找不到与此问题相关的任何内容。 最佳答案 http:
据我了解,在Intellij中使用idea插件打开Maven构建的项目并不是最好的方法,即调用: mvn idea:idea 但是直接打开pom文件(Intellij有默认的Maven插件);同样的事
使用Artifactory plugin对于 Jenkins pipeline 来说是一种幸福,只要遵循文档就可以了。但后来我介绍了Maven Flatten plugin解析父模块和子模块 mvn
我已经安装了Elasticsearch版本1.7.1。一切正常。我也安装了 JDBC 驱动程序。检查下面我的插件文件夹 目录E:\Xampp\htdocs\my-elastic\elasticsear
在我使用 webpack common chunks 插件创建包含第三方库(如 angular、react、lodash 等)的 vendor 包之前,但后来我知道了 webpack dll
我们正在尝试使用(Jenkins、sonar、eclipse ...)安装 CI 平台。 为了让每个开发人员都可以在提交之前对他的代码进行分析,我想知道两种选择: 使用 Sonar 插件运行本地分析。
我知道这是一个比较特殊的问题。尽管如此,也许有些人知道这一点: 我想在 Eclipse 中使用 Maven 编译 Hector=> 分支:0.7.0 和标签:hector-0.7.0-29(https
我卡住了。我一直在尝试寻找或自己创建一个简单的准系统示例,说明如何为 VS 2010 Express 创建 Outlook 插件。我知道这在 VS 2010 Pro 中更简单,但是,在快速版本中真的不
我有以下排除过滤器来忽略所有 R 文件类: findbugs-exclude-filter.xml 当我将它用于 FindBugs-IDEA 插件时,它可以
我刚开始玩 CakePHP,我发现了 Wildflower CMS .我喜欢这个想法,并打算开始修补它。不过,我有一个问题。 在自述文件中,我发现了以下内容:“Wildflower 不是也不会是 Ca
虽然现在大部分情况都是使用n-api来编写插件,但是底层毕竟是v8(和libuv),使用v8编写简单的插件,同时熟悉v8的使用。 本文介绍在写c++插件时,简单又常用的写法,其实本质上,写插件
本篇是 Python 系列教程第 3 篇,更多内容敬请访问我的 Python 合集 Visual Studio Code的安装非常简单,就不放这里增加文章篇幅了。 相比PyCharm,V
Maven – 插件 什么是 Maven 插件? Maven 实际上是一个依赖插件执行的框架,每个任务实际上是由插件完成。Maven 插件通常被用来: 创建 jar 文件 创建 war
我正在编写一个插件来添加带有标签 [deposit_page] 的页面;该标记应替换为一些 PHP 代码。 这就是我所拥有的,但它不起作用。有什么我遗漏或做错了什么吗? function deposi
我是一名优秀的程序员,十分优秀!