2014-11-17 13 views
0

Meteor를 처음 사용했습니다.iOS 디바이스에서 Meteor를 실행할 수 없습니다.

내 앱이 브라우저와 iOS 시뮬레이터에서 제대로 실행됩니다. 그러나 iOS 기기에서 실행할 수는 없습니다. 나는 명령을 사용합니다 - 유성 iOS 장치를 실행하십시오. Xcode를 열어서 앱을 실행할 수 있습니다. Xcode가 열리지 않고 다음 메시지가 나타납니다. Xcode에서 프로젝트를 열 수 없습니다.

다음은 터미널에서 더 많은 것입니다.

%% Running synchronously: /Users/NAME/.meteor/packages/meteor-tool/.1.0.35.wql4jh++os.osx.x86_64+web.browser+web.cordova/meteor-tool-os.osx.x86_64/tools/cordova-scripts/cordova.sh [ '--verbose', 'build', 'ios' ] 

%% Done building the cordova build project  
%% A run on a device requested     
WARNING: You are testing your app on a remote device. 
     For the mobile app to be able to connect to the local server, make 
     sure your device is on the same network, and that the network 
     configuration allows clients to talk to each other 
     (no client isolation). 

[[[[[ ~/Google Drive/Meteor-Apps/APPNAME ]]]]] 

=> Started proxy.        
=> Started MongoDB.       
%% Execing cordova for platform ios-device  
%% isDevice: true        
%% It is ios-device, just opening the Xcode project with `open` command 

%% Running synchronously: sh [ '-c',   
    'open /Users/NAME/Google Drive/Meteor-Apps/APPNAME/.meteor/local/cordova-build/platforms/ios/*.xcodeproj' ] 

Could not open your project in Xcode. 
+0

확실한 질문 : 스포트라이트 메뉴에서 수동으로 xcode를 열 수 있습니까? – imslavko

+0

예. Xcode가 잘 열립니다. 저는 Xcode Version 6.1과 Meteor 1.0을 사용하고 있습니다. – rmilky

+0

Meteor에서 생성 한 XCode 프로젝트를 수동으로 열 수 있습니까? '/ Users/NAME/Google Drive/Meteor-Apps/APPNAME/.meteor/local/cordova-build/platforms/ios /'안에있는 파일? – imslavko

답변

2

프로젝트 폴더를 로컬 시스템으로 드래그 한 다음 "meteor run ios-device"명령을 실행하십시오.

파일이 Google 드라이브를 기반으로 할 때 Meteor가 엉망이 된 것처럼 보입니다.

1

여전히 도움이 필요한지 모르겠지만 개발 과정에서 똑같은 문제가 발생했습니다.

%% 동 기적으로 실행 : SH [ '-c'
'개방/사용자/이름/Google 드라이브/유성-앱/APPNAME/.meteor/지방/코르도바 빌드/플랫폼/IOS/* .xcodeproj ']

Meteor는 디렉토리 이름에 공백을 감지하지 않습니다. 따라서 위의 예에서 /GameDrive/는 열려있는 명령을/Users/NAME/Google 및 개별적으로 Drive/Meteor-Apps/...로 구문 분석합니다. 경로가있는 새 터미널에서 열기 명령을 단독 실행하면 Meteor가 사용하려고하면/Users/NAME/Google이 존재하지 않는다는 오류 메시지가 표시됩니다.

수정하려면 모든 디렉토리 이름에 공백이없는 경로를 사용해야합니다. Tom Nassr의 말처럼 Google 드라이브 디렉토리 이름을 변경할 수 없으므로 프로젝트 폴더를 컴퓨터의 다른 경로로 복사하십시오./my_directory /와 같이 다른 디렉토리의 이름을 대시 또는 밑줄로 바꿀 수 있습니다.

달리기 유성 실행 ios-device가 작동합니다.

+0

고마워, 나는 결코 그것을 발견하지 못했다 !! – tarmes