Phonegap 앱은 iOS7에서 실행되지 않습니다. (Phonegap App doesn't run on iOS7)


문제 설명

Phonegap 앱은 iOS7에서 실행되지 않습니다. (Phonegap App doesn't run on iOS7)

I'm really having troubles to build&run my App on the iPhone 5S. I use Cordova 2.5.0 and XCode 5.0

I'm getting these 10 Errors when trying to build&run on the iPhone  http://www.looks‑familiar.com/stacko.html

also i added a screen of my Architecture Setting ‑ maybe the problem is somwhere there  http://www.looks‑familiar.com/stacko2.html

I changed the armv7 to "standard architectures (including 64bit)(armv7,armv7s,armv64) Was this right, or do I have to change the settings somewhere else?


참조 솔루션

방법 1:

You should use those settings: Printscreen

I hope this helps.

I'm not sure how phonegap 2.5 will behave so if you still have problems maybe you should try to upgrade to at least 2.9.

If you don't have these settings is because this is a bug from a old version of Phonegap with a new version o XCode (4.5 upwards) as this issue states: https://issues.apache.org/jira/browse/CB‑1360  

On the comments of the issue you see that you have to manually edit the file in order to add these settings.  

Because the issue is a bit old you also should include: "ARCHS[sdk=iphoneos7.*]" = "armv7 armv7s";  

I had problems with armv7s and old version of Phonegap so my look like this:  

ARCHS = armv7;  
"ARCHS[sdk=iphoneos*]" = armv7;  
"ARCHS[sdk=iphoneos6.*]" = armv7;  
"ARCHS[sdk=iphoneos7.*]" = armv7;  
"ARCHS[sdk=iphonesimulator*]" = i386;

방법 2:

I've just had the same issue (but with the latest Cordova 3.1), and the cause of the issue for me turned out to be the "Build Active Architecture Only" setting, as described here: https://stackoverflow.com/a/17327694/1801118

Although in my case, I found that it also works fine when set to "Yes" for Debug, as long as the settings in both the main project and the CordovaLib sub‑project matched (one was Yes and one was No originally, which caused the problem).

My Architectures setting (on both projects) is set to Standard architectures (armv7, armv7s) ‑ I haven't been able to try the 64bit setting as I'm still targetting iOS 5.

(by Daniel von MatterhornCaio VaccaroEdward Millen)

참조 문서

  1. Phonegap App doesn't run on iOS7 (CC BY‑SA 3.0/4.0)

#ios7 #iphone #cordova






관련 질문

iOS 7 Safari 사용자 에이전트를 결정하는 가장 좋은 방법은 무엇입니까? (What is the best way to determine iOS 7 Safari user agent?)

iOS 7, 탐색바가 반투명하지 않습니다... 더보기 탭이 반투명하게 보이는 이유는 무엇입니까? (iOS 7, navigation bar has no translucency... why does More tab look translucent?)

사진 촬영 후 사진 사용 또는 재촬영을 선택할 수 없습니다. (After Taking Picture cannot select Use Photo or Retake)

구문 분석 문제: 'stringByAppendingFormat' 모듈을 찾을 수 없습니다. (Parse Issue: Module 'stringByAppendingFormat' not found)

탐색 컨트롤러로 보기로 돌아가기 위해 자동 제스처를 끄는 방법은 무엇입니까? (How to turn off the automatic gesture to go back a view with a navigation controller?)

IOS 7 + 강제 컨트롤러의 경우 세로 방향 (IOS 7 + For force controller Orientation to Portrait)

Phonegap 앱은 iOS7에서 실행되지 않습니다. (Phonegap App doesn't run on iOS7)

UITableViewCellStyle2 색조 색상 설정 (Setting UITableViewCellStyle2 Tint Color)

iOS - flexbox 내부에 입력 요소가 있는 부동 커서 (iOS - Floating cursor with input elements inside flexbox)

UITableView는 iOS 7에서 작동하지만 iOS 8에서는 깨져 보입니다. (UITableView works in iOS 7 but appears crushed in iOS 8)

핵심 데이터 튜토리얼 (Core data tutorial)

StoryBoard를 사용하여 UITableViewCell 내부에 collectionView를 빠르게 빌드하는 방법 (How to use StoryBoard quick build a collectionView inside UITableViewCell)







코멘트