我可以获得phonegap build ios来定位设备而不是模拟器吗?

时间:2014-05-18 18:03:41

标签: cordova

当我进行构建时,似乎phonegap想要定位iphone模拟器。我该如何定位设备?

kit:fx-client kitsunde$ phonegap build ios
[phonegap] detecting iOS SDK environment...
[phonegap] using the local environment
[phonegap] compiling iOS...
Build settings from command line:
    ARCHS = i386
    CONFIGURATION_BUILD_DIR = /Users/kitsunde/Development/fx-client/src/fx-client/platforms/ios/build/emulator
    SDKROOT = iphonesimulator7.1
    VALID_ARCHS = i386

1 个答案:

答案 0 :(得分:0)

尝试在“phonegap local run ios”之后添加--device。即,

phonegap local run ios --device