1년만에 다시 푸쉬서비스를 만들려고 하니 기억도 안나고 검색해서 찾아보니 너무 옛날 데이터들이라 헷갈리기도 해서 “이참에 좀 자세하게 기록해놓자!!” 하는 마음에 포스팅을 했습니다. 총 3단계로 나누어 인증서 설치, 서버단에서 푸시 보내기, 앱단에서 푸시 처리하기로 해서 포스팅을 시작하고자 합니다.
APNS란 용어는 애플 개발자 레퍼런스에도 너무 자세하게 나와있고 검색해도 수도 없이 나오기때문에 생략하고 철저하게 개발 적용에만 촛점을 맞추도록 하겠습니다.
APNS 인증서 발급 조건
발급일 2013년 7월경
Mac OS X 버전 10.8.4 (산사자)
Xcode 버전 4.6.3
iOS7이 베타3까지 출시
APNS 인증서 발급을 위한 개인 인증서 만들기
우선 애플(Apple) 사이트에서 Notification 인증서를 만들기 위해서는 아래와 같이 키체인을 이용해
CertificateSigningRequest.certSigningRequest 라는 인증서를 만들어야 합니다.
이 인증서는 Notification 인증서를 발급받을 때 반드시 필요하니 우선 따라서 만들어 봅시다.
키체인(Keychain)을 실행한 후 다음과 같이 따라 해보세요!
이렇게 작업을 완료하시고 Finder에서 보기를 눌러 보시면 다음과 같은 파일이 만들어집니다.
APNS 인증서 발급받기
[box type=”warning”] 반드시 애플 개발자 계정을 가지고 계셔야 접근하실 수 있습니다. 일반 애플 계정과는 다르니 안되시는 분은 개발자 등록부터 해주시기 바랍니다.[/box]
이제 개인 인증서를 만들었으니 애플 개발자 사이트로 이동합니다.
개발자 사이트에 접속하시면 상단에 Member Center라는 곳이 있습니다.
접속하시면 바로 아래의 이미지와 같은 화면을 보실 수 있습니다. 그림을 보시면서 순서대로 따라하시면 금방 APNS용 인증서를 발급받을 수 있습니다.
그럼, 멤버센터에서 Certificates, Identifiers & Profiles > Identifiers > APP ID’s 메뉴로 이동하세요!
이렇게 해서 인증서 발급을 과정을 마쳤습니다. 생각보다 어렵지 않습니다.
자 그럼, 이제부터가 중요한데요! 서버에 직접 설치할 인증서를 만들어 보겠습니다.
APNS 서버인증서 만들기
서버인증서를 만드는 작업을 하기전에 우선 키체인을 열어 방금 설치한 Apple Development(or Production) iOS Push Services: kr.co.godo.godo 인증서를 찾아서 Export(내보내기)를 해서 .p12 파일로 만들어줘야 합니다.
다음의 그림을 보면서 따라하시면 되겠습니다. 그림과 같이 인증서 옆에 화살표 아이콘이 있고 그걸 누르면 개인키가 나타나오니 참고하시면서 작업하시기 바랍니다.
이작업을 하시면 바탕화면(여러분이 지정한 경로)에 cert.p12와 key.p12 파일들이 만들어집니다.
이제부터 중요합니다. 인증서 형식을 변환하기 위한 작업으로 Terminal에서 작업을 할 것 입니다.
딱 4가지 명령만 실행하시면 됩니다. ———- 이걸로 표시된 부분은 결과값을 보여주려고 나타낸 것이니 터미널에서는 입력하지 말아주세요!
Manziel now has four sixty minute assessments to prove he is the future of the franchise and give the Browns fans some hope for next year. If oakley outlet he can’t do that then the city of Cleveland will likely be in for cheap nba jerseys a few more years despair.. The identity of these cell population was also further confirmed and functionally characterized by quantitative RT PCR in the presence or absence of lipolysaccharide (LPS) using microglia specific PCR primers sets (IBA1, CD11b, CX3CR1 and TNF) (Fig. 5C). You see, the media is like the attractive girl at your high school who you always hated. They’re deceptive, in love with the best, and as much as you want to stay away from them, you keep on giving them the attention they desire. If it turns out that a wedding, birthday, or bar mitzvah dares to interfere with throwback nba jerseys your upcoming Jimmy Buffet or Dave Matthews show, you needn’t fear. Selling your tickets over the Web is easy and legal.. The report showed Sirius XM’s short interest for the two weeks ending Nov. 15 had increased to just over 212 million shares, from its previous reporting period of 183 million. Now looking ahead to Q4, when I came back to Electronic Arts I made a commitment to invest in quality both because I believe it is the right decision for the long term financial health of the company and because it is what our consumers have a right to expect. This is an important principle, even if it results in short term pain.. Again I expect to see the $2.00 level act as a pivot for at least 4 weeks, with trading above and below that figure. If we have an entire mild winter, thanks to a strong El Nino, we could spend February and March 2016 having a ceiling of $2.00, with dips cheap oakleys down to the $1.50 to $1.60 level. This Cheap nfl jerseys is a good starting point for ideas. Each soo unique and amazing. While it was a substantial offer, we were advised by Jarryd’s management that it was not comparable to the other proposals. The club wishes Jarryd well in his future endeavours.”. This will help the stinger to pop out. Never use tweezers as they might actually push the stinger further in.. And for years they exempted athletics from the cut, but then these last few years there’s just been no choice. And that’s what the players are feeling now.. Stats Cheap nfl jerseys show the Lakers and Clippers main bench units have been equally good this season. The Laker group offensive rating, which measures points scored per 100 possessions, is 104.9. “Fair point” is where Clinton left it. Inevitability: Clinton launched her 2016 campaign pushing back hard on the perception that she expected to win ray bans ale the sense of inevitability that surrounded her campaign in 2008.
Quality: HD Title : Logan Director : James Mangold. Release : 2017-02-28 Language : English,Espanol Runtime : 135 min. Genre : Action, Drama, Science Fiction. Synopsis :
What happens when our superheroes get old? It’s essentially something that never happens in our movies, where our heroes are always virile and robust, and if they get a little long in the tooth, we just reboot the series and start over with a younger model. But that’s not the case with Logan, which follows maybe the most famous of the X-Men, Wolverine, as he not only deals with his own broken-down body, but with nursing the longtime leader of the X-Men, professor Charles Xavier. Xavier is now in his 90s and struggles to take care of himself, occasionally slipping into dementia and having trouble recognizing Logan or understanding just what’s going on at any particular time.
And this is just part of what separates Logan from any other superhero movie we’ve seen. I’ll admit that I’ve grown a bit tired of superhero origin stories and crash-and-bang ensemble pictures, but Logan is neither of those things. The characters here feel lived-in and real, and the violence is shocking and gritty. When innocent people are killed in this movie, it doesn’t feel like collateral damage; it’s genuinely disturbing and actually makes us realize that real people’s lives are at stake in this universe.
And even all of this barely scratches the surface. Logan gets involved in trying to save a little girl who’s far more like himself than he’d like to admit, and we eventually follow them as they work with a group of young mutant refugees trying to cross the border into Canada to escape persecution. If that doesn’t resonate with our times, I don’t know what will. The X-Men stories have always reflected racial and ethnic tension and fear, and that’s brought to the forefront here in ways I won’t spoil.
But ultimately, it’s the grounding in reality that makes Logan a special film. We see the broken bodies of our superheroes laid bare, we feel the difficult emotional reality of trying to care for an elderly loved one who has difficulty understanding his own condition and can snap in strange ways at any moment, and we know that nothing can last forever, not even our greatest heroes.