小编kir*_*hah的帖子

在安装org.apache.cordova.network-information之后,Cordova构建在iOS上导致错误

嗨,我刚刚开始使用cordova项目的新结构,我需要安装这个插件org.apache.cordova.network-information.

我使用的是cordova 3.5.0.

安装它并运行cordova build之后我遇到了这个错误:

    Undefined symbols for architecture i386:
  "_SCNetworkReachabilityCreateWithAddress", referenced from:
      +[CDVReachability reachabilityWithAddress:] in CDVReachability.o
  "_SCNetworkReachabilityCreateWithName", referenced from:
      +[CDVReachability reachabilityWithHostName:] in CDVReachability.o
  "_SCNetworkReachabilityGetFlags", referenced from:
      -[CDVReachability connectionRequired] in CDVReachability.o
      -[CDVReachability currentReachabilityStatus] in CDVReachability.o
  "_SCNetworkReachabilityScheduleWithRunLoop", referenced from:
      -[CDVReachability startNotifier] in CDVReachability.o
  "_SCNetworkReachabilitySetCallback", referenced from:
      -[CDVReachability startNotifier] in CDVReachability.o
  "_SCNetworkReachabilityUnscheduleFromRunLoop", referenced from:
      -[CDVReachability stopNotifier] in CDVReachability.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED …
Run Code Online (Sandbox Code Playgroud)

ios cordova

7
推荐指数
1
解决办法
2881
查看次数

英特尔Edison MRAA模块无法正常工作

我最近下载了Intel XDK IOT版本并使用了LED引脚13 Blink示例.然后我把程序上传到爱迪生,但它出现了一些错误; 其中一个是它无法找到MRAA模块.随附的示例代码是:main.js:

var mraa = new require("mraa"); //require mraa
console.log('MRAA Version: ' + mraa.getVersion()); //write the mraa version to the Intel XDK console

var myOnboardLed = new mraa.Gpio(13); //LED hooked up to digital pin 13 (or built in pin on Galileo Gen1 & Gen2)
myOnboardLed.dir(mraa.DIR_OUT); //set the gpio direction to output
var ledState = true; //Boolean to hold the state of Led

periodicActivity(); //call the periodicActivity function

function periodicActivity()
{
  myOnboardLed.write(ledState?1:0); //if ledState is true then write …
Run Code Online (Sandbox Code Playgroud)

arduino node.js intel-xdk iot intel-edison

7
推荐指数
2
解决办法
4113
查看次数

在字体文件中将所有小写字母设为大写

我有一个我创建的.ttf字体文件.我得到了所有的大写字符,但不是小写字母.有没有一种工具或简单的方法可以使所有的小写字母与资本相同?
示例:字体应显示"hello"为"HELLO"

如果那是不可能的,我有办法用HTML/CSS做到这一点吗?

html css fonts truetype

0
推荐指数
1
解决办法
484
查看次数

标签 统计

arduino ×1

cordova ×1

css ×1

fonts ×1

html ×1

intel-edison ×1

intel-xdk ×1

ios ×1

iot ×1

node.js ×1

truetype ×1